Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 113.9 kB / 17.33 MB, free: 5.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 197.8 kB / 18.33 MB, free: 4.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8527/0.8527, allocations: 128.4 MB / 426.1 MB, free: 7.184 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 70.02 kB / 0.5912 GB, free: 21.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1862, allocations: 83.26 MB / 0.6725 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6764/0.8626, allocations: 167.9 MB / 0.8365 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003574/0.8661, allocations: 1.551 MB / 0.838 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004763/0.8666, allocations: 11.72 kB / 0.838 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000537/0.8672, allocations: 157 kB / 0.8381 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.8691, allocations: 0.7311 MB / 0.8388 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.8711, allocations: 0.6129 MB / 0.8394 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001002/0.8721, allocations: 0.6911 MB / 0.8401 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004069/0.8725, allocations: 201.6 kB / 0.8403 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.8736, allocations: 0.4948 MB / 0.8408 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003402/0.8739, allocations: 231.8 kB / 0.841 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.874, allocations: 23.12 kB / 0.841 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.8755, allocations: 0.9073 MB / 0.8419 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.8756, allocations: 117.2 kB / 0.842 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.8759, allocations: 162.1 kB / 0.8422 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.877, allocations: 0.7316 MB / 0.8429 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.877, allocations: 0 / 0.8429 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.877, allocations: 0 / 0.8429 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.877, allocations: 0 / 0.8429 GB, free: 8.621 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001034/0.878, allocations: 0.6601 MB / 0.8435 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.8781, allocations: 9.375 kB / 0.8436 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.8792, allocations: 150.9 kB / 0.8437 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005397/0.8798, allocations: 332 kB / 0.844 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.8798, allocations: 17.22 kB / 0.844 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.8798, allocations: 19.12 kB / 0.8441 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005058/0.8803, allocations: 288.2 kB / 0.8443 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.8803, allocations: 0 / 0.8443 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.8804, allocations: 10.31 kB / 0.8443 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.8804, allocations: 4.719 kB / 0.8443 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003967/0.8808, allocations: 198.3 kB / 0.8445 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.8823, allocations: 1.216 MB / 0.8457 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.8825, allocations: 121 kB / 0.8458 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.8827, allocations: 95.02 kB / 0.8459 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006112/0.8833, allocations: 298.5 kB / 0.8462 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.8834, allocations: 38.55 kB / 0.8462 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.8834, allocations: 0 / 0.8462 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0007971/0.8842, allocations: 282.1 kB / 0.8465 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.8842, allocations: 54.03 kB / 0.8466 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.8846, allocations: 310.2 kB / 0.8469 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.8846, allocations: 32.48 kB / 0.8469 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.8847, allocations: 183.9 kB / 0.8471 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.8848, allocations: 59.09 kB / 0.8471 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.258e-05/0.8848, allocations: 41.05 kB / 0.8472 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.885, allocations: 348.6 kB / 0.8475 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.8852, allocations: 61.17 kB / 0.8476 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.8854, allocations: 126.8 kB / 0.8477 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.8858, allocations: 188 kB / 0.8479 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8858, allocations: 0 / 0.8479 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004593/0.8862, allocations: 254.9 kB / 0.8481 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.8862, allocations: 5.688 kB / 0.8481 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.8862, allocations: 6.188 kB / 0.8481 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.8863, allocations: 2.375 kB / 0.8481 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.8864, allocations: 37.27 kB / 0.8481 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.8865, allocations: 2.469 kB / 0.8482 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.8866, allocations: 33.98 kB / 0.8482 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.8867, allocations: 8 kB / 0.8482 GB, free: 4.289 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001708/0.8868, allocations: 155.2 kB / 0.8483 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.8869, allocations: 32.25 kB / 0.8484 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005418/0.8874, allocations: 228.5 kB / 0.8486 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.8874, allocations: 2.625 kB / 0.8486 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.8874, allocations: 0 / 0.8486 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.8874, allocations: 0 / 0.8486 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.8885, allocations: 0.6802 MB / 0.8493 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.8885, allocations: 2.719 kB / 0.8493 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.8887, allocations: 37.08 kB / 0.8493 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.8887, allocations: 6.297 kB / 0.8493 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.8887, allocations: 6.531 kB / 0.8493 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.8887, allocations: 2.781 kB / 0.8493 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.8887, allocations: 6.562 kB / 0.8493 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/0.8893, allocations: 428 kB / 0.8497 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.8895, allocations: 132.3 kB / 0.8498 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.8895, allocations: 6.844 kB / 0.8499 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.8897, allocations: 8.984 kB / 0.8499 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/0.8897, allocations: 20.05 kB / 0.8499 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.8898, allocations: 4.344 kB / 0.8499 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002563/0.89, allocations: 231.5 kB / 0.8501 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.89, allocations: 0 / 0.8501 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004093/0.8904, allocations: 82.17 kB / 0.8502 GB, free: 2.754 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004323/0.8909, allocations: 170.8 kB / 0.8503 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004509/0.8913, allocations: 166.4 kB / 0.8505 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8913, allocations: 0 / 0.8505 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.8915, allocations: 89.66 kB / 0.8506 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008288/0.8923, allocations: 163.5 kB / 0.8507 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.8934, allocations: 0.6129 MB / 0.8513 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.8938, allocations: 0.779 MB / 0.8521 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002033/0.894, allocations: 64.09 kB / 0.8522 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.8941, allocations: 24.66 kB / 0.8522 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.8941, allocations: 0 / 0.8522 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of Templates: time 0.01204/0.9061, allocations: 5.828 MB / 0.8579 GB, free: 13.74 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 480]