Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001567/0.001567, 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.001739/0.001739, allocations: 192.3 kB / 16.13 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.659/1.659, allocations: 292.3 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 69.7 kB / 0.6708 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2509, allocations: 114.6 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.006245/0.2572, allocations: 3.197 MB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003377/0.2607, allocations: 1.709 MB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002931/0.261, allocations: 15.88 kB / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009744/0.262, allocations: 280.6 kB / 0.7878 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004089/0.2624, allocations: 163.2 kB / 0.7879 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007893/0.2632, allocations: 334.6 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007079/0.2639, allocations: 0.7729 MB / 0.789 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006338/0.2646, allocations: 0.506 MB / 0.7895 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.2648, allocations: 266.9 kB / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.2652, allocations: 298.5 kB / 0.79 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.91e-05/0.2653, allocations: 40 kB / 0.7901 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.2655, allocations: 87.97 kB / 0.7901 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.2656, allocations: 187.2 kB / 0.7903 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002674/0.2659, allocations: 325.8 kB / 0.7906 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007283/0.2667, allocations: 0.798 MB / 0.7914 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.2667, allocations: 0 / 0.7914 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.72e-07/0.2667, allocations: 3.938 kB / 0.7914 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.2667, allocations: 4 kB / 0.7914 GB, free: 5.016 MB / 0.6075 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.001719/0.2684, allocations: 1.098 MB / 0.7925 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2685, allocations: 11.97 kB / 0.7925 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.2686, allocations: 95.81 kB / 0.7926 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007345/0.2694, allocations: 0.5202 MB / 0.7931 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.34e-05/0.2695, allocations: 83.33 kB / 0.7932 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.898e-05/0.2696, allocations: 63.98 kB / 0.7932 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009801/0.2705, allocations: 0.6521 MB / 0.7939 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.2706, allocations: 7.938 kB / 0.7939 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.238e-05/0.2706, allocations: 23.98 kB / 0.7939 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.2706, allocations: 16 kB / 0.7939 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007573/0.2714, allocations: 415.5 kB / 0.7943 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002649/0.2741, allocations: 2.689 MB / 0.7969 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.2747, allocations: 270.8 kB / 0.7972 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.275, allocations: 136.8 kB / 0.7973 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.199e-05/0.275, allocations: 11.73 kB / 0.7973 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003703/0.2754, allocations: 195.1 kB / 0.7975 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=38): time 2.094e-06/0.2754, allocations: 0 / 0.7975 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of matching and sorting (n=38): time 0.0009702/0.2764, allocations: 428 kB / 0.7979 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.2765, allocations: 89.11 kB / 0.798 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006841/0.2772, allocations: 0.66 MB / 0.7987 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.345e-05/0.2772, allocations: 49.69 kB / 0.7987 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.2775, allocations: 400 kB / 0.7991 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.828e-05/0.2776, allocations: 98.73 kB / 0.7992 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/0.2778, allocations: 150.2 kB / 0.7993 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.278, allocations: 382.8 kB / 0.7997 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.2783, allocations: 149.2 kB / 0.7998 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004754/0.2788, allocations: 361 kB / 0.8002 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006533/0.2795, allocations: 426.7 kB / 0.8006 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.2795, allocations: 4 kB / 0.8006 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0009369/0.2805, allocations: 0.5435 MB / 0.8011 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.2805, allocations: 4 kB / 0.8011 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.2805, allocations: 8 kB / 0.8011 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/0.2806, allocations: 8 kB / 0.8011 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.2808, allocations: 75.78 kB / 0.8012 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/0.2809, allocations: 11.98 kB / 0.8012 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.2812, allocations: 67.31 kB / 0.8013 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.749e-05/0.2812, allocations: 35.92 kB / 0.8013 GB, free: 10.3 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,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 (78): * Single equations (assignments): 78 * 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.0003624/0.2816, allocations: 263.1 kB / 0.8016 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.645e-05/0.2817, allocations: 67.16 kB / 0.8016 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008224/0.2825, allocations: 391.8 kB / 0.802 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.2826, allocations: 4 kB / 0.802 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.2826, allocations: 4 kB / 0.802 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.2826, allocations: 7.922 kB / 0.802 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.2841, allocations: 1.003 MB / 0.803 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2841, allocations: 3.938 kB / 0.803 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.2843, allocations: 23.98 kB / 0.803 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.2843, allocations: 3.938 kB / 0.803 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.2843, allocations: 11.94 kB / 0.8031 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.2843, allocations: 8 kB / 0.8031 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.2843, allocations: 3.984 kB / 0.8031 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006394/0.285, allocations: 450.5 kB / 0.8035 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.2851, allocations: 148.1 kB / 0.8036 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.074e-05/0.2852, allocations: 12 kB / 0.8036 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.2854, allocations: 15.98 kB / 0.8037 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.2855, allocations: 43.94 kB / 0.8037 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.2856, allocations: 23.98 kB / 0.8037 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005263/0.2861, allocations: 427 kB / 0.8041 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2861, allocations: 3.938 kB / 0.8041 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005809/0.2867, allocations: 139.6 kB / 0.8043 GB, free: 7.184 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 35 (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: 8 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001289/0.288, allocations: 451.4 kB / 0.8047 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007387/0.2887, allocations: 400.1 kB / 0.8051 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2888, allocations: 1.562 kB / 0.8051 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.289, allocations: 163.8 kB / 0.8052 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006094/0.2897, allocations: 92.84 kB / 0.8053 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.2918, allocations: 1.385 MB / 0.8067 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.2923, allocations: 0.9508 MB / 0.8076 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003134/0.2926, allocations: 88.66 kB / 0.8077 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.2928, allocations: 47.42 kB / 0.8077 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.2928, allocations: 8 kB / 0.8077 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of Templates: time 0.01171/0.3045, allocations: 5.482 MB / 0.8131 GB, free: 14.3 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)