Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.771/2.771, allocations: 287.9 MB / 302.9 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00141/0.00141, allocations: 173.2 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.171/2.171, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 96.47 kB / 0.7434 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004866/0.0004868, allocations: 20.47 kB / 0.8662 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1587, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.003059/0.1618, allocations: 2.394 MB / 0.9811 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002586/0.1644, allocations: 1.491 MB / 0.9825 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004318/0.1649, allocations: 7.938 kB / 0.9826 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009141/0.1658, allocations: 282.9 kB / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004959/0.1663, allocations: 155.6 kB / 0.983 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009128/0.1673, allocations: 277.8 kB / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006208/0.1679, allocations: 456.4 kB / 0.9837 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004947/0.1684, allocations: 378.1 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.1687, allocations: 207.2 kB / 0.9842 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.1689, allocations: 230.9 kB / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.23e-05/0.169, allocations: 20 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.1692, allocations: 55.92 kB / 0.9845 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.1694, allocations: 155.5 kB / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.1695, allocations: 141.3 kB / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005442/0.1701, allocations: 0.5341 MB / 0.9853 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.141e-06/0.1701, allocations: 4 kB / 0.9853 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.36e-06/0.1701, allocations: 0 / 0.9853 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.1701, allocations: 0 / 0.9853 GB, free: 21.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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001195/0.1713, allocations: 0.8808 MB / 0.9862 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1714, allocations: 12.02 kB / 0.9862 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.1715, allocations: 90.92 kB / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000679/0.1722, allocations: 460 kB / 0.9867 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.209e-05/0.1723, allocations: 49.3 kB / 0.9868 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.401e-05/0.1724, allocations: 56 kB / 0.9868 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.1734, allocations: 0.5935 MB / 0.9874 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.1735, allocations: 7.938 kB / 0.9874 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.596e-05/0.1735, allocations: 20 kB / 0.9874 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.1736, allocations: 16 kB / 0.9874 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.1751, allocations: 379.6 kB / 0.9878 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004688/0.1798, allocations: 2.584 MB / 0.9903 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.1809, allocations: 284.8 kB / 0.9906 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.171e-05/0.181, allocations: 8.594 kB / 0.9906 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000704/0.1817, allocations: 213.7 kB / 0.9908 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 6.994e-06/0.1818, allocations: 0 / 0.9908 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.001684/0.1835, allocations: 454.5 kB / 0.9913 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.1835, allocations: 81.11 kB / 0.9913 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.1849, allocations: 0.6285 MB / 0.9919 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.1851, allocations: 49.7 kB / 0.992 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004547/0.1855, allocations: 356.4 kB / 0.9923 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.1857, allocations: 102.7 kB / 0.9924 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.505e-05/0.1858, allocations: 8 kB / 0.9924 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.186, allocations: 378.8 kB / 0.9928 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005832/0.1866, allocations: 133.2 kB / 0.9929 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007008/0.1873, allocations: 331.6 kB / 0.9932 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005832/0.1879, allocations: 148.7 kB / 0.9934 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.716e-06/0.188, allocations: 0 / 0.9934 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001798/0.1898, allocations: 0.507 MB / 0.9939 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.1898, allocations: 11.94 kB / 0.9939 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.1899, allocations: 4 kB / 0.9939 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.92e-05/0.1899, allocations: 19.94 kB / 0.9939 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/0.1905, allocations: 71.78 kB / 0.994 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.788e-05/0.1905, allocations: 11.98 kB / 0.994 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007151/0.1912, allocations: 59.77 kB / 0.994 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.061e-05/0.1914, allocations: 36 kB / 0.9941 GB, free: 12.03 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.0006753/0.1921, allocations: 268.1 kB / 0.9943 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.1923, allocations: 59.25 kB / 0.9944 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.1938, allocations: 391.4 kB / 0.9948 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.1938, allocations: 4 kB / 0.9948 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.1939, allocations: 11.89 kB / 0.9948 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.1939, allocations: 3.984 kB / 0.9948 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003126/0.197, allocations: 1.055 MB / 0.9958 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/0.1971, allocations: 0 / 0.9958 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.1973, allocations: 35.88 kB / 0.9959 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/0.1974, allocations: 4 kB / 0.9959 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-05/0.1975, allocations: 11.98 kB / 0.9959 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/0.1975, allocations: 4 kB / 0.9959 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.1975, allocations: 0 / 0.9959 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.1989, allocations: 470.9 kB / 0.9963 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.1991, allocations: 144.2 kB / 0.9965 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.1993, allocations: 11.95 kB / 0.9965 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/0.1998, allocations: 19.98 kB / 0.9965 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/0.2, allocations: 47.92 kB / 0.9965 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.884e-05/0.2001, allocations: 12 kB / 0.9965 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009097/0.201, allocations: 411 kB / 0.9969 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.348e-06/0.2011, allocations: 0 / 0.9969 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001268/0.2023, allocations: 127.7 kB / 0.9971 GB, free: 8.867 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.002315/0.2047, allocations: 450.8 kB / 0.9975 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001471/0.2062, allocations: 379.5 kB / 0.9978 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.854e-06/0.2062, allocations: 0 / 0.9978 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006468/0.2069, allocations: 175.8 kB / 0.998 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.2079, allocations: 82.16 kB / 0.9981 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.21, allocations: 1.261 MB / 0.9993 GB, free: 6.668 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.2104, allocations: 0.9535 MB / 1 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003516/0.2108, allocations: 80.33 kB / 1 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.211, allocations: 47.42 kB / 1 GB, free: 5.562 MB / 0.6198 GB Notification: Performance of SimCode: time 2.056e-06/0.211, allocations: 0 / 1 GB, free: 5.562 MB / 0.6198 GB Notification: Performance of Templates: time 0.01514/0.2261, allocations: 4.941 MB / 1.005 GB, free: 0.6641 MB / 0.6198 GB