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.001183/0.001183, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001192/0.001192, allocations: 191.4 kB / 16.25 MB, free: 6.625 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.735/1.735, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.833/1.833, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.00165/0.00165, allocations: 67.39 kB / 0.671 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2729, allocations: 114.6 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.005292/0.2783, allocations: 3.206 MB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00301/0.2813, allocations: 1.702 MB / 0.7877 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000287/0.2816, allocations: 11.94 kB / 0.7877 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009181/0.2826, allocations: 283.5 kB / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003968/0.283, allocations: 155.3 kB / 0.7881 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007505/0.2838, allocations: 346.8 kB / 0.7884 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007446/0.2845, allocations: 0.8119 MB / 0.7892 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006132/0.2851, allocations: 0.5442 MB / 0.7897 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.2854, allocations: 298.9 kB / 0.79 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.2857, allocations: 314.5 kB / 0.7903 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.039e-05/0.2858, allocations: 64 kB / 0.7904 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.286, allocations: 112 kB / 0.7905 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.2862, allocations: 203.3 kB / 0.7907 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002774/0.2865, allocations: 361.8 kB / 0.791 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008196/0.2873, allocations: 0.8486 MB / 0.7919 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2873, allocations: 0 / 0.7919 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2873, allocations: 0 / 0.7919 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.2874, allocations: 0 / 0.7919 GB, free: 4.609 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.001655/0.289, allocations: 1.106 MB / 0.7929 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.2891, allocations: 8.031 kB / 0.7929 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.2892, allocations: 95.75 kB / 0.793 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007436/0.29, allocations: 0.5164 MB / 0.7935 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-05/0.2901, allocations: 87.25 kB / 0.7936 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.725e-05/0.2902, allocations: 71.94 kB / 0.7937 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.2913, allocations: 0.6521 MB / 0.7943 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.2913, allocations: 0 / 0.7943 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.212e-05/0.2914, allocations: 27.94 kB / 0.7944 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.2914, allocations: 16 kB / 0.7944 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007065/0.2921, allocations: 415.6 kB / 0.7948 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002832/0.295, allocations: 2.693 MB / 0.7974 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006108/0.2956, allocations: 273.5 kB / 0.7977 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.2958, allocations: 140.8 kB / 0.7978 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.2959, allocations: 11.75 kB / 0.7978 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003532/0.2962, allocations: 191.2 kB / 0.798 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=38): time 1.963e-06/0.2962, allocations: 0 / 0.798 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=38): time 0.0008449/0.2971, allocations: 424.9 kB / 0.7984 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.2972, allocations: 85.11 kB / 0.7985 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000683/0.2979, allocations: 0.6639 MB / 0.7991 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.039e-05/0.2979, allocations: 49.7 kB / 0.7992 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.2982, allocations: 396.1 kB / 0.7995 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.452e-05/0.2983, allocations: 98.73 kB / 0.7996 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.2985, allocations: 154.2 kB / 0.7998 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2987, allocations: 382.8 kB / 0.8002 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/0.299, allocations: 137.2 kB / 0.8003 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000476/0.2994, allocations: 365 kB / 0.8006 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005473/0.3, allocations: 426.7 kB / 0.801 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3, allocations: 4 kB / 0.801 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008522/0.3009, allocations: 0.5358 MB / 0.8016 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.3009, allocations: 12.16 kB / 0.8016 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3009, allocations: 8 kB / 0.8016 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.301, allocations: 8 kB / 0.8016 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.3012, allocations: 79.77 kB / 0.8017 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.3012, allocations: 11.94 kB / 0.8017 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.3015, allocations: 71.3 kB / 0.8017 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/0.3016, allocations: 28 kB / 0.8018 GB, free: 9.895 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.0003456/0.3019, allocations: 275.7 kB / 0.802 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/0.302, allocations: 67.14 kB / 0.8021 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007057/0.3027, allocations: 383.8 kB / 0.8025 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3027, allocations: 8 kB / 0.8025 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3028, allocations: 0 / 0.8025 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.3028, allocations: 7.922 kB / 0.8025 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.3042, allocations: 1.003 MB / 0.8035 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3042, allocations: 0 / 0.8035 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.3044, allocations: 27.97 kB / 0.8035 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.3044, allocations: 11.91 kB / 0.8035 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.3044, allocations: 15.94 kB / 0.8035 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.3044, allocations: 0 / 0.8035 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3044, allocations: 0 / 0.8035 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006138/0.305, allocations: 458.4 kB / 0.804 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.3052, allocations: 144.1 kB / 0.8041 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.987e-05/0.3053, allocations: 15.98 kB / 0.8041 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.3054, allocations: 8 kB / 0.8041 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.3056, allocations: 55.94 kB / 0.8042 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.3057, allocations: 15.98 kB / 0.8042 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004944/0.3062, allocations: 427 kB / 0.8046 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6.41e-07/0.3062, allocations: 8 kB / 0.8046 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005632/0.3068, allocations: 135.6 kB / 0.8047 GB, free: 6.766 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.001171/0.3079, allocations: 455.9 kB / 0.8052 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000912/0.3089, allocations: 420.7 kB / 0.8056 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3089, allocations: 0 / 0.8056 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00027/0.3091, allocations: 159.8 kB / 0.8057 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005733/0.3097, allocations: 96.84 kB / 0.8058 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.3116, allocations: 1.387 MB / 0.8072 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006071/0.3122, allocations: 0.9455 MB / 0.8081 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003506/0.3126, allocations: 88.5 kB / 0.8082 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.3127, allocations: 51.42 kB / 0.8082 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.3127, allocations: 0 / 0.8082 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of Templates: time 0.01266/0.3254, allocations: 5.707 MB / 0.8138 GB, free: 13.64 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)