Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008174/0.008175, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001476/0.001476, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.67/1.67, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.677/1.677, allocations: 251.7 MB / 0.5094 GB, free: 3.008 MB / 414.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.0018/0.0018, allocations: 71.91 kB / 0.7258 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2627, allocations: 104.7 MB / 0.8281 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.005289/0.2681, allocations: 2.883 MB / 0.8309 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003153/0.2713, allocations: 1.616 MB / 0.8325 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004127/0.2717, allocations: 7.938 kB / 0.8325 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.2729, allocations: 321.8 kB / 0.8328 GB, free: 11.35 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0006554/0.2736, allocations: 178.9 kB / 0.8329 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.2747, allocations: 355.3 kB / 0.8333 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001114/0.2758, allocations: 0.734 MB / 0.834 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008719/0.2767, allocations: 460.2 kB / 0.8344 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004587/0.2772, allocations: 267 kB / 0.8347 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004381/0.2776, allocations: 282.6 kB / 0.835 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.2778, allocations: 52 kB / 0.835 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003135/0.2781, allocations: 104 kB / 0.8351 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.2783, allocations: 203.3 kB / 0.8353 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003544/0.2787, allocations: 322 kB / 0.8356 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.2797, allocations: 0.8088 MB / 0.8364 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2798, allocations: 0 / 0.8364 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2798, allocations: 0 / 0.8364 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.552e-05/0.2798, allocations: 4 kB / 0.8364 GB, free: 7.617 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001857/0.2817, allocations: 1.054 MB / 0.8374 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.2817, allocations: 8.031 kB / 0.8374 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.2819, allocations: 92.38 kB / 0.8375 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007796/0.2827, allocations: 0.4934 MB / 0.838 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.2829, allocations: 83.5 kB / 0.8381 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.527e-05/0.2829, allocations: 55.94 kB / 0.8381 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.284, allocations: 0.6053 MB / 0.8387 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.284, allocations: 7.938 kB / 0.8387 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-05/0.2841, allocations: 20 kB / 0.8388 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.2841, allocations: 20 kB / 0.8388 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006842/0.2848, allocations: 383.5 kB / 0.8391 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003179/0.288, allocations: 2.557 MB / 0.8416 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006337/0.2886, allocations: 278.9 kB / 0.8419 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.2889, allocations: 140.8 kB / 0.842 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.94e-05/0.2889, allocations: 7.984 kB / 0.8421 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004807/0.2894, allocations: 209.7 kB / 0.8423 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 3.607e-06/0.2895, allocations: 8 kB / 0.8423 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.0009164/0.2904, allocations: 450.1 kB / 0.8427 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.984e-05/0.2905, allocations: 89.11 kB / 0.8428 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008398/0.2913, allocations: 0.6327 MB / 0.8434 GB, free: 124 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.061e-05/0.2914, allocations: 45.7 kB / 0.8434 GB, free: 72 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/0.2918, allocations: 373 kB / 0.8438 GB, free: 15.7 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.2919, allocations: 107.2 kB / 0.8439 GB, free: 15.59 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.2921, allocations: 150.2 kB / 0.844 GB, free: 15.44 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.2923, allocations: 382.8 kB / 0.8444 GB, free: 15.06 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.2926, allocations: 141.2 kB / 0.8445 GB, free: 14.92 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005422/0.2932, allocations: 347.8 kB / 0.8449 GB, free: 14.49 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005624/0.2938, allocations: 417.6 kB / 0.8453 GB, free: 14 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.2938, allocations: 4 kB / 0.8453 GB, free: 14 MB / 0.67 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009396/0.2947, allocations: 0.5384 MB / 0.8458 GB, free: 13.45 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.2948, allocations: 14.91 kB / 0.8458 GB, free: 13.44 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.2948, allocations: 4 kB / 0.8458 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.2948, allocations: 15.94 kB / 0.8458 GB, free: 13.42 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.2951, allocations: 75.83 kB / 0.8459 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/0.2951, allocations: 11.94 kB / 0.8459 GB, free: 13.33 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.2954, allocations: 56.08 kB / 0.846 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.898e-05/0.2955, allocations: 36 kB / 0.846 GB, free: 13.24 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,timer.yAcc,$PRE.timer.yAcc,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,timer.reset_internal,$PRE.timer.reset_internal,transition5.enableFire,timer.entryTime,$PRE.timer.entryTime,transition3.enableFire,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.localActive,$PRE.off.localActive,off.active,transition4.enableFire,transition1.enableFire,transition2.enableFire,transition2.localCondition,stateGraphRoot.activeSteps,norm.oldActive,$PRE.norm.oldActive,norm.newActive,$PRE.norm.newActive,norm.outPort[2].available,norm.inPort[2].occupied,norm.localActive,$PRE.norm.localActive,norm.active,cooDow.active,cooDow.oldActive,$PRE.cooDow.oldActive,cooDow.newActive,$PRE.cooDow.newActive,cooDow.outPort[2].available,cooDow.inPort[2].occupied,cooDow.localActive,$PRE.cooDow.localActive,and1.y,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,actMod,$whenCondition3,$whenCondition2,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.000377/0.2958, allocations: 262.8 kB / 0.8463 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.296, allocations: 75.5 kB / 0.8463 GB, free: 12.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006875/0.2967, allocations: 402.7 kB / 0.8467 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.2967, allocations: 4 kB / 0.8467 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2967, allocations: 0 / 0.8467 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.2967, allocations: 8 kB / 0.8467 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.2982, allocations: 1.04 MB / 0.8477 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2982, allocations: 0 / 0.8477 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.2984, allocations: 27.92 kB / 0.8478 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/0.2984, allocations: 4 kB / 0.8478 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.2984, allocations: 8 kB / 0.8478 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.2984, allocations: 7.969 kB / 0.8478 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2984, allocations: 0 / 0.8478 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007102/0.2991, allocations: 488.2 kB / 0.8482 GB, free: 10.85 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.2993, allocations: 136.6 kB / 0.8484 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.522e-05/0.2994, allocations: 11.98 kB / 0.8484 GB, free: 10.68 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.2995, allocations: 12 kB / 0.8484 GB, free: 10.67 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.2997, allocations: 39.94 kB / 0.8484 GB, free: 10.63 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.2997, allocations: 16 kB / 0.8485 GB, free: 10.62 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004818/0.3002, allocations: 423 kB / 0.8489 GB, free: 10.21 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3002, allocations: 4 kB / 0.8489 GB, free: 10.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005778/0.3008, allocations: 131.7 kB / 0.849 GB, free: 10.07 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 38 (off.active,norm.active,cooDow.localActive,cooDow.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,actMod,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.localCondition,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.entryTime,timer.yAcc) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,norm.newActive,off.newActive,timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001215/0.302, allocations: 449 kB / 0.8494 GB, free: 9.789 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008422/0.3029, allocations: 398.8 kB / 0.8498 GB, free: 9.398 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3029, allocations: 0 / 0.8498 GB, free: 9.398 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000331/0.3032, allocations: 171.5 kB / 0.85 GB, free: 9.23 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005783/0.3038, allocations: 84.64 kB / 0.85 GB, free: 9.152 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.3059, allocations: 1.126 MB / 0.8511 GB, free: 7.992 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006416/0.3066, allocations: 0.9299 MB / 0.852 GB, free: 7.039 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003013/0.3069, allocations: 84.36 kB / 0.8521 GB, free: 6.953 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.307, allocations: 43.42 kB / 0.8522 GB, free: 6.91 MB / 0.67 GB Notification: Performance of SimCode: time 1.613e-06/0.3071, allocations: 4 kB / 0.8522 GB, free: 6.906 MB / 0.67 GB Notification: Performance of Templates: time 0.01507/0.3221, allocations: 5.485 MB / 0.8575 GB, free: 1.473 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)