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.001079/0.001079, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.009136/0.009137, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.569/1.569, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.95/2.95, allocations: 473.4 MB / 0.7469 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000571/0.0005711, allocations: 8.688 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3875, allocations: 162.1 MB / 1.074 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.004098/0.3916, allocations: 2.804 MB / 1.077 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003024/0.3947, allocations: 1.744 MB / 1.079 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00026/0.395, allocations: 11.94 kB / 1.079 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009041/0.3959, allocations: 275.2 kB / 1.079 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003749/0.3963, allocations: 159.3 kB / 1.079 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008206/0.3971, allocations: 362.3 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007841/0.3979, allocations: 0.7806 MB / 1.08 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005994/0.3985, allocations: 493.5 kB / 1.081 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.3988, allocations: 230.9 kB / 1.081 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.3991, allocations: 266.4 kB / 1.081 GB, free: 500 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.619e-05/0.3991, allocations: 24 kB / 1.081 GB, free: 476 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.3993, allocations: 67.98 kB / 1.081 GB, free: 408 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.3995, allocations: 167.3 kB / 1.081 GB, free: 240 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002953/0.3998, allocations: 331.5 kB / 1.082 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007428/0.4006, allocations: 0.7666 MB / 1.082 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4006, allocations: 4 kB / 1.082 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4006, allocations: 8 kB / 1.082 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.4006, allocations: 0 / 1.082 GB, free: 15.12 MB / 0.8419 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.001474/0.4021, allocations: 0.9579 MB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.4021, allocations: 8.031 kB / 1.083 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.4023, allocations: 95.81 kB / 1.083 GB, free: 14 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007193/0.403, allocations: 0.5085 MB / 1.084 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.4031, allocations: 87.12 kB / 1.084 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.262e-05/0.4032, allocations: 64 kB / 1.084 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.4042, allocations: 0.665 MB / 1.085 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.4043, allocations: 3.938 kB / 1.085 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-05/0.4043, allocations: 31.88 kB / 1.085 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.4044, allocations: 16 kB / 1.085 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007214/0.4051, allocations: 407.6 kB / 1.085 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/0.4078, allocations: 2.721 MB / 1.088 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000623/0.4085, allocations: 364.2 kB / 1.088 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.4088, allocations: 176.8 kB / 1.088 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.4088, allocations: 8 kB / 1.088 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000434/0.4093, allocations: 268.9 kB / 1.089 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=43): time 1.764e-06/0.4093, allocations: 0 / 1.089 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43): time 0.0009138/0.4102, allocations: 483.9 kB / 1.089 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.4103, allocations: 221.6 kB / 1.089 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007164/0.411, allocations: 0.6404 MB / 1.09 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.938e-05/0.4111, allocations: 57.69 kB / 1.09 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000303/0.4114, allocations: 376.4 kB / 1.09 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.207e-05/0.4115, allocations: 107.1 kB / 1.09 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.4116, allocations: 105.6 kB / 1.09 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.4118, allocations: 382.7 kB / 1.091 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.4121, allocations: 157.9 kB / 1.091 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004334/0.4125, allocations: 364.5 kB / 1.091 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006102/0.4132, allocations: 450.7 kB / 1.092 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.4132, allocations: 4 kB / 1.092 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0009582/0.4141, allocations: 0.5626 MB / 1.092 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.4142, allocations: 8 kB / 1.092 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.4142, allocations: 8 kB / 1.092 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.4142, allocations: 8 kB / 1.092 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.4145, allocations: 80.39 kB / 1.092 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/0.4145, allocations: 11.94 kB / 1.092 GB, free: 4.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.4148, allocations: 75.36 kB / 1.093 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.828e-05/0.4148, allocations: 28 kB / 1.093 GB, free: 4.047 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.0003334/0.4152, allocations: 277.5 kB / 1.093 GB, free: 3.77 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.384e-05/0.4153, allocations: 67.16 kB / 1.093 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007019/0.416, allocations: 399.8 kB / 1.093 GB, free: 3.293 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.416, allocations: 4 kB / 1.093 GB, free: 3.289 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.416, allocations: 4 kB / 1.093 GB, free: 3.285 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.416, allocations: 3.984 kB / 1.093 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.4175, allocations: 1.018 MB / 1.094 GB, free: 2.207 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.4176, allocations: 7.984 kB / 1.094 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.4177, allocations: 31.92 kB / 1.094 GB, free: 2.168 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.4177, allocations: 0 / 1.094 GB, free: 2.168 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.4177, allocations: 15.98 kB / 1.094 GB, free: 2.152 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.4177, allocations: 7.938 kB / 1.094 GB, free: 2.145 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4177, allocations: 3.938 kB / 1.094 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006889/0.4184, allocations: 0.5141 MB / 1.095 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.4186, allocations: 148.1 kB / 1.095 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.408e-05/0.4186, allocations: 12 kB / 1.095 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.4188, allocations: 23.92 kB / 1.095 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.419, allocations: 55.88 kB / 1.095 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.419, allocations: 19.98 kB / 1.095 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004737/0.4195, allocations: 419 kB / 1.095 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4195, allocations: 0 / 1.095 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000531/0.4201, allocations: 143.5 kB / 1.096 GB, free: 0.7734 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.001233/0.4213, allocations: 454.4 kB / 1.096 GB, free: 496 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008709/0.4222, allocations: 419.6 kB / 1.096 GB, free: 80 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4222, allocations: 0 / 1.096 GB, free: 80 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.4225, allocations: 188.1 kB / 1.097 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007434/0.4233, allocations: 96.09 kB / 1.097 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.4253, allocations: 1.435 MB / 1.098 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.4258, allocations: 0.9461 MB / 1.099 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002583/0.4261, allocations: 88.66 kB / 1.099 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.4263, allocations: 51.42 kB / 1.099 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.4263, allocations: 0 / 1.099 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of Templates: time 0.01255/0.4388, allocations: 5.554 MB / 1.105 GB, free: 7.711 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)