Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 289.7 MB / 302.2 MB, free: 2.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 180.2 kB / 371.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 86.77 kB / 0.745 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.738e-05/4.739e-05, allocations: 8 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3126, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.339, allocations: 138.4 MB / 1.115 GB, free: 45.11 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/1.339, allocations: 74.25 kB / 1.115 GB, free: 45.08 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.003068/1.342, allocations: 1.264 MB / 1.116 GB, free: 44.26 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.563e-06/1.342, allocations: 0.5 kB / 1.116 GB, free: 44.26 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.538e-06/1.342, allocations: 0 / 1.116 GB, free: 44.26 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001914/1.343, allocations: 328.6 kB / 1.117 GB, free: 43.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/1.343, allocations: 8.031 kB / 1.117 GB, free: 43.9 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.012e-05/1.343, allocations: 34.56 kB / 1.117 GB, free: 43.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.227e-05/1.343, allocations: 1.719 kB / 1.117 GB, free: 43.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.027e-05/1.343, allocations: 170.2 kB / 1.117 GB, free: 43.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/1.343, allocations: 6.703 kB / 1.117 GB, free: 43.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/1.343, allocations: 0 / 1.117 GB, free: 43.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.958e-05/1.343, allocations: 34.33 kB / 1.117 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/1.343, allocations: 0 / 1.117 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/1.343, allocations: 0 / 1.117 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/1.343, allocations: 0 / 1.117 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.791e-05/1.343, allocations: 4 kB / 1.117 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001038/1.343, allocations: 149.1 kB / 1.117 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.153e-05/1.343, allocations: 24.52 kB / 1.117 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/1.343, allocations: 8.297 kB / 1.117 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004925/1.344, allocations: 450.9 kB / 1.117 GB, free: 42.87 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/1.344, allocations: 36.53 kB / 1.118 GB, free: 42.83 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.273e-06/1.344, allocations: 0 / 1.118 GB, free: 42.83 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001043/1.344, allocations: 29.7 kB / 1.118 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/1.344, allocations: 51.41 kB / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.58e-05/1.344, allocations: 89 kB / 1.118 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/1.344, allocations: 25.7 kB / 1.118 GB, free: 42.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.225e-05/1.344, allocations: 84.17 kB / 1.118 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/1.344, allocations: 2.031 kB / 1.118 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/1.344, allocations: 0 / 1.118 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.343e-05/1.344, allocations: 322.2 kB / 1.118 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.574e-06/1.344, allocations: 0 / 1.118 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.568e-06/1.344, allocations: 4 kB / 1.118 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.409e-05/1.344, allocations: 0 / 1.118 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.344, allocations: 0 / 1.118 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.982e-05/1.344, allocations: 37.72 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/1.344, allocations: 8.75 kB / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/1.344, allocations: 2.953 kB / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.447e-06/1.344, allocations: 0 / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.122e-05/1.344, allocations: 3.516 kB / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/1.344, allocations: 0.8125 kB / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.698e-06/1.344, allocations: 4 kB / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/1.344, allocations: 0.6094 kB / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.08e-05/1.344, allocations: 101 kB / 1.118 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-06/1.344, allocations: 8.828 kB / 1.118 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.208e-05/1.344, allocations: 43.39 kB / 1.118 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/1.344, allocations: 0.625 kB / 1.118 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.344, allocations: 0 / 1.118 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.344, allocations: 4.656 kB / 1.118 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.292e-05/1.345, allocations: 141.7 kB / 1.118 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.345, allocations: 0.875 kB / 1.118 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.016e-05/1.345, allocations: 0 / 1.118 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/1.345, allocations: 7.281 kB / 1.118 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/1.345, allocations: 4.656 kB / 1.118 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.345, allocations: 4.656 kB / 1.118 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/1.345, allocations: 0 / 1.118 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.75e-05/1.345, allocations: 58.8 kB / 1.119 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/1.345, allocations: 81.61 kB / 1.119 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/1.345, allocations: 8.469 kB / 1.119 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-06/1.345, allocations: 0 / 1.119 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-06/1.345, allocations: 1.5 kB / 1.119 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/1.345, allocations: 4.031 kB / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.532e-05/1.345, allocations: 75.28 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.532e-06/1.345, allocations: 0 / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001986/1.345, allocations: 26.58 kB / 1.119 GB, free: 41.52 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003325/1.345, allocations: 0.6328 MB / 1.119 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.368e-05/1.345, allocations: 4 kB / 1.119 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.345, allocations: 0 / 1.119 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.049e-06/1.345, allocations: 0 / 1.119 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.317e-05/1.345, allocations: 10.67 kB / 1.119 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002229/1.346, allocations: 90.78 kB / 1.119 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/1.346, allocations: 0.6727 MB / 1.12 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.426e-05/1.346, allocations: 4.625 kB / 1.12 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.475e-05/1.346, allocations: 7.438 kB / 1.12 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/1.346, allocations: 3.938 kB / 1.12 GB, free: 40.03 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01302/1.359, allocations: 0.9408 MB / 1.121 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/1.359, allocations: 153.8 kB / 1.121 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/3.032, allocations: 6.391 kB / 1.121 GB, free: 39.32 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)