Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.672/1.672, allocations: 288.3 MB / 303.2 MB, free: 8.113 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.001234/0.001234, allocations: 183.4 kB / 371.8 MB, free: 10.3 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.682/1.682, allocations: 205.4 MB / 0.6306 GB, free: 10.06 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.0008926/0.0008926, allocations: 98.84 kB / 0.7439 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003852, allocations: 16.77 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2293, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.00288/0.2323, allocations: 2.383 MB / 0.9817 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002187/0.2345, allocations: 1.499 MB / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002398/0.2348, allocations: 15.94 kB / 0.9832 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007816/0.2355, allocations: 270.9 kB / 0.9835 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.2359, allocations: 155.6 kB / 0.9836 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006822/0.2365, allocations: 282.8 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.237, allocations: 460.4 kB / 0.9843 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004949/0.2375, allocations: 374.1 kB / 0.9847 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.2377, allocations: 215.2 kB / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.2379, allocations: 226.9 kB / 0.9851 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.238, allocations: 20 kB / 0.9851 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.2381, allocations: 51.98 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.2383, allocations: 151.4 kB / 0.9853 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.828e-05/0.2384, allocations: 133.3 kB / 0.9855 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004251/0.2388, allocations: 0.5419 MB / 0.986 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2388, allocations: 0 / 0.986 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2388, allocations: 0 / 0.986 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.2388, allocations: 0 / 0.986 GB, free: 20.97 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001248/0.2401, allocations: 0.8848 MB / 0.9869 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.2402, allocations: 12.02 kB / 0.9869 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.2403, allocations: 94.91 kB / 0.987 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005714/0.2409, allocations: 464 kB / 0.9874 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-05/0.2409, allocations: 45.31 kB / 0.9874 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.32e-05/0.241, allocations: 52 kB / 0.9875 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007178/0.2417, allocations: 0.6091 MB / 0.9881 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.2417, allocations: 0 / 0.9881 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/0.2418, allocations: 24 kB / 0.9881 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.2418, allocations: 19.88 kB / 0.9881 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000519/0.2423, allocations: 375.6 kB / 0.9885 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.2444, allocations: 2.572 MB / 0.991 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005173/0.2449, allocations: 283 kB / 0.9913 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.962e-05/0.245, allocations: 8.578 kB / 0.9913 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003302/0.2453, allocations: 205.8 kB / 0.9915 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 2.455e-06/0.2453, allocations: 4 kB / 0.9915 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.0007306/0.2461, allocations: 462.5 kB / 0.9919 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.2461, allocations: 85.11 kB / 0.992 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004919/0.2466, allocations: 0.6207 MB / 0.9926 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.2467, allocations: 49.69 kB / 0.9927 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.2469, allocations: 356.4 kB / 0.993 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.331e-05/0.2469, allocations: 106.7 kB / 0.9931 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.247, allocations: 12 kB / 0.9931 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.165e-05/0.2471, allocations: 382.8 kB / 0.9935 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.2473, allocations: 125.2 kB / 0.9936 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.2475, allocations: 333.5 kB / 0.9939 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.2478, allocations: 144.8 kB / 0.994 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.2478, allocations: 4 kB / 0.9941 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0006538/0.2484, allocations: 0.5104 MB / 0.9945 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.2485, allocations: 4.781 kB / 0.9946 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.2485, allocations: 8 kB / 0.9946 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.2485, allocations: 12 kB / 0.9946 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.2487, allocations: 79.77 kB / 0.9946 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.2488, allocations: 11.95 kB / 0.9947 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.249, allocations: 59.44 kB / 0.9947 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.249, allocations: 27.98 kB / 0.9947 GB, free: 11.57 MB / 0.6198 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,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition2,$whenCondition3,$whenCondition4,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.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.passed,timer.passed,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002516/0.2493, allocations: 270.8 kB / 0.995 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.763e-05/0.2493, allocations: 63.25 kB / 0.9951 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005628/0.2499, allocations: 403.4 kB / 0.9954 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.2499, allocations: 4 kB / 0.9955 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2499, allocations: 3.938 kB / 0.9955 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.25, allocations: 3.953 kB / 0.9955 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.2511, allocations: 1.047 MB / 0.9965 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.2511, allocations: 0 / 0.9965 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.821e-05/0.2512, allocations: 27.92 kB / 0.9965 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.2512, allocations: 7.938 kB / 0.9965 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.2513, allocations: 8 kB / 0.9965 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2513, allocations: 0 / 0.9965 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2513, allocations: 3.938 kB / 0.9965 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.2519, allocations: 483.2 kB / 0.997 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-05/0.252, allocations: 136.2 kB / 0.9971 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.446e-05/0.252, allocations: 15.94 kB / 0.9971 GB, free: 9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.2522, allocations: 16 kB / 0.9971 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.2523, allocations: 43.92 kB / 0.9972 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.2523, allocations: 19.98 kB / 0.9972 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003331/0.2527, allocations: 407 kB / 0.9976 GB, free: 8.531 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2527, allocations: 0 / 0.9976 GB, free: 8.531 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004728/0.2532, allocations: 135.7 kB / 0.9977 GB, free: 8.398 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: 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 (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.0009504/0.2541, allocations: 450.9 kB / 0.9982 GB, free: 8.109 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000577/0.2547, allocations: 379.1 kB / 0.9985 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.2547, allocations: 0 / 0.9985 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.2549, allocations: 179.7 kB / 0.9987 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.2554, allocations: 78.64 kB / 0.9988 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.2569, allocations: 1.255 MB / 1 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.2572, allocations: 0.9574 MB / 1.001 GB, free: 5.219 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002208/0.2574, allocations: 76.34 kB / 1.001 GB, free: 5.145 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.2575, allocations: 47.42 kB / 1.001 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.2575, allocations: 0 / 1.001 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of Templates: time 0.009413/0.267, allocations: 4.954 MB / 1.006 GB, free: 180 kB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)