Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000867/0.000867, allocations: 88.8 kB / 21.63 MB, free: 2.828 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009328/0.0009328, allocations: 171.8 kB / 25.04 MB, free: 8.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9364/0.9364, allocations: 177.2 MB / 205.5 MB, free: 4.426 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.901/1.901, allocations: 389.6 MB / 0.6363 GB, free: 13.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.7762 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.548e-05, allocations: 10.25 kB / 0.7762 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.003151/0.003167, allocations: 2.843 MB / 0.779 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002304/0.00547, allocations: 1.813 MB / 0.7807 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.005638, allocations: 11.94 kB / 0.7807 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007451/0.006383, allocations: 306.8 kB / 0.781 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.006696, allocations: 246.5 kB / 0.7813 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.007128, allocations: 355 kB / 0.7816 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006366/0.007764, allocations: 0.7535 MB / 0.7823 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005049/0.008269, allocations: 382.9 kB / 0.7827 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004608/0.00873, allocations: 379.2 kB / 0.7831 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/0.009044, allocations: 215.3 kB / 0.7833 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.528e-05/0.009099, allocations: 52 kB / 0.7833 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.00926, allocations: 107.9 kB / 0.7834 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.00938, allocations: 207.3 kB / 0.7836 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.009509, allocations: 191.4 kB / 0.7838 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004715/0.009981, allocations: 0.5835 MB / 0.7844 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.009983, allocations: 0 / 0.7844 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.72e-07/0.009984, allocations: 0 / 0.7844 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.009989, allocations: 3.938 kB / 0.7844 GB, free: 5.316 MB / 0.7448 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.0007712/0.01076, allocations: 0.9569 MB / 0.7853 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.01079, allocations: 12.03 kB / 0.7853 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002552/0.01105, allocations: 120.8 kB / 0.7854 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.0114, allocations: 361.5 kB / 0.7858 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.01144, allocations: 45.69 kB / 0.7858 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.01148, allocations: 60.36 kB / 0.7859 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.01188, allocations: 498.6 kB / 0.7864 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.0119, allocations: 0 / 0.7864 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.01192, allocations: 24 kB / 0.7864 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.01193, allocations: 12 kB / 0.7864 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.01211, allocations: 169.5 kB / 0.7866 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.01335, allocations: 2.045 MB / 0.7886 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.01362, allocations: 312.8 kB / 0.7889 GB, free: 484 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.604e-05/0.0137, allocations: 89.14 kB / 0.7889 GB, free: 376 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.01372, allocations: 15.92 kB / 0.789 GB, free: 360 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.01393, allocations: 239.9 kB / 0.7892 GB, free: 84 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=44): time 1.373e-06/0.01393, allocations: 0 / 0.7892 GB, free: 84 kB / 0.7448 GB Notification: Performance of matching and sorting (n=44): time 0.0002985/0.01423, allocations: 276.3 kB / 0.7894 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.0143, allocations: 199.8 kB / 0.7896 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.01459, allocations: 0.5223 MB / 0.7902 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.01462, allocations: 49.69 kB / 0.7902 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.01476, allocations: 274.3 kB / 0.7905 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.406e-05/0.01482, allocations: 115.1 kB / 0.7906 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.01493, allocations: 158.1 kB / 0.7907 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.01504, allocations: 382.6 kB / 0.7911 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.526e-05/0.0151, allocations: 64.05 kB / 0.7911 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.01526, allocations: 283.8 kB / 0.7914 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.01551, allocations: 363.5 kB / 0.7918 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.01552, allocations: 7.938 kB / 0.7918 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0003082/0.01583, allocations: 357.5 kB / 0.7921 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.01584, allocations: 15.59 kB / 0.7921 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.01585, allocations: 4 kB / 0.7921 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.01586, allocations: 12 kB / 0.7921 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.01603, allocations: 87.77 kB / 0.7922 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.01604, allocations: 12 kB / 0.7922 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.01616, allocations: 55.62 kB / 0.7923 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.01618, allocations: 23.98 kB / 0.7923 GB, free: 12.62 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition2.t_start,$PRE.transition2.t_start,transition1.t_start,$PRE.transition1.t_start,transition4.t_start,$PRE.transition4.t_start,transition3.t_start,$PRE.transition3.t_start,transition5.t_start,$PRE.transition5.t_start,transition5.enableFire,timer.entryTime,$PRE.timer.entryTime,timer.passed,$PRE.timer.passed,transition3.enableFire,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.localActive,$PRE.off.localActive,off.active,transition4.enableFire,transition1.enableFire,transition2.enableFire,stateGraphRoot.activeSteps,norm.oldActive,$PRE.norm.oldActive,norm.newActive,$PRE.norm.newActive,norm.outPort[2].available,norm.inPort[2].occupied,norm.localActive,$PRE.norm.localActive,norm.active,cooDow.active,cooDow.oldActive,$PRE.cooDow.oldActive,cooDow.newActive,$PRE.cooDow.newActive,cooDow.outPort[2].available,cooDow.inPort[2].occupied,cooDow.localActive,$PRE.cooDow.localActive,and1.y,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,actMod,$whenCondition4,$whenCondition3,$whenCondition2,stateGraphRoot.suspend,stateGraphRoot.resume,transition5.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001374/0.01631, allocations: 188.3 kB / 0.7925 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.01636, allocations: 59.94 kB / 0.7926 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.01657, allocations: 215.4 kB / 0.7928 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.01657, allocations: 8 kB / 0.7928 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.01658, allocations: 0 / 0.7928 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.01658, allocations: 3.984 kB / 0.7928 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005615/0.01714, allocations: 0.6196 MB / 0.7934 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.01715, allocations: 3.984 kB / 0.7934 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.349e-05/0.01721, allocations: 31.92 kB / 0.7934 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.01721, allocations: 4 kB / 0.7934 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.01723, allocations: 12 kB / 0.7934 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.01723, allocations: 4 kB / 0.7934 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01723, allocations: 0 / 0.7934 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.01747, allocations: 398.7 kB / 0.7938 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.01751, allocations: 63.52 kB / 0.7939 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.01754, allocations: 15.98 kB / 0.7939 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.01762, allocations: 15.98 kB / 0.7939 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-05/0.01769, allocations: 35.88 kB / 0.7939 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.01771, allocations: 15.98 kB / 0.7939 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001368/0.01785, allocations: 216.3 kB / 0.7942 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01785, allocations: 0 / 0.7942 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002775/0.01812, allocations: 139.7 kB / 0.7943 GB, free: 10.52 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 37 (transition5.t_start,transition3.t_start,transition4.t_start,transition1.t_start,transition2.t_start,off.active,norm.active,cooDow.localActive,cooDow.active,$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: 11 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,transition2.t_start,transition1.t_start,transition4.t_start,transition3.t_start,transition5.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001127/0.01925, allocations: 0.5448 MB / 0.7948 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.01952, allocations: 265.2 kB / 0.7951 GB, free: 9.938 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/0.01952, allocations: 8 kB / 0.7951 GB, free: 9.93 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.01963, allocations: 120.4 kB / 0.7952 GB, free: 9.809 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.01991, allocations: 107.5 kB / 0.7953 GB, free: 9.707 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.02099, allocations: 1.038 MB / 0.7963 GB, free: 8.617 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.292e-05/0.02109, allocations: 153.9 kB / 0.7965 GB, free: 8.445 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.0212, allocations: 60.34 kB / 0.7965 GB, free: 8.383 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.02136, allocations: 143.3 kB / 0.7966 GB, free: 8.242 MB / 0.7605 GB Notification: Performance of SimCode: time 9.31e-07/0.02136, allocations: 0 / 0.7966 GB, free: 8.242 MB / 0.7605 GB Notification: Performance of Templates: time 0.008591/0.02995, allocations: 5.741 MB / 0.8023 GB, free: 2.586 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.011796572245657]