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.908/1.908, allocations: 288.4 MB / 303.7 MB, free: 8.141 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.00112/0.00112, allocations: 180.5 kB / 372.3 MB, free: 10.1 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.642/1.642, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.0006915/0.0006915, allocations: 82.31 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003893, allocations: 20.78 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.223, allocations: 115.3 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.002835/0.2259, allocations: 2.417 MB / 0.9825 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002/0.2279, allocations: 1.514 MB / 0.984 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.2281, allocations: 11.94 kB / 0.984 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007303/0.2289, allocations: 282.8 kB / 0.9843 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.2292, allocations: 155.3 kB / 0.9844 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000607/0.2298, allocations: 274.8 kB / 0.9847 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000468/0.2303, allocations: 0.6402 MB / 0.9853 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004158/0.2307, allocations: 419 kB / 0.9857 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.2309, allocations: 211.1 kB / 0.9859 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.2311, allocations: 230.9 kB / 0.9861 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.2312, allocations: 24 kB / 0.9861 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.2313, allocations: 67.91 kB / 0.9862 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.2315, allocations: 147.5 kB / 0.9863 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.2316, allocations: 295.9 kB / 0.9866 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.232, allocations: 0.5261 MB / 0.9871 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.232, allocations: 4 kB / 0.9871 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.232, allocations: 0 / 0.9871 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.232, allocations: 3.938 kB / 0.9871 GB, free: 20.11 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.001019/0.2331, allocations: 0.8732 MB / 0.988 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2331, allocations: 8.031 kB / 0.988 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.2332, allocations: 95.89 kB / 0.9881 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.2337, allocations: 484.8 kB / 0.9886 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/0.2338, allocations: 41.69 kB / 0.9886 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.947e-05/0.2338, allocations: 64.06 kB / 0.9887 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007092/0.2345, allocations: 0.6013 MB / 0.9892 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.2346, allocations: 7.938 kB / 0.9893 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.715e-05/0.2346, allocations: 20 kB / 0.9893 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.2346, allocations: 19.98 kB / 0.9893 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005446/0.2352, allocations: 379.5 kB / 0.9897 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.2372, allocations: 2.568 MB / 0.9922 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005292/0.2378, allocations: 280.7 kB / 0.9924 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.238, allocations: 144.7 kB / 0.9926 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.34e-05/0.238, allocations: 4 kB / 0.9926 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003454/0.2384, allocations: 213.8 kB / 0.9928 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 2.235e-06/0.2384, allocations: 0 / 0.9928 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.0007341/0.2391, allocations: 458.4 kB / 0.9932 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.2392, allocations: 89.09 kB / 0.9933 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/0.2397, allocations: 0.6208 MB / 0.9939 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.2398, allocations: 45.64 kB / 0.9939 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.24, allocations: 364.3 kB / 0.9943 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.926e-05/0.24, allocations: 106.7 kB / 0.9944 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-05/0.24, allocations: 8 kB / 0.9944 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.2401, allocations: 386.7 kB / 0.9948 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.2404, allocations: 129.2 kB / 0.9949 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.2406, allocations: 333.5 kB / 0.9952 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004063/0.241, allocations: 409 kB / 0.9956 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2411, allocations: 0 / 0.9956 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0006328/0.2417, allocations: 0.5112 MB / 0.9961 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.2417, allocations: 8 kB / 0.9961 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.2417, allocations: 8 kB / 0.9961 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.2418, allocations: 15.94 kB / 0.9961 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.242, allocations: 67.84 kB / 0.9962 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.242, allocations: 15.92 kB / 0.9962 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.2422, allocations: 55.53 kB / 0.9963 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.2423, allocations: 31.98 kB / 0.9963 GB, free: 10.21 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.0002829/0.2426, allocations: 274.8 kB / 0.9966 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.2426, allocations: 63.16 kB / 0.9966 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005854/0.2432, allocations: 407.3 kB / 0.997 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.2432, allocations: 4 kB / 0.997 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2433, allocations: 3.984 kB / 0.997 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2433, allocations: 0 / 0.997 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.2444, allocations: 1.047 MB / 0.998 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2444, allocations: 0 / 0.998 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-05/0.2445, allocations: 23.92 kB / 0.9981 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2445, allocations: 4 kB / 0.9981 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.2445, allocations: 15.98 kB / 0.9981 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2445, allocations: 0 / 0.9981 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2446, allocations: 0 / 0.9981 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.245, allocations: 487 kB / 0.9985 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.898e-05/0.2451, allocations: 136.3 kB / 0.9987 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.231e-05/0.2452, allocations: 15.98 kB / 0.9987 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.2453, allocations: 12 kB / 0.9987 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.2454, allocations: 47.92 kB / 0.9987 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.2455, allocations: 15.98 kB / 0.9988 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003254/0.2458, allocations: 411 kB / 0.9992 GB, free: 7.168 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2458, allocations: 0 / 0.9992 GB, free: 7.168 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004191/0.2462, allocations: 143.6 kB / 0.9993 GB, free: 7.027 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.0009298/0.2472, allocations: 450.5 kB / 0.9997 GB, free: 6.746 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005398/0.2477, allocations: 375.1 kB / 1 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2477, allocations: 0 / 1 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.248, allocations: 175.8 kB / 1 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.2485, allocations: 92.17 kB / 1 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.2498, allocations: 1.267 MB / 1.002 GB, free: 4.824 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.2502, allocations: 0.9302 MB / 1.002 GB, free: 3.871 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002152/0.2504, allocations: 84.34 kB / 1.003 GB, free: 3.789 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.706e-05/0.2505, allocations: 47.36 kB / 1.003 GB, free: 3.742 MB / 0.6198 GB Notification: Performance of SimCode: time 7.12e-07/0.2505, allocations: 0 / 1.003 GB, free: 3.742 MB / 0.6198 GB Notification: Performance of Templates: time 0.009429/0.2599, allocations: 5.007 MB / 1.007 GB, free: 14.77 MB / 0.6355 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)