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.0009235/0.0009235, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009102/0.0009102, allocations: 161 kB / 24.17 MB, free: 328 kB / 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.9605/0.9605, allocations: 177.1 MB / 204.6 MB, free: 5.461 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 2.085/2.085, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 177] 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.664e-06/1.664e-06, allocations: 0 / 0.7752 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.445e-05, allocations: 7.25 kB / 0.7752 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.004384/0.004408, allocations: 2.842 MB / 0.778 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00322/0.007629, allocations: 1.827 MB / 0.7798 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002659/0.007895, allocations: 15.88 kB / 0.7798 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0009351/0.00883, allocations: 301.1 kB / 0.7801 GB, free: 360 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000547/0.009377, allocations: 245.6 kB / 0.7803 GB, free: 120 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007888/0.01017, allocations: 349.3 kB / 0.7807 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008759/0.01104, allocations: 0.7651 MB / 0.7814 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005559/0.0116, allocations: 376.9 kB / 0.7818 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004184/0.01202, allocations: 380 kB / 0.7821 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.01231, allocations: 207.3 kB / 0.7823 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.057e-05/0.01239, allocations: 56.62 kB / 0.7824 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.01262, allocations: 115.8 kB / 0.7825 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.01279, allocations: 200 kB / 0.7827 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.01299, allocations: 195.4 kB / 0.7829 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007387/0.01372, allocations: 0.5852 MB / 0.7834 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.01373, allocations: 0 / 0.7834 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01373, allocations: 0 / 0.7834 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.01374, allocations: 0 / 0.7834 GB, free: 12.93 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.001167/0.01491, allocations: 0.9459 MB / 0.7844 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.01495, allocations: 14.34 kB / 0.7844 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003944/0.01534, allocations: 124.8 kB / 0.7845 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005287/0.01587, allocations: 359.1 kB / 0.7848 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.371e-05/0.01592, allocations: 53.67 kB / 0.7849 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.756e-05/0.01599, allocations: 60.38 kB / 0.7849 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006123/0.0166, allocations: 491.4 kB / 0.7854 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.01662, allocations: 3.938 kB / 0.7854 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/0.01666, allocations: 24.52 kB / 0.7854 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.01667, allocations: 12.94 kB / 0.7855 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.01697, allocations: 167.5 kB / 0.7856 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.01892, allocations: 2.043 MB / 0.7876 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/0.01933, allocations: 308.1 kB / 0.7879 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.01946, allocations: 105.8 kB / 0.788 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.01948, allocations: 8 kB / 0.788 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003027/0.01978, allocations: 233.6 kB / 0.7882 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=44): time 1.984e-06/0.01978, allocations: 0 / 0.7882 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44): time 0.0004485/0.02023, allocations: 286.4 kB / 0.7885 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.031e-05/0.02032, allocations: 187.9 kB / 0.7887 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004573/0.02078, allocations: 0.5183 MB / 0.7892 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/0.02083, allocations: 48.08 kB / 0.7892 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.02101, allocations: 278.3 kB / 0.7895 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.605e-05/0.02111, allocations: 119.1 kB / 0.7896 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.02128, allocations: 154.1 kB / 0.7898 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.02142, allocations: 386.6 kB / 0.7901 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.02153, allocations: 60.11 kB / 0.7902 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.02177, allocations: 275.8 kB / 0.7905 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.02216, allocations: 359.9 kB / 0.7908 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.02217, allocations: 9.375 kB / 0.7908 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0005109/0.02268, allocations: 362.5 kB / 0.7912 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.0227, allocations: 8 kB / 0.7912 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.02272, allocations: 11.97 kB / 0.7912 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.02274, allocations: 16 kB / 0.7912 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.02299, allocations: 83.78 kB / 0.7913 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.023, allocations: 15.94 kB / 0.7913 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.0232, allocations: 58.05 kB / 0.7913 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.02324, allocations: 24 kB / 0.7914 GB, free: 4.273 MB / 0.7448 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.0001899/0.02343, allocations: 180.4 kB / 0.7915 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.0235, allocations: 53.64 kB / 0.7916 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.02381, allocations: 219.3 kB / 0.7918 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.02382, allocations: 8 kB / 0.7918 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.02382, allocations: 0 / 0.7918 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.02382, allocations: 1.031 kB / 0.7918 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008219/0.02465, allocations: 0.6351 MB / 0.7924 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.02465, allocations: 0.9375 kB / 0.7924 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.347e-05/0.02474, allocations: 31.86 kB / 0.7925 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.02475, allocations: 4 kB / 0.7925 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.02477, allocations: 14.39 kB / 0.7925 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.02478, allocations: 4 kB / 0.7925 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02478, allocations: 0 / 0.7925 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.02512, allocations: 398.7 kB / 0.7929 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.02518, allocations: 59.52 kB / 0.7929 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.617e-05/0.02524, allocations: 12.88 kB / 0.7929 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.02537, allocations: 15.98 kB / 0.7929 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.449e-05/0.02547, allocations: 44.77 kB / 0.793 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.02549, allocations: 11.94 kB / 0.793 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002122/0.02571, allocations: 212.4 kB / 0.7932 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02571, allocations: 0.75 kB / 0.7932 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004715/0.02618, allocations: 139.7 kB / 0.7933 GB, free: 2.188 MB / 0.7448 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.001606/0.02778, allocations: 0.548 MB / 0.7939 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003822/0.02817, allocations: 268.4 kB / 0.7941 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/0.02818, allocations: 8.812 kB / 0.7941 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.02833, allocations: 117.5 kB / 0.7942 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.02871, allocations: 97.19 kB / 0.7943 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.02986, allocations: 1.043 MB / 0.7954 GB, free: 328 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.505e-05/0.02995, allocations: 157.9 kB / 0.7955 GB, free: 148 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.03007, allocations: 60.59 kB / 0.7956 GB, free: 92 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.03025, allocations: 132.2 kB / 0.7957 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of SimCode: time 8.62e-07/0.03025, allocations: 0 / 0.7957 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of Templates: time 0.008802/0.03905, allocations: 5.749 MB / 0.8013 GB, free: 10.4 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.135042373556644]