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/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.422/1.422, allocations: 252 MB / 267.6 MB, free: 10.89 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 176.1 kB / 327.3 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.4 MB / 0.5783 GB, free: 20.42 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007758/0.0007758, allocations: 89.09 kB / 0.6829 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004717, allocations: 10.97 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2247, allocations: 106.3 MB / 0.9008 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.003014/0.2278, allocations: 2.505 MB / 0.9033 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002058/0.2299, allocations: 1.546 MB / 0.9048 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.2302, allocations: 11.94 kB / 0.9048 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007405/0.2309, allocations: 274.8 kB / 0.9051 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.2313, allocations: 159.3 kB / 0.9052 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000681/0.232, allocations: 276.3 kB / 0.9055 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004896/0.2325, allocations: 0.656 MB / 0.9061 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004363/0.2329, allocations: 381.9 kB / 0.9065 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.2331, allocations: 215.1 kB / 0.9067 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.2333, allocations: 230.9 kB / 0.9069 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/0.2334, allocations: 24 kB / 0.9069 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.2335, allocations: 59.95 kB / 0.907 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.2337, allocations: 155.4 kB / 0.9071 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.228e-05/0.2338, allocations: 149.2 kB / 0.9073 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.2341, allocations: 0.5342 MB / 0.9078 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2342, allocations: 0 / 0.9078 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2342, allocations: 0 / 0.9078 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.2342, allocations: 0 / 0.9078 GB, free: 57.02 MB / 0.6042 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.001052/0.2352, allocations: 0.8847 MB / 0.9087 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.2353, allocations: 8.031 kB / 0.9087 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.2354, allocations: 98.86 kB / 0.9088 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004902/0.2359, allocations: 468 kB / 0.9092 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.128e-05/0.236, allocations: 79 kB / 0.9093 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.648e-05/0.236, allocations: 52 kB / 0.9093 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007916/0.2368, allocations: 0.6091 MB / 0.9099 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.2369, allocations: 0 / 0.9099 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/0.2369, allocations: 20 kB / 0.91 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.2369, allocations: 20 kB / 0.91 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005427/0.2375, allocations: 383.5 kB / 0.9103 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.2392, allocations: 2.576 MB / 0.9129 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005057/0.2398, allocations: 274.9 kB / 0.9131 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.24, allocations: 140.7 kB / 0.9133 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.24, allocations: 4 kB / 0.9133 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003109/0.2403, allocations: 214.5 kB / 0.9135 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 2.054e-06/0.2403, allocations: 0 / 0.9135 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0006964/0.241, allocations: 437.9 kB / 0.9139 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.2411, allocations: 89.11 kB / 0.914 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004858/0.2416, allocations: 0.6286 MB / 0.9146 GB, free: 49.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.2416, allocations: 45.7 kB / 0.9146 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.2418, allocations: 368.2 kB / 0.915 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.2419, allocations: 98.8 kB / 0.9151 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.2419, allocations: 12 kB / 0.9151 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.242, allocations: 382.8 kB / 0.9154 GB, free: 48.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.2422, allocations: 129.2 kB / 0.9156 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.2425, allocations: 343.8 kB / 0.9159 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.2428, allocations: 148.8 kB / 0.916 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.2428, allocations: 0 / 0.916 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0006559/0.2434, allocations: 0.5299 MB / 0.9166 GB, free: 47.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.2435, allocations: 14.92 kB / 0.9166 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.2435, allocations: 4 kB / 0.9166 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.2435, allocations: 12.75 kB / 0.9166 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.2437, allocations: 79.77 kB / 0.9167 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.2438, allocations: 15.94 kB / 0.9167 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.244, allocations: 67.36 kB / 0.9167 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.244, allocations: 28 kB / 0.9168 GB, free: 47.39 MB / 0.6042 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,$PRE.timer.yAcc,timer.yAcc,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition4,$whenCondition2,$whenCondition3,actMod,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,and1.y,$PRE.cooDow.localActive,cooDow.localActive,cooDow.inPort[2].occupied,cooDow.outPort[2].available,$PRE.cooDow.newActive,cooDow.newActive,$PRE.cooDow.oldActive,cooDow.oldActive,cooDow.active,norm.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.localCondition,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.active,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,transition3.enableFire,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire,$PRE.timer.reset_internal,timer.reset_internal) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002431/0.2443, allocations: 262.8 kB / 0.917 GB, free: 47.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/0.2443, allocations: 67.17 kB / 0.9171 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005912/0.2449, allocations: 414.6 kB / 0.9175 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2449, allocations: 4 kB / 0.9175 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.245, allocations: 0 / 0.9175 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.245, allocations: 0 / 0.9175 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.246, allocations: 1.039 MB / 0.9185 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2461, allocations: 0 / 0.9185 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.731e-05/0.2462, allocations: 27.92 kB / 0.9185 GB, free: 45.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.2462, allocations: 0 / 0.9185 GB, free: 45.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.2462, allocations: 15.98 kB / 0.9185 GB, free: 45.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2462, allocations: 3.984 kB / 0.9185 GB, free: 45.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2462, allocations: 0 / 0.9185 GB, free: 45.49 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.2467, allocations: 478.5 kB / 0.919 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/0.2468, allocations: 136.2 kB / 0.9191 GB, free: 44.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/0.2468, allocations: 12 kB / 0.9191 GB, free: 44.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.247, allocations: 19.98 kB / 0.9192 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.2471, allocations: 47.69 kB / 0.9192 GB, free: 44.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.2471, allocations: 19.98 kB / 0.9192 GB, free: 44.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003198/0.2475, allocations: 407 kB / 0.9196 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2475, allocations: 0 / 0.9196 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004401/0.2479, allocations: 131.6 kB / 0.9197 GB, free: 44.23 MB / 0.6042 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.active,cooDow.localActive,$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 (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.0009164/0.2488, allocations: 451.1 kB / 0.9202 GB, free: 43.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005621/0.2494, allocations: 379.2 kB / 0.9205 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2494, allocations: 0 / 0.9205 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.2496, allocations: 168.5 kB / 0.9207 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/0.2502, allocations: 95.73 kB / 0.9208 GB, free: 43.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.2517, allocations: 1.311 MB / 0.9221 GB, free: 41.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.252, allocations: 0.9379 MB / 0.923 GB, free: 41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.2521, allocations: 47.42 kB / 0.923 GB, free: 40.96 MB / 0.6042 GB Notification: Performance of SimCode: time 7.41e-07/0.2521, allocations: 0 / 0.923 GB, free: 40.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.008647/0.2608, allocations: 7.778 MB / 0.9306 GB, free: 33.2 MB / 0.6042 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)