Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.301/2.301, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001524/0.001524, allocations: 174.3 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.62/2.62, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 104.5 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004779, allocations: 12.75 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2067, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.003673/0.2104, allocations: 2.478 MB / 0.9013 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003141/0.2136, allocations: 1.511 MB / 0.9028 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004328/0.2141, allocations: 11.94 kB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.2152, allocations: 270.9 kB / 0.9031 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005803/0.2158, allocations: 167.6 kB / 0.9032 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.2169, allocations: 278.4 kB / 0.9035 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008394/0.2178, allocations: 468.5 kB / 0.9039 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000646/0.2184, allocations: 389.9 kB / 0.9043 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/0.2188, allocations: 211.2 kB / 0.9045 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003084/0.2191, allocations: 226.9 kB / 0.9047 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.44e-05/0.2192, allocations: 20 kB / 0.9047 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.2194, allocations: 55.97 kB / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.2196, allocations: 159.4 kB / 0.9049 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.2198, allocations: 133.3 kB / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007009/0.2205, allocations: 0.5458 MB / 0.9056 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2205, allocations: 0 / 0.9056 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2205, allocations: 3.938 kB / 0.9056 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.2205, allocations: 0 / 0.9056 GB, free: 58.57 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.001538/0.2221, allocations: 0.8886 MB / 0.9065 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.2221, allocations: 8.031 kB / 0.9065 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.2223, allocations: 94.92 kB / 0.9066 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008329/0.2232, allocations: 460 kB / 0.907 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.2233, allocations: 79 kB / 0.9071 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.99e-05/0.2234, allocations: 60 kB / 0.9071 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.2247, allocations: 0.5974 MB / 0.9077 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.2248, allocations: 3.938 kB / 0.9077 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-05/0.2249, allocations: 24 kB / 0.9077 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.2249, allocations: 19.95 kB / 0.9078 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009643/0.2259, allocations: 375.6 kB / 0.9081 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003126/0.229, allocations: 2.572 MB / 0.9106 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008567/0.2299, allocations: 284 kB / 0.9109 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.805e-05/0.23, allocations: 11.95 kB / 0.9109 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005109/0.2305, allocations: 207.1 kB / 0.9111 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 4.298e-06/0.2305, allocations: 0 / 0.9111 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.001226/0.2318, allocations: 441.9 kB / 0.9115 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.2319, allocations: 85.09 kB / 0.9116 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000938/0.2328, allocations: 0.6246 MB / 0.9122 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.325e-05/0.2329, allocations: 53.69 kB / 0.9123 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/0.2333, allocations: 368.2 kB / 0.9126 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.2334, allocations: 102.8 kB / 0.9127 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.2335, allocations: 8 kB / 0.9127 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.2336, allocations: 382.8 kB / 0.9131 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.234, allocations: 133.2 kB / 0.9132 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004951/0.2345, allocations: 343.8 kB / 0.9136 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.235, allocations: 148.7 kB / 0.9137 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.235, allocations: 4 kB / 0.9137 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001266/0.2363, allocations: 0.5262 MB / 0.9142 GB, free: 49.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.2363, allocations: 8 kB / 0.9142 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.2363, allocations: 4 kB / 0.9142 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.01e-05/0.2364, allocations: 12 kB / 0.9142 GB, free: 49.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/0.2368, allocations: 67.84 kB / 0.9143 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.049e-05/0.2368, allocations: 20.48 kB / 0.9143 GB, free: 49.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/0.2373, allocations: 67.38 kB / 0.9144 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.744e-05/0.2373, allocations: 24 kB / 0.9144 GB, free: 49.08 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.0004626/0.2378, allocations: 266.8 kB / 0.9147 GB, free: 48.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.2379, allocations: 67.2 kB / 0.9147 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.239, allocations: 402.7 kB / 0.9151 GB, free: 48.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.944e-06/0.239, allocations: 4 kB / 0.9151 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.239, allocations: 7.938 kB / 0.9151 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.239, allocations: 7.969 kB / 0.9151 GB, free: 48.33 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.241, allocations: 1.028 MB / 0.9161 GB, free: 47.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.2411, allocations: 0 / 0.9161 GB, free: 47.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.2413, allocations: 23.92 kB / 0.9162 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/0.2413, allocations: 7.938 kB / 0.9162 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.2413, allocations: 19.98 kB / 0.9162 GB, free: 47.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-06/0.2413, allocations: 0 / 0.9162 GB, free: 47.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2414, allocations: 0 / 0.9162 GB, free: 47.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008657/0.2422, allocations: 474.1 kB / 0.9166 GB, free: 46.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.2424, allocations: 144.2 kB / 0.9168 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-05/0.2425, allocations: 8 kB / 0.9168 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.2428, allocations: 15.98 kB / 0.9168 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.243, allocations: 51.67 kB / 0.9168 GB, free: 46.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.433e-05/0.243, allocations: 16 kB / 0.9169 GB, free: 46.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006051/0.2436, allocations: 411 kB / 0.9173 GB, free: 46.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.91e-07/0.2437, allocations: 0 / 0.9173 GB, free: 46.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007386/0.2444, allocations: 135.6 kB / 0.9174 GB, free: 45.93 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.00127/0.2457, allocations: 447.5 kB / 0.9178 GB, free: 45.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.2468, allocations: 379.5 kB / 0.9182 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.2468, allocations: 3.938 kB / 0.9182 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003843/0.2472, allocations: 171.9 kB / 0.9183 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007169/0.2479, allocations: 94.36 kB / 0.9184 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.2503, allocations: 1.266 MB / 0.9197 GB, free: 43.72 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.2508, allocations: 0.9457 MB / 0.9206 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000429/0.2512, allocations: 88.34 kB / 0.9207 GB, free: 42.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.2514, allocations: 43.42 kB / 0.9207 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of SimCode: time 1.173e-06/0.2514, allocations: 0 / 0.9207 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.01669/0.2681, allocations: 4.944 MB / 0.9255 GB, free: 37.71 MB / 0.6042 GB