Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.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.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",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.638/1.638, 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.001095/0.001095, allocations: 176.9 kB / 361.4 MB, free: 6.785 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.797/1.797, allocations: 205.2 MB / 0.62 GB, free: 11.6 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.0008297/0.0008297, allocations: 87.66 kB / 0.733 GB, free: 44.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.756e-05/1.776e-05, allocations: 4 kB / 0.8518 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6419/0.6419, allocations: 115.3 MB / 0.9645 GB, free: 79.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.193/0.835, allocations: 145.9 MB / 1.107 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/0.8354, allocations: 89.42 kB / 1.107 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03743/0.8728, allocations: 14.14 MB / 1.121 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8729, allocations: 0 / 1.121 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.867e-05/0.8729, allocations: 12 kB / 1.121 GB, free: 11.59 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001128/0.8741, allocations: 0.8402 MB / 1.122 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.8741, allocations: 12.03 kB / 1.122 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.8743, allocations: 87.02 kB / 1.122 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006692/0.8749, allocations: 440.2 kB / 1.122 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.69e-05/0.875, allocations: 55.02 kB / 1.122 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.324e-05/0.8751, allocations: 39.98 kB / 1.122 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005514/0.8757, allocations: 314.5 kB / 1.123 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007605/0.8764, allocations: 0.5299 MB / 1.123 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.8765, allocations: 7.938 kB / 1.123 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.061e-05/0.8765, allocations: 7.984 kB / 1.123 GB, free: 9.113 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.8765, allocations: 15.98 kB / 1.123 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002487/0.879, allocations: 2.541 MB / 1.126 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003877/0.8794, allocations: 240.9 kB / 1.126 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.8796, allocations: 129.4 kB / 1.126 GB, free: 6.078 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.8797, allocations: 4.234 kB / 1.126 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000339/0.88, allocations: 201 kB / 1.126 GB, free: 5.867 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=38): time 2.314e-06/0.88, allocations: 0 / 1.126 GB, free: 5.867 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38): time 0.0005721/0.8806, allocations: 312.4 kB / 1.126 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.8807, allocations: 85.11 kB / 1.127 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006832/0.8813, allocations: 0.537 MB / 1.127 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/0.8814, allocations: 39.11 kB / 1.127 GB, free: 4.867 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.8817, allocations: 360.4 kB / 1.127 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.922e-05/0.8818, allocations: 90.86 kB / 1.128 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.889e-05/0.8818, allocations: 0 / 1.128 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.882, allocations: 374.8 kB / 1.128 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.8822, allocations: 117.5 kB / 1.128 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.8825, allocations: 307.4 kB / 1.128 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.8828, allocations: 132.7 kB / 1.128 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.8828, allocations: 0 / 1.128 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007321/0.8835, allocations: 451.3 kB / 1.129 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.8836, allocations: 15.94 kB / 1.129 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.8836, allocations: 4 kB / 1.129 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.8836, allocations: 11.94 kB / 1.129 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.8839, allocations: 71.84 kB / 1.129 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.8839, allocations: 11.94 kB / 1.129 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.8842, allocations: 33.17 kB / 1.129 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.8842, allocations: 28.28 kB / 1.129 GB, free: 2.797 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition2,$whenCondition3,$whenCondition4,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.condition,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition4.enableFire,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,nor.active,$PRE.warUpCtr.timer.passed,warUpCtr.timer.passed,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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 0.000165/0.8844, allocations: 146.1 kB / 1.129 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004508/0.8849, allocations: 320.5 kB / 1.129 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.774e-05/0.8849, allocations: 63.2 kB / 1.13 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006561/0.8856, allocations: 377.5 kB / 1.13 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.8856, allocations: 8 kB / 1.13 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8856, allocations: 0 / 1.13 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.8856, allocations: 3.984 kB / 1.13 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.8871, allocations: 0.9499 MB / 1.131 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.8871, allocations: 0 / 1.131 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.8872, allocations: 27.92 kB / 1.131 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.8872, allocations: 0 / 1.131 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.8873, allocations: 11.98 kB / 1.131 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.8873, allocations: 0 / 1.131 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.8873, allocations: 7 kB / 1.131 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005998/0.8879, allocations: 451.2 kB / 1.131 GB, free: 392 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.888, allocations: 140.2 kB / 1.131 GB, free: 232 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.389e-05/0.8881, allocations: 7.984 kB / 1.131 GB, free: 224 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.8883, allocations: 12 kB / 1.131 GB, free: 212 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.8884, allocations: 47.92 kB / 1.132 GB, free: 164 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.8885, allocations: 15.98 kB / 1.132 GB, free: 148 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000443/0.8889, allocations: 378.9 kB / 1.132 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8889, allocations: 0 / 1.132 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000564/0.8895, allocations: 99.92 kB / 1.132 GB, free: 15.68 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: 36 (nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.timer.passed,warUpCtr.timer.entryTime) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,warUpCtr.timer.entryTime,off.newActive,nor.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001788/0.8913, allocations: 1.299 MB / 1.133 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005883/0.8919, allocations: 341.7 kB / 1.134 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.8919, allocations: 0 / 1.134 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.8921, allocations: 165.4 kB / 1.134 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.8926, allocations: 75.58 kB / 1.134 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.8945, allocations: 0.8994 MB / 1.135 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005804/0.8951, allocations: 0.9458 MB / 1.136 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002703/0.8954, allocations: 74.59 kB / 1.136 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/0.8957, allocations: 239.3 kB / 1.136 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.8957, allocations: 1.688 kB / 1.136 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03544/0.9312, allocations: 11.26 MB / 1.147 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.9314, allocations: 188.7 kB / 1.147 GB, free: 488 kB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/3.217, allocations: 0 / 1.147 GB, free: 488 kB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1)