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.001217/0.001217, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001753/0.001753, allocations: 195.8 kB / 16.14 MB, free: 6.656 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.46/1.46, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.962/2.962, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001405, allocations: 60.45 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.4313, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.005937/0.4373, allocations: 3.181 MB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003436/0.4408, allocations: 1.771 MB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004978/0.4413, allocations: 15.88 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.4426, allocations: 283.2 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006946/0.4433, allocations: 155.3 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.4445, allocations: 362.6 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001285/0.4458, allocations: 0.7806 MB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009348/0.4468, allocations: 0.5065 MB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000509/0.4473, allocations: 266.9 kB / 1.075 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005083/0.4478, allocations: 302.4 kB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.448, allocations: 44 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.4483, allocations: 91.95 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.4485, allocations: 191.3 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004331/0.449, allocations: 333.8 kB / 1.076 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008787/0.4499, allocations: 0.798 MB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4499, allocations: 0 / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4499, allocations: 0 / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.806e-05/0.4499, allocations: 0 / 1.076 GB, free: 1.812 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.002068/0.452, allocations: 1.11 MB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.452, allocations: 12.03 kB / 1.077 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000208/0.4523, allocations: 91.89 kB / 1.078 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008639/0.4531, allocations: 0.5085 MB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.772e-05/0.4532, allocations: 83.33 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.714e-05/0.4533, allocations: 64 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.4545, allocations: 0.6676 MB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.4545, allocations: 3.938 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.485e-05/0.4546, allocations: 27.98 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.4546, allocations: 16 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008163/0.4554, allocations: 407.6 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003476/0.4589, allocations: 2.713 MB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006867/0.4596, allocations: 357.8 kB / 1.082 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.4599, allocations: 176.8 kB / 1.082 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.465e-05/0.46, allocations: 11.98 kB / 1.082 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004963/0.4605, allocations: 276.7 kB / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=43): time 2.786e-06/0.4605, allocations: 0 / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43): time 0.001104/0.4616, allocations: 479.8 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.4618, allocations: 221.6 kB / 1.083 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007953/0.4626, allocations: 0.6404 MB / 1.084 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.711e-05/0.4626, allocations: 53.69 kB / 1.084 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/0.463, allocations: 373.1 kB / 1.084 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.4631, allocations: 114.6 kB / 1.084 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.4634, allocations: 162.5 kB / 1.085 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000217/0.4636, allocations: 386.7 kB / 1.085 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.4639, allocations: 149.9 kB / 1.085 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004865/0.4644, allocations: 372.5 kB / 1.086 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006829/0.4651, allocations: 454.7 kB / 1.086 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4651, allocations: 0 / 1.086 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001048/0.4662, allocations: 0.5586 MB / 1.086 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.4662, allocations: 8 kB / 1.087 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.4662, allocations: 4 kB / 1.087 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.4663, allocations: 12.75 kB / 1.087 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.4665, allocations: 79.77 kB / 1.087 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.4666, allocations: 15.94 kB / 1.087 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/0.4669, allocations: 67.36 kB / 1.087 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.23e-05/0.467, allocations: 28 kB / 1.087 GB, free: 6.547 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.0003604/0.4674, allocations: 285.5 kB / 1.087 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.4675, allocations: 63.16 kB / 1.087 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007545/0.4683, allocations: 395.9 kB / 1.087 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.4683, allocations: 8 kB / 1.087 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.4683, allocations: 4 kB / 1.087 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.4683, allocations: 3.984 kB / 1.087 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.47, allocations: 1.022 MB / 1.088 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.47, allocations: 0 / 1.088 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.4701, allocations: 35.91 kB / 1.088 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/0.4701, allocations: 4 kB / 1.088 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.4702, allocations: 8 kB / 1.088 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/0.4702, allocations: 11.92 kB / 1.088 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4702, allocations: 0 / 1.088 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007405/0.4709, allocations: 0.5102 MB / 1.089 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.4711, allocations: 140.2 kB / 1.089 GB, free: 3.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.762e-05/0.4712, allocations: 15.98 kB / 1.089 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.4714, allocations: 19.92 kB / 1.089 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.4715, allocations: 55.94 kB / 1.089 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.4716, allocations: 23.92 kB / 1.089 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004668/0.4721, allocations: 419 kB / 1.09 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4721, allocations: 0 / 1.09 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005947/0.4727, allocations: 139.5 kB / 1.09 GB, free: 3.293 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.001143/0.4738, allocations: 460.2 kB / 1.09 GB, free: 2.996 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008263/0.4747, allocations: 419.7 kB / 1.091 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4747, allocations: 0 / 1.091 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.475, allocations: 180.1 kB / 1.091 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006236/0.4756, allocations: 95.73 kB / 1.091 GB, free: 2.32 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.4778, allocations: 1.417 MB / 1.092 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005921/0.4784, allocations: 0.95 MB / 1.093 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002861/0.4787, allocations: 84.52 kB / 1.093 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.4788, allocations: 47.42 kB / 1.093 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.4788, allocations: 0 / 1.093 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of Templates: time 0.01347/0.4923, allocations: 5.609 MB / 1.099 GB, free: 10.19 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)