Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.798/1.798, allocations: 285.6 MB / 293.1 MB, free: 10.15 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.001112/0.001112, allocations: 188.3 kB / 361.4 MB, free: 6.812 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.71/1.71, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0008615/0.0008613, allocations: 95.92 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.587e-05/2.578e-05, allocations: 4 kB / 0.8518 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7695/0.7696, allocations: 115.3 MB / 0.9645 GB, free: 79.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2014/0.971, allocations: 137.4 MB / 1.099 GB, free: 2.406 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.9713, allocations: 71.95 kB / 1.099 GB, free: 2.336 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004411/0.9757, allocations: 1.518 MB / 1.1 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9757, allocations: 4.625 kB / 1.1 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.9758, allocations: 4 kB / 1.1 GB, free: 0.8555 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004027/0.9762, allocations: 344.4 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.9762, allocations: 8.531 kB / 1.101 GB, free: 480 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.9763, allocations: 8.938 kB / 1.101 GB, free: 472 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.9764, allocations: 171.6 kB / 1.101 GB, free: 260 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.9764, allocations: 1.719 kB / 1.101 GB, free: 260 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.9764, allocations: 0 / 1.101 GB, free: 260 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.851e-05/0.9765, allocations: 8 kB / 1.101 GB, free: 252 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.9e-05/0.9766, allocations: 33.7 kB / 1.101 GB, free: 212 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.9766, allocations: 0 / 1.101 GB, free: 212 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.9766, allocations: 4.5 kB / 1.101 GB, free: 208 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.9766, allocations: 1.531 kB / 1.101 GB, free: 208 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.9771, allocations: 249.3 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.945e-05/0.9771, allocations: 26.58 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.156e-05/0.9772, allocations: 6.109 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005457/0.9777, allocations: 448 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.9778, allocations: 32.53 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.9778, allocations: 0.875 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001939/0.978, allocations: 45.62 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.978, allocations: 56.97 kB / 1.102 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.078e-05/0.9781, allocations: 95.67 kB / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.9781, allocations: 25.7 kB / 1.102 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.9782, allocations: 84.08 kB / 1.102 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.9782, allocations: 7.906 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.9782, allocations: 0 / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.9783, allocations: 317.9 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.9784, allocations: 11.92 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.066e-05/0.9784, allocations: 0 / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.95e-05/0.9784, allocations: 11.95 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.9784, allocations: 0 / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.187e-05/0.9785, allocations: 41.7 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.9785, allocations: 8.188 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.9786, allocations: 0 / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.9786, allocations: 0 / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.47e-05/0.9787, allocations: 15.92 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.9787, allocations: 0 / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.213e-05/0.9787, allocations: 11.98 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.9788, allocations: 1.531 kB / 1.102 GB, free: 14.56 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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 7.217e-05/0.9788, allocations: 108.9 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.245e-05/0.9789, allocations: 45.61 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.979, allocations: 0 / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.9791, allocations: 49.38 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.9791, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.9791, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.9791, allocations: 7.938 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.9792, allocations: 142.2 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.9792, allocations: 4.062 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.248e-05/0.9793, allocations: 11.98 kB / 1.103 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.9793, allocations: 0 / 1.103 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.9793, allocations: 0 / 1.103 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.9793, allocations: 0 / 1.103 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.9793, allocations: 2.109 kB / 1.103 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.9795, allocations: 136.9 kB / 1.103 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.9795, allocations: 89.03 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.9795, allocations: 0 / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-05/0.9796, allocations: 8 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.9797, allocations: 3.984 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-06/0.9797, allocations: 0 / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.218e-05/0.9797, allocations: 83.28 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.292e-06/0.9797, allocations: 0 / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002333/0.98, allocations: 27.88 kB / 1.103 GB, free: 13.77 MB / 0.7136 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 (2): * Single equations (assignments): 2 * 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.0005017/0.9805, allocations: 0.705 MB / 1.104 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.537e-05/0.9805, allocations: 19.94 kB / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.9806, allocations: 0 / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.287e-05/0.9806, allocations: 11.94 kB / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.9807, allocations: 3 kB / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.9811, allocations: 101.5 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.9814, allocations: 0.6806 MB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.6e-05/0.9814, allocations: 8.125 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.9815, allocations: 7.438 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.9815, allocations: 0 / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.9994, allocations: 0.9156 MB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.9997, allocations: 142.5 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/2.492, allocations: 0 / 1.105 GB, free: 11.08 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)