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.001173/0.001173, 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.001299/0.001299, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.446/1.446, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.904/2.904, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 65.86 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3633, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.005069/0.3684, allocations: 3.185 MB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003016/0.3714, allocations: 1.779 MB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.3717, allocations: 11.94 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.3727, allocations: 279.2 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003729/0.3731, allocations: 151.3 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007992/0.3739, allocations: 362.9 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007418/0.3747, allocations: 0.7806 MB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00062/0.3753, allocations: 0.5026 MB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003633/0.3757, allocations: 270.9 kB / 1.075 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003122/0.376, allocations: 302.5 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.12e-05/0.3761, allocations: 44 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.3763, allocations: 91.91 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.3765, allocations: 183.3 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000294/0.3768, allocations: 341.8 kB / 1.076 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007789/0.3776, allocations: 0.7902 MB / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3776, allocations: 0 / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3776, allocations: 0 / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.719e-06/0.3776, allocations: 0 / 1.076 GB, free: 1.855 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.001708/0.3793, allocations: 1.113 MB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3794, allocations: 8.031 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.3796, allocations: 95.84 kB / 1.078 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00082/0.3804, allocations: 0.5085 MB / 1.078 GB, free: 32 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.3805, allocations: 91.31 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.433e-05/0.3806, allocations: 64 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.3817, allocations: 0.6598 MB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.3818, allocations: 4 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.075e-05/0.3818, allocations: 28 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.3819, allocations: 16 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000749/0.3826, allocations: 411.5 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003037/0.3857, allocations: 2.721 MB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006286/0.3863, allocations: 362.4 kB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.3866, allocations: 172.8 kB / 1.082 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.3866, allocations: 8 kB / 1.082 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004291/0.3871, allocations: 268.7 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=43): time 1.783e-06/0.3871, allocations: 0 / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43): time 0.0009594/0.388, allocations: 483.9 kB / 1.083 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.3882, allocations: 221.6 kB / 1.083 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008208/0.389, allocations: 0.6404 MB / 1.084 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.823e-05/0.3891, allocations: 53.69 kB / 1.084 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.3893, allocations: 380.4 kB / 1.084 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.65e-05/0.3894, allocations: 107.1 kB / 1.084 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.3896, allocations: 162.5 kB / 1.085 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3898, allocations: 386.7 kB / 1.085 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.3901, allocations: 149.9 kB / 1.085 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/0.3906, allocations: 372.5 kB / 1.086 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006207/0.3912, allocations: 458.6 kB / 1.086 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.3912, allocations: 4 kB / 1.086 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0008864/0.3921, allocations: 0.5548 MB / 1.086 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.3922, allocations: 8 kB / 1.087 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3922, allocations: 8 kB / 1.087 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.3922, allocations: 8 kB / 1.087 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.3925, allocations: 80.45 kB / 1.087 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.3926, allocations: 15.94 kB / 1.087 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.3928, allocations: 63.36 kB / 1.087 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/0.3929, allocations: 32 kB / 1.087 GB, free: 6.578 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.0002951/0.3932, allocations: 281.5 kB / 1.087 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.567e-05/0.3933, allocations: 71.14 kB / 1.087 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007061/0.394, allocations: 395.9 kB / 1.087 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.394, allocations: 8 kB / 1.087 GB, free: 5.82 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.394, allocations: 0 / 1.087 GB, free: 5.82 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.3941, allocations: 7.984 kB / 1.087 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.3955, allocations: 1.014 MB / 1.088 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3955, allocations: 7.938 kB / 1.088 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.3956, allocations: 27.92 kB / 1.088 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.3956, allocations: 7.984 kB / 1.088 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.3957, allocations: 8 kB / 1.088 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.3957, allocations: 7.938 kB / 1.088 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/0.3957, allocations: 4 kB / 1.088 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007002/0.3964, allocations: 0.5102 MB / 1.089 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.3965, allocations: 140.2 kB / 1.089 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.741e-05/0.3966, allocations: 19.98 kB / 1.089 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.3968, allocations: 15.94 kB / 1.089 GB, free: 3.945 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.3969, allocations: 59.92 kB / 1.089 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/0.397, allocations: 15.98 kB / 1.089 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004238/0.3974, allocations: 415 kB / 1.09 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3974, allocations: 0 / 1.09 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004906/0.3979, allocations: 143.5 kB / 1.09 GB, free: 3.328 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.001154/0.3991, allocations: 467.1 kB / 1.09 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007233/0.3998, allocations: 411.8 kB / 1.091 GB, free: 2.625 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3998, allocations: 0 / 1.091 GB, free: 2.625 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.4002, allocations: 188 kB / 1.091 GB, free: 2.441 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.4008, allocations: 95.61 kB / 1.091 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.4028, allocations: 1.421 MB / 1.092 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/0.4033, allocations: 0.9423 MB / 1.093 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002629/0.4036, allocations: 88.66 kB / 1.093 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.4037, allocations: 55.34 kB / 1.093 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of SimCode: time 3.5e-07/0.4037, allocations: 0 / 1.093 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of Templates: time 0.01251/0.4162, allocations: 5.594 MB / 1.099 GB, free: 10.23 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)