Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.000905/0.0009051, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006308/0.006308, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.487/1.487, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.985/2.985, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000604/0.0006043, allocations: 9.75 kB / 0.9158 GB, free: 33.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4133, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.004219/0.4176, allocations: 2.796 MB / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003411/0.421, allocations: 1.752 MB / 1.079 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004655/0.4215, allocations: 11.94 kB / 1.079 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.4226, allocations: 283.2 kB / 1.079 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006047/0.4232, allocations: 163.3 kB / 1.079 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.4244, allocations: 355 kB / 1.079 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001333/0.4257, allocations: 0.7767 MB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008218/0.4266, allocations: 489.5 kB / 1.081 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003623/0.4269, allocations: 234.9 kB / 1.081 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003914/0.4273, allocations: 262.5 kB / 1.081 GB, free: 456 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.648e-05/0.4274, allocations: 24 kB / 1.081 GB, free: 432 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002384/0.4277, allocations: 75.95 kB / 1.081 GB, free: 356 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.4279, allocations: 163.3 kB / 1.081 GB, free: 192 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003997/0.4283, allocations: 331.6 kB / 1.082 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009107/0.4292, allocations: 0.7743 MB / 1.082 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.4292, allocations: 0 / 1.082 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4292, allocations: 0 / 1.082 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.684e-05/0.4293, allocations: 3.938 kB / 1.082 GB, free: 15.07 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.001988/0.4313, allocations: 0.9618 MB / 1.083 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.754e-05/0.4313, allocations: 8.031 kB / 1.083 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003899/0.4317, allocations: 99.81 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.4332, allocations: 0.5125 MB / 1.084 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.4335, allocations: 79.14 kB / 1.084 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.4336, allocations: 64 kB / 1.084 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.4352, allocations: 0.6637 MB / 1.085 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.4352, allocations: 7.938 kB / 1.085 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.467e-05/0.4353, allocations: 27.94 kB / 1.085 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.4354, allocations: 16 kB / 1.085 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.4364, allocations: 407.6 kB / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003471/0.4399, allocations: 2.713 MB / 1.088 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/0.4406, allocations: 361.8 kB / 1.088 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.4409, allocations: 180.8 kB / 1.088 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.197e-05/0.441, allocations: 7.984 kB / 1.088 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004606/0.4414, allocations: 268.9 kB / 1.089 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=43): time 2.956e-06/0.4414, allocations: 0 / 1.089 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43): time 0.001016/0.4425, allocations: 488.3 kB / 1.089 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.4426, allocations: 213.6 kB / 1.089 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007317/0.4433, allocations: 0.6404 MB / 1.09 GB, free: 6.949 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.865e-05/0.4434, allocations: 53.7 kB / 1.09 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/0.4437, allocations: 376.4 kB / 1.09 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.4438, allocations: 114.6 kB / 1.09 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.444, allocations: 101.7 kB / 1.09 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.4441, allocations: 386.8 kB / 1.091 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/0.4445, allocations: 153.9 kB / 1.091 GB, free: 5.766 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/0.4449, allocations: 364.5 kB / 1.091 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006914/0.4456, allocations: 454.7 kB / 1.092 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.4456, allocations: 4 kB / 1.092 GB, free: 4.785 MB / 0.8419 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001044/0.4467, allocations: 0.555 MB / 1.092 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.4467, allocations: 8 kB / 1.092 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.4467, allocations: 8 kB / 1.092 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.4468, allocations: 8 kB / 1.092 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.4471, allocations: 79.77 kB / 1.092 GB, free: 4.121 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.037e-05/0.4471, allocations: 11.94 kB / 1.092 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.4474, allocations: 75.83 kB / 1.093 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-05/0.4475, allocations: 28 kB / 1.093 GB, free: 4.008 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.0003991/0.4479, allocations: 273.6 kB / 1.093 GB, free: 3.734 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.448, allocations: 75.14 kB / 1.093 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000797/0.4488, allocations: 395.9 kB / 1.093 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.4489, allocations: 8 kB / 1.093 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.4489, allocations: 3.938 kB / 1.093 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.4489, allocations: 7.984 kB / 1.093 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.4505, allocations: 1.018 MB / 1.094 GB, free: 2.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4505, allocations: 0 / 1.094 GB, free: 2.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.4507, allocations: 31.92 kB / 1.094 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4507, allocations: 0 / 1.094 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.4507, allocations: 19.98 kB / 1.094 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.4507, allocations: 7.922 kB / 1.094 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4507, allocations: 4 kB / 1.094 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007154/0.4515, allocations: 0.5102 MB / 1.095 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.4516, allocations: 148.1 kB / 1.095 GB, free: 1.391 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.961e-05/0.4517, allocations: 15.98 kB / 1.095 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.4519, allocations: 15.94 kB / 1.095 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.452, allocations: 63.92 kB / 1.095 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.4521, allocations: 19.92 kB / 1.095 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000502/0.4526, allocations: 415 kB / 1.095 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4526, allocations: 0 / 1.095 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005402/0.4531, allocations: 143.5 kB / 1.096 GB, free: 0.7344 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.001188/0.4543, allocations: 462 kB / 1.096 GB, free: 448 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008173/0.4552, allocations: 415.9 kB / 1.096 GB, free: 36 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4552, allocations: 0 / 1.096 GB, free: 36 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.4555, allocations: 180.2 kB / 1.097 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007125/0.4563, allocations: 99.5 kB / 1.097 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.4584, allocations: 1.435 MB / 1.098 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/0.459, allocations: 0.9461 MB / 1.099 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000287/0.4593, allocations: 88.66 kB / 1.099 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.4595, allocations: 55.41 kB / 1.099 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.4595, allocations: 0 / 1.099 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of Templates: time 0.01312/0.4726, allocations: 5.547 MB / 1.105 GB, free: 7.676 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)