Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001279/0.001287, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001323/0.001324, allocations: 192.3 kB / 16.25 MB, free: 6.617 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.773/1.773, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.714/1.714, allocations: 292.2 MB / 0.5485 GB, free: 13.61 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.001458/0.001458, allocations: 66.56 kB / 0.671 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2555, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.00453/0.2601, allocations: 2.887 MB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002482/0.2626, allocations: 1.585 MB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003109/0.2629, allocations: 15.94 kB / 0.7872 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009694/0.264, allocations: 291.6 kB / 0.7875 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004744/0.2644, allocations: 159.3 kB / 0.7877 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007889/0.2652, allocations: 319 kB / 0.788 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007904/0.266, allocations: 0.7184 MB / 0.7887 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006331/0.2667, allocations: 475.5 kB / 0.7891 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003441/0.267, allocations: 263 kB / 0.7894 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003972/0.2674, allocations: 282.6 kB / 0.7896 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.2676, allocations: 52 kB / 0.7897 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002595/0.2679, allocations: 107.9 kB / 0.7898 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.2681, allocations: 211.3 kB / 0.79 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003456/0.2685, allocations: 318 kB / 0.7903 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009159/0.2694, allocations: 0.7551 MB / 0.791 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2694, allocations: 0 / 0.791 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2694, allocations: 0 / 0.791 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.739e-05/0.2694, allocations: 0 / 0.791 GB, free: 5.461 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001789/0.2712, allocations: 1.027 MB / 0.792 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.2713, allocations: 8.031 kB / 0.792 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.2715, allocations: 87.91 kB / 0.7921 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006306/0.2721, allocations: 488.8 kB / 0.7926 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.2722, allocations: 45.69 kB / 0.7926 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.94e-05/0.2722, allocations: 60.12 kB / 0.7927 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009168/0.2732, allocations: 0.6091 MB / 0.7933 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.2732, allocations: 3.938 kB / 0.7933 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.335e-05/0.2733, allocations: 27.98 kB / 0.7933 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.2733, allocations: 16 kB / 0.7933 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006059/0.2739, allocations: 367.6 kB / 0.7937 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.2765, allocations: 2.572 MB / 0.7962 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005711/0.2771, allocations: 283.7 kB / 0.7965 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.2774, allocations: 144.7 kB / 0.7966 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/0.2774, allocations: 11.94 kB / 0.7966 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003689/0.2778, allocations: 205.8 kB / 0.7968 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 2.094e-06/0.2778, allocations: 0 / 0.7968 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.0008651/0.2787, allocations: 457.5 kB / 0.7973 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.221e-05/0.2788, allocations: 89.05 kB / 0.7973 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007427/0.2795, allocations: 0.6363 MB / 0.798 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/0.2796, allocations: 41.7 kB / 0.798 GB, free: 14 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.2799, allocations: 372.3 kB / 0.7984 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.467e-05/0.28, allocations: 94.83 kB / 0.7984 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.2802, allocations: 150.2 kB / 0.7986 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.2804, allocations: 374.8 kB / 0.7989 GB, free: 13 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.2807, allocations: 129.2 kB / 0.7991 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/0.2811, allocations: 342.9 kB / 0.7994 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005613/0.2817, allocations: 409 kB / 0.7998 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.2817, allocations: 0 / 0.7998 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008586/0.2825, allocations: 0.5182 MB / 0.8003 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.2826, allocations: 8 kB / 0.8003 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.2826, allocations: 4 kB / 0.8003 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.2826, allocations: 16.69 kB / 0.8003 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.2829, allocations: 71.83 kB / 0.8004 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.2829, allocations: 15.94 kB / 0.8004 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.2831, allocations: 59.42 kB / 0.8005 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/0.2832, allocations: 24 kB / 0.8005 GB, free: 11.26 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.enableFire,timer.entryTime,$PRE.timer.entryTime,timer.passed,$PRE.timer.passed,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,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,$whenCondition4,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0002925/0.2835, allocations: 259.5 kB / 0.8007 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.505e-05/0.2836, allocations: 71.22 kB / 0.8008 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007013/0.2843, allocations: 415.3 kB / 0.8012 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2843, allocations: 4 kB / 0.8012 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2843, allocations: 0 / 0.8012 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.2843, allocations: 0 / 0.8012 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.2858, allocations: 1.055 MB / 0.8022 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2858, allocations: 0 / 0.8022 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.2859, allocations: 27.92 kB / 0.8023 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2859, allocations: 4 kB / 0.8023 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.2859, allocations: 8 kB / 0.8023 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2859, allocations: 0 / 0.8023 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2859, allocations: 0 / 0.8023 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006228/0.2866, allocations: 487.1 kB / 0.8027 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.2867, allocations: 132.2 kB / 0.8029 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.986e-05/0.2868, allocations: 15.98 kB / 0.8029 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.2869, allocations: 16 kB / 0.8029 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.2871, allocations: 47.88 kB / 0.8029 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.2871, allocations: 15.98 kB / 0.8029 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004625/0.2876, allocations: 415 kB / 0.8033 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2876, allocations: 0 / 0.8033 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00052/0.2881, allocations: 127.6 kB / 0.8035 GB, free: 8.094 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: 37 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$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.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.passed,timer.entryTime) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * 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.00104/0.2891, allocations: 444.7 kB / 0.8039 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008248/0.29, allocations: 419.4 kB / 0.8043 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.29, allocations: 0 / 0.8043 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.2903, allocations: 175.8 kB / 0.8045 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005597/0.2908, allocations: 106.6 kB / 0.8046 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.2927, allocations: 1.318 MB / 0.8058 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.2932, allocations: 0.9299 MB / 0.8068 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002305/0.2935, allocations: 80.27 kB / 0.8068 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.2936, allocations: 51.42 kB / 0.8069 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.2936, allocations: 0 / 0.8069 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of Templates: time 0.01203/0.3056, allocations: 5.357 MB / 0.8121 GB, free: 15.38 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)