Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.7/1.7, allocations: 287.5 MB / 302.6 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000934/0.0009341, allocations: 174.2 kB / 371.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.4 MB / 0.6298 GB, free: 10.5 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008995/0.0008998, allocations: 92.8 kB / 0.7432 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004539/0.0004542, allocations: 12.38 kB / 0.8661 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2908, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.003752/0.2946, allocations: 2.702 MB / 0.9813 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002957/0.2976, allocations: 1.628 MB / 0.9829 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006235/0.2983, allocations: 11.94 kB / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.2995, allocations: 266.7 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006882/0.3002, allocations: 159.2 kB / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.3014, allocations: 287 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001088/0.3025, allocations: 0.726 MB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008788/0.3033, allocations: 485.7 kB / 0.9848 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004115/0.3038, allocations: 231 kB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003725/0.3041, allocations: 246.7 kB / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.815e-05/0.3043, allocations: 24 kB / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.3045, allocations: 67.91 kB / 0.9853 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.3047, allocations: 159.3 kB / 0.9855 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.3049, allocations: 145.3 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006289/0.3055, allocations: 0.604 MB / 0.9862 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.3055, allocations: 0 / 0.9862 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3055, allocations: 4 kB / 0.9862 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.05e-05/0.3056, allocations: 0 / 0.9862 GB, free: 20.43 MB / 0.6198 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.00158/0.3071, allocations: 0.9563 MB / 0.9871 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.3072, allocations: 11.97 kB / 0.9871 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.3074, allocations: 95.81 kB / 0.9872 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008085/0.3082, allocations: 0.5163 MB / 0.9877 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.346e-05/0.3083, allocations: 83.14 kB / 0.9878 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.744e-05/0.3084, allocations: 60 kB / 0.9879 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.3095, allocations: 0.6599 MB / 0.9885 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.3095, allocations: 0 / 0.9885 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.318e-05/0.3096, allocations: 24 kB / 0.9885 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.3096, allocations: 12 kB / 0.9886 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006169/0.3102, allocations: 411.5 kB / 0.9889 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.3123, allocations: 2.713 MB / 0.9916 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004943/0.3128, allocations: 258.9 kB / 0.9918 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.3131, allocations: 140.8 kB / 0.992 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.3131, allocations: 7.75 kB / 0.992 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003157/0.3135, allocations: 195 kB / 0.9922 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=38): time 2.234e-06/0.3135, allocations: 0 / 0.9922 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=38): time 0.0007241/0.3142, allocations: 417.1 kB / 0.9926 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.3143, allocations: 89.05 kB / 0.9927 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005439/0.3148, allocations: 0.6638 MB / 0.9933 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.3149, allocations: 45.7 kB / 0.9933 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.3151, allocations: 400.1 kB / 0.9937 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/0.3151, allocations: 98.73 kB / 0.9938 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.995e-05/0.3152, allocations: 16 kB / 0.9938 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.3153, allocations: 378.8 kB / 0.9942 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.3155, allocations: 137.2 kB / 0.9943 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.3158, allocations: 365 kB / 0.9947 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/0.3163, allocations: 418.8 kB / 0.9951 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3163, allocations: 0 / 0.9951 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0007452/0.317, allocations: 0.5313 MB / 0.9956 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3171, allocations: 8.781 kB / 0.9956 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.3171, allocations: 11.94 kB / 0.9956 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.3171, allocations: 12 kB / 0.9956 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.3173, allocations: 75.83 kB / 0.9957 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.3174, allocations: 15.88 kB / 0.9957 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.3176, allocations: 67.42 kB / 0.9958 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.3177, allocations: 28 kB / 0.9958 GB, free: 10.05 MB / 0.6198 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,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.condition,transition2.enableFire,transition3.enableFire,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,off.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.active,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,$PRE.warUpCtr.pre.u,transition5.enableFire,$PRE.warUpCtr.hysTem.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002728/0.3179, allocations: 266.8 kB / 0.9961 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.318, allocations: 67.16 kB / 0.9961 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006162/0.3186, allocations: 400 kB / 0.9965 GB, free: 9.316 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3186, allocations: 4 kB / 0.9965 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3187, allocations: 7.875 kB / 0.9965 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3187, allocations: 0 / 0.9965 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.3198, allocations: 1.01 MB / 0.9975 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3198, allocations: 0 / 0.9975 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.3199, allocations: 31.86 kB / 0.9975 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3199, allocations: 0 / 0.9975 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.32, allocations: 15.98 kB / 0.9975 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.32, allocations: 0 / 0.9975 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.32, allocations: 0 / 0.9975 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004687/0.3204, allocations: 455.2 kB / 0.998 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-05/0.3205, allocations: 148.1 kB / 0.9981 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.517e-05/0.3206, allocations: 12 kB / 0.9981 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.3208, allocations: 16 kB / 0.9982 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.3209, allocations: 59.86 kB / 0.9982 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.3209, allocations: 15.98 kB / 0.9982 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003546/0.3213, allocations: 427 kB / 0.9986 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3213, allocations: 0 / 0.9986 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004409/0.3218, allocations: 135.6 kB / 0.9988 GB, free: 6.914 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00111/0.3229, allocations: 450.6 kB / 0.9992 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006496/0.3235, allocations: 380.5 kB / 0.9996 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3236, allocations: 0 / 0.9996 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.3238, allocations: 156.9 kB / 0.9997 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/0.3244, allocations: 100.3 kB / 0.9998 GB, free: 6.008 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.326, allocations: 1.334 MB / 1.001 GB, free: 4.645 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.3264, allocations: 0.9458 MB / 1.002 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002574/0.3267, allocations: 84.5 kB / 1.002 GB, free: 3.586 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.3268, allocations: 51.42 kB / 1.002 GB, free: 3.535 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.3268, allocations: 0 / 1.002 GB, free: 3.535 MB / 0.6198 GB Notification: Performance of Templates: time 0.01063/0.3374, allocations: 5.288 MB / 1.007 GB, free: 14.28 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)