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.001305/0.001305, 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.001164/0.001164, allocations: 161 kB / 24.17 MB, free: 332 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 1.022/1.022, allocations: 177.2 MB / 204.6 MB, free: 5.492 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.033/2.033, 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 2.184e-06/2.184e-06, allocations: 0 / 0.7752 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/2.007e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.003344/0.003364, allocations: 2.793 MB / 0.7779 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002461/0.005825, allocations: 1.82 MB / 0.7797 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002409/0.006066, allocations: 15.88 kB / 0.7797 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0008699/0.006936, allocations: 313.2 kB / 0.78 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004633/0.007399, allocations: 242.6 kB / 0.7802 GB, free: 288 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006861/0.008085, allocations: 355.1 kB / 0.7806 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006923/0.008778, allocations: 0.7534 MB / 0.7813 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004459/0.009224, allocations: 417.7 kB / 0.7817 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003163/0.00954, allocations: 396.7 kB / 0.7821 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.00977, allocations: 207.3 kB / 0.7823 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.581e-05/0.009826, allocations: 52 kB / 0.7823 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.009991, allocations: 111.9 kB / 0.7824 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.01013, allocations: 204.3 kB / 0.7826 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.01027, allocations: 195.4 kB / 0.7828 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005573/0.01083, allocations: 0.5796 MB / 0.7834 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.01083, allocations: 0.625 kB / 0.7834 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.01083, allocations: 0 / 0.7834 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.01084, allocations: 0.875 kB / 0.7834 GB, free: 13.05 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.0009435/0.01178, allocations: 0.9461 MB / 0.7843 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.01182, allocations: 17.28 kB / 0.7843 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/0.0121, allocations: 125.5 kB / 0.7845 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.01248, allocations: 363.3 kB / 0.7848 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.01252, allocations: 53.67 kB / 0.7849 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.084e-05/0.01257, allocations: 56.38 kB / 0.7849 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.013, allocations: 491.5 kB / 0.7854 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.01301, allocations: 0 / 0.7854 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.01304, allocations: 27.98 kB / 0.7854 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.01305, allocations: 12.56 kB / 0.7854 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.01324, allocations: 163.9 kB / 0.7856 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.01458, allocations: 2.043 MB / 0.7876 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.01487, allocations: 303.1 kB / 0.7879 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.473e-05/0.01495, allocations: 106.8 kB / 0.788 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.01498, allocations: 8 kB / 0.788 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.0152, allocations: 237.2 kB / 0.7882 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=44): time 1.844e-06/0.0152, allocations: 0.8438 kB / 0.7882 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44): time 0.0003259/0.01553, allocations: 281.5 kB / 0.7885 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.75e-05/0.0156, allocations: 199.9 kB / 0.7886 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.01591, allocations: 0.5093 MB / 0.7891 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.01595, allocations: 49.69 kB / 0.7892 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.01609, allocations: 278.3 kB / 0.7895 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.772e-05/0.01615, allocations: 119.1 kB / 0.7896 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.01627, allocations: 154.2 kB / 0.7897 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.01638, allocations: 386.6 kB / 0.7901 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-05/0.01646, allocations: 60.11 kB / 0.7901 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.01661, allocations: 277.6 kB / 0.7904 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.01688, allocations: 358.6 kB / 0.7908 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.01688, allocations: 7.938 kB / 0.7908 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.000319/0.0172, allocations: 358 kB / 0.7911 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.01722, allocations: 8 kB / 0.7911 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.01723, allocations: 8.5 kB / 0.7911 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.01724, allocations: 11.06 kB / 0.7911 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.01738, allocations: 79.83 kB / 0.7912 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.01739, allocations: 11.94 kB / 0.7912 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.01752, allocations: 59.61 kB / 0.7913 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.01754, allocations: 27.98 kB / 0.7913 GB, free: 4.41 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.0001435/0.01768, allocations: 190.8 kB / 0.7915 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.01773, allocations: 55.94 kB / 0.7915 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.01795, allocations: 211.4 kB / 0.7917 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.01795, allocations: 8 kB / 0.7917 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.01795, allocations: 0 / 0.7917 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.01796, allocations: 7.984 kB / 0.7918 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005726/0.01853, allocations: 0.6324 MB / 0.7924 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01854, allocations: 0 / 0.7924 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.01859, allocations: 31.92 kB / 0.7924 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.01859, allocations: 0.875 kB / 0.7924 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.01861, allocations: 8 kB / 0.7924 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01861, allocations: 5.156 kB / 0.7924 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.01861, allocations: 4 kB / 0.7924 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.01886, allocations: 400.1 kB / 0.7928 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.0189, allocations: 55.52 kB / 0.7929 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/0.01894, allocations: 22.14 kB / 0.7929 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.907e-05/0.01902, allocations: 11.98 kB / 0.7929 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.01909, allocations: 39.88 kB / 0.7929 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.01911, allocations: 15.98 kB / 0.7929 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001432/0.01925, allocations: 212.4 kB / 0.7931 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01925, allocations: 0 / 0.7931 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000319/0.01957, allocations: 136.1 kB / 0.7933 GB, free: 2.32 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.001119/0.02069, allocations: 0.5534 MB / 0.7938 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.02097, allocations: 269.7 kB / 0.7941 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.02098, allocations: 8 kB / 0.7941 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.02108, allocations: 116.4 kB / 0.7942 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.02138, allocations: 101.7 kB / 0.7943 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.02252, allocations: 1.034 MB / 0.7953 GB, free: 460 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.02263, allocations: 153.9 kB / 0.7954 GB, free: 284 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001279/0.02275, allocations: 65.94 kB / 0.7955 GB, free: 224 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.02292, allocations: 135.3 kB / 0.7956 GB, free: 88 kB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.02292, allocations: 0.625 kB / 0.7956 GB, free: 88 kB / 0.7448 GB Notification: Performance of Templates: time 0.009048/0.03197, allocations: 5.755 MB / 0.8013 GB, free: 10.53 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.308355890214443]