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.0009274/0.0009274, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.001059/0.001059, allocations: 169.8 kB / 25.18 MB, free: 9.109 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.9151/0.9151, allocations: 177.1 MB / 205.6 MB, free: 5.035 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.832/1.832, allocations: 389.6 MB / 0.6364 GB, free: 12.22 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.773e-06/1.773e-06, allocations: 0 / 0.7756 GB, free: 5.938 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.526e-05, allocations: 2.312 kB / 0.7756 GB, free: 5.934 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.006975/0.007, allocations: 2.851 MB / 0.7783 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005929/0.01293, allocations: 1.815 MB / 0.7801 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002379/0.01531, allocations: 11.88 kB / 0.7801 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.01632, allocations: 313.9 kB / 0.7804 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0005692/0.01689, allocations: 236.2 kB / 0.7807 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009837/0.01787, allocations: 348.7 kB / 0.781 GB, free: 416 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0007578/0.01863, allocations: 0.7582 MB / 0.7817 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004923/0.01912, allocations: 386.1 kB / 0.7821 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003636/0.01949, allocations: 384.3 kB / 0.7825 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.01971, allocations: 211.3 kB / 0.7827 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.586e-05/0.01977, allocations: 52 kB / 0.7827 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.01995, allocations: 112.5 kB / 0.7828 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.02009, allocations: 195.3 kB / 0.783 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.02023, allocations: 196.5 kB / 0.7832 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005158/0.02074, allocations: 0.5834 MB / 0.7838 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.02075, allocations: 4 kB / 0.7838 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.134e-06/0.02075, allocations: 4.797 kB / 0.7838 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.02075, allocations: 0 / 0.7838 GB, free: 13.55 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.000798/0.02155, allocations: 0.9424 MB / 0.7847 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.02158, allocations: 13.33 kB / 0.7847 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002515/0.02183, allocations: 122.6 kB / 0.7848 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.02219, allocations: 369.4 kB / 0.7852 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.02222, allocations: 46.72 kB / 0.7852 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.618e-05/0.02227, allocations: 64.36 kB / 0.7853 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/0.02266, allocations: 494.6 kB / 0.7858 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.02267, allocations: 1.062 kB / 0.7858 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.02269, allocations: 20 kB / 0.7858 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.0227, allocations: 12 kB / 0.7858 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.02288, allocations: 171.8 kB / 0.786 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.02424, allocations: 2.047 MB / 0.788 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.02451, allocations: 310 kB / 0.7882 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.397e-05/0.02458, allocations: 97.88 kB / 0.7883 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.0246, allocations: 9.438 kB / 0.7883 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.0248, allocations: 244.2 kB / 0.7886 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=44): time 1.473e-06/0.0248, allocations: 0 / 0.7886 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44): time 0.0002861/0.02508, allocations: 273.4 kB / 0.7888 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/0.02515, allocations: 200.8 kB / 0.789 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.02543, allocations: 0.5144 MB / 0.7895 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.02546, allocations: 50.7 kB / 0.7896 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.02558, allocations: 282.3 kB / 0.7899 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-05/0.02564, allocations: 111.1 kB / 0.79 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.02576, allocations: 155.1 kB / 0.7901 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.02586, allocations: 382.6 kB / 0.7905 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.451e-05/0.02593, allocations: 63.05 kB / 0.7905 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.02608, allocations: 287.8 kB / 0.7908 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.02633, allocations: 357.4 kB / 0.7911 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.02633, allocations: 4.594 kB / 0.7912 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0003175/0.02665, allocations: 359.4 kB / 0.7915 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.02666, allocations: 8 kB / 0.7915 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.02667, allocations: 8 kB / 0.7915 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.02668, allocations: 8 kB / 0.7915 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.02684, allocations: 91.77 kB / 0.7916 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.02685, allocations: 9.562 kB / 0.7916 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.02698, allocations: 55.62 kB / 0.7917 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.027, allocations: 27.98 kB / 0.7917 GB, free: 4.906 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.0001357/0.02713, allocations: 197.4 kB / 0.7919 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.02718, allocations: 51.94 kB / 0.7919 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.02739, allocations: 220 kB / 0.7921 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.02739, allocations: 5.969 kB / 0.7921 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.02739, allocations: 0 / 0.7921 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.0274, allocations: 7.984 kB / 0.7922 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005529/0.02795, allocations: 0.6234 MB / 0.7928 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.02795, allocations: 1.062 kB / 0.7928 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.012e-05/0.02801, allocations: 27.92 kB / 0.7928 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.02802, allocations: 4 kB / 0.7928 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.02803, allocations: 13.95 kB / 0.7928 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.02804, allocations: 4 kB / 0.7928 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02804, allocations: 0 / 0.7928 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.02826, allocations: 402.7 kB / 0.7932 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.0283, allocations: 55.52 kB / 0.7932 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.02834, allocations: 20.61 kB / 0.7933 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.846e-05/0.02842, allocations: 13.8 kB / 0.7933 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.02848, allocations: 43.88 kB / 0.7933 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.0285, allocations: 11.98 kB / 0.7933 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001369/0.02864, allocations: 208.4 kB / 0.7935 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.02864, allocations: 4 kB / 0.7935 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002786/0.02892, allocations: 132.4 kB / 0.7937 GB, free: 2.82 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.001094/0.03001, allocations: 0.5443 MB / 0.7942 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002674/0.03028, allocations: 264.7 kB / 0.7944 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.03029, allocations: 4 kB / 0.7945 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.03039, allocations: 122.1 kB / 0.7946 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.03067, allocations: 112.2 kB / 0.7947 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.032, allocations: 1.083 MB / 0.7957 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.03221, allocations: 319.6 kB / 0.796 GB, free: 0.5703 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.03238, allocations: 135.3 kB / 0.7962 GB, free: 448 kB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.03238, allocations: 0 / 0.7962 GB, free: 448 kB / 0.7448 GB Notification: Performance of Templates: time 0.007243/0.03962, allocations: 7.707 MB / 0.8037 GB, free: 8.824 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 > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.017908250913024]