Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001942/0.001941, allocations: 189.4 kB / 16.25 MB, free: 6.625 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.482/1.482, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.897/2.897, allocations: 472.6 MB / 0.7448 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.06 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3511, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.005453/0.3566, allocations: 3.181 MB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003191/0.3599, allocations: 1.782 MB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004967/0.3604, allocations: 8 kB / 1.073 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.3617, allocations: 287.2 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000717/0.3624, allocations: 155.3 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.3636, allocations: 358.6 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001227/0.3649, allocations: 0.8236 MB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009747/0.3659, allocations: 0.5445 MB / 1.075 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005643/0.3664, allocations: 294.9 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005189/0.367, allocations: 326.4 kB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.3672, allocations: 64 kB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000373/0.3675, allocations: 115.9 kB / 1.075 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002707/0.3678, allocations: 207.3 kB / 1.076 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004416/0.3683, allocations: 357.8 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.3694, allocations: 0.8603 MB / 1.077 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.3695, allocations: 4 kB / 1.077 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3695, allocations: 0 / 1.077 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.328e-05/0.3695, allocations: 0 / 1.077 GB, free: 1.371 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002133/0.3717, allocations: 1.106 MB / 1.078 GB, free: 212 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.3717, allocations: 8.031 kB / 1.078 GB, free: 204 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.3719, allocations: 95.89 kB / 1.078 GB, free: 108 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007777/0.3727, allocations: 0.5124 MB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.3728, allocations: 83.33 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.536e-05/0.3729, allocations: 68 kB / 1.079 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.374, allocations: 0.6599 MB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.374, allocations: 0 / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.625e-05/0.3741, allocations: 27.98 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.3741, allocations: 12 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007305/0.3748, allocations: 415.5 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0029/0.3777, allocations: 2.709 MB / 1.082 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006689/0.3784, allocations: 360 kB / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/0.3787, allocations: 174.7 kB / 1.083 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.092e-05/0.3788, allocations: 19.92 kB / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004816/0.3793, allocations: 268.7 kB / 1.083 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/0.3793, allocations: 0 / 1.083 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43): time 0.001045/0.3803, allocations: 480.8 kB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.3805, allocations: 221.5 kB / 1.084 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007786/0.3813, allocations: 0.6364 MB / 1.084 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.113e-05/0.3813, allocations: 58.31 kB / 1.084 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003505/0.3817, allocations: 376.5 kB / 1.085 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.3818, allocations: 106.6 kB / 1.085 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.3821, allocations: 170.5 kB / 1.085 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.3823, allocations: 382.7 kB / 1.085 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.3826, allocations: 153.9 kB / 1.086 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/0.383, allocations: 372.5 kB / 1.086 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006324/0.3836, allocations: 446.7 kB / 1.086 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.3837, allocations: 4 kB / 1.086 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00091/0.3846, allocations: 0.5547 MB / 1.087 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.3846, allocations: 8.781 kB / 1.087 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.3846, allocations: 8 kB / 1.087 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/0.3847, allocations: 12 kB / 1.087 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.385, allocations: 79.77 kB / 1.087 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.385, allocations: 12 kB / 1.087 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.3853, allocations: 67.36 kB / 1.087 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.612e-05/0.3853, allocations: 35.98 kB / 1.087 GB, free: 6.105 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 63 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition1.t_start,$PRE.transition1.t_start,transition2.t_start,$PRE.transition2.t_start,transition3.t_start,$PRE.transition3.t_start,transition4.t_start,$PRE.transition4.t_start,transition5.t_start,$PRE.transition5.t_start,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.enableFire,$PRE.warUpCtr.pre.u,nor.oldActive,$PRE.nor.oldActive,nor.newActive,$PRE.nor.newActive,nor.localActive,$PRE.nor.localActive,nor.active,transition4.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.outPort[2].available,off.inPort[2].occupied,off.localActive,$PRE.off.localActive,off.active,warUp.active,warUp.oldActive,$PRE.warUp.oldActive,warUp.newActive,$PRE.warUp.newActive,warUp.outPort[2].available,warUp.inPort[2].occupied,warUp.localActive,$PRE.warUp.localActive,transition3.enableFire,transition2.enableFire,transition2.condition,transition1.enableFire,actMod,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,warUpCtr.pre.u,warUpCtr.hysPow.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysTem.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0003699/0.3857, allocations: 277.5 kB / 1.087 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.3858, allocations: 71.16 kB / 1.087 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007365/0.3866, allocations: 384 kB / 1.088 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.3866, allocations: 8 kB / 1.088 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3866, allocations: 0 / 1.088 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.3866, allocations: 11.92 kB / 1.088 GB, free: 5.352 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.3881, allocations: 1.025 MB / 1.089 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3881, allocations: 0 / 1.089 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.3883, allocations: 31.86 kB / 1.089 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.3883, allocations: 4 kB / 1.089 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.3883, allocations: 15.98 kB / 1.089 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.3883, allocations: 3.938 kB / 1.089 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3883, allocations: 4 kB / 1.089 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006992/0.389, allocations: 0.5102 MB / 1.089 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.3892, allocations: 136.2 kB / 1.09 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.75e-05/0.3892, allocations: 19.98 kB / 1.09 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.3894, allocations: 27.92 kB / 1.09 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.3896, allocations: 47.94 kB / 1.09 GB, free: 3.422 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.3896, allocations: 19.98 kB / 1.09 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004703/0.3901, allocations: 423 kB / 1.09 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of sort global known variables: time 5.11e-07/0.3901, allocations: 0 / 1.09 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000587/0.3907, allocations: 139.5 kB / 1.09 GB, free: 2.852 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 40 (transition5.t_start,transition4.t_start,transition3.t_start,transition2.t_start,transition1.t_start,nor.active,off.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.condition,transition2.enableFire,transition3.enableFire,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,warUp.active,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.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 13 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled,transition1.t_start,transition2.t_start,transition3.t_start,transition4.t_start,transition5.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001114/0.3918, allocations: 454.9 kB / 1.091 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000925/0.3928, allocations: 451.7 kB / 1.091 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.3928, allocations: 8.188 kB / 1.091 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.3931, allocations: 179.7 kB / 1.091 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006236/0.3937, allocations: 111.5 kB / 1.091 GB, free: 1.844 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.3958, allocations: 1.42 MB / 1.093 GB, free: 384 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000568/0.3964, allocations: 0.9575 MB / 1.094 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002965/0.3967, allocations: 84.52 kB / 1.094 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.3968, allocations: 51.42 kB / 1.094 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of SimCode: time 2.81e-07/0.3968, allocations: 0 / 1.094 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of Templates: time 0.01257/0.4094, allocations: 5.816 MB / 1.099 GB, free: 9.488 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)