Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.352/1.352, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009955/0.0009957, allocations: 172.6 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205 MB / 0.5766 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007219/0.0007219, allocations: 90.77 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.0003372, allocations: 9.781 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1883, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.002837/0.1912, allocations: 2.649 MB / 0.8993 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002393/0.1936, allocations: 1.623 MB / 0.9009 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.1939, allocations: 11.94 kB / 0.9009 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007388/0.1947, allocations: 282.8 kB / 0.9012 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.195, allocations: 151.3 kB / 0.9014 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006684/0.1956, allocations: 315.6 kB / 0.9017 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004811/0.1961, allocations: 0.7027 MB / 0.9023 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003862/0.1965, allocations: 404.8 kB / 0.9027 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.1967, allocations: 219 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.1969, allocations: 238.6 kB / 0.9032 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.831e-05/0.1969, allocations: 28 kB / 0.9032 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.1971, allocations: 67.97 kB / 0.9033 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.1972, allocations: 171.3 kB / 0.9034 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.1974, allocations: 274 kB / 0.9037 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.1979, allocations: 0.6965 MB / 0.9044 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1979, allocations: 0 / 0.9044 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1979, allocations: 0 / 0.9044 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.1979, allocations: 0 / 0.9044 GB, free: 60.33 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001086/0.199, allocations: 0.8965 MB / 0.9052 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1991, allocations: 8.031 kB / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.1992, allocations: 83.91 kB / 0.9053 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.1997, allocations: 488.8 kB / 0.9058 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/0.1997, allocations: 71.58 kB / 0.9059 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.783e-05/0.1998, allocations: 63.92 kB / 0.9059 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006859/0.2005, allocations: 0.6091 MB / 0.9065 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.2005, allocations: 4 kB / 0.9065 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.071e-05/0.2006, allocations: 23.98 kB / 0.9065 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.2006, allocations: 16 kB / 0.9066 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005081/0.2011, allocations: 379.5 kB / 0.9069 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.2029, allocations: 2.58 MB / 0.9094 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.2034, allocations: 282.8 kB / 0.9097 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.2035, allocations: 140.7 kB / 0.9098 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.2036, allocations: 4 kB / 0.9098 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002893/0.2039, allocations: 206.5 kB / 0.91 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 3.506e-06/0.2039, allocations: 4 kB / 0.91 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0006423/0.2045, allocations: 453.8 kB / 0.9105 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.2046, allocations: 85.11 kB / 0.9106 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/0.2051, allocations: 0.6247 MB / 0.9112 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.2051, allocations: 49.69 kB / 0.9112 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.2053, allocations: 372.2 kB / 0.9116 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.061e-05/0.2054, allocations: 98.8 kB / 0.9117 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.761e-05/0.2055, allocations: 93.66 kB / 0.9118 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.2e-05/0.2056, allocations: 378.8 kB / 0.9121 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.2058, allocations: 137.2 kB / 0.9123 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.206, allocations: 343.8 kB / 0.9126 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/0.2065, allocations: 425.8 kB / 0.913 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2065, allocations: 0 / 0.913 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.000622/0.2071, allocations: 0.5264 MB / 0.9135 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2071, allocations: 8 kB / 0.9135 GB, free: 50.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.2071, allocations: 11.94 kB / 0.9135 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.2072, allocations: 8 kB / 0.9135 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.2074, allocations: 87.7 kB / 0.9136 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.2074, allocations: 8 kB / 0.9136 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.2076, allocations: 63.73 kB / 0.9137 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.2076, allocations: 32 kB / 0.9137 GB, free: 50.21 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,timer.yAcc,$PRE.timer.yAcc,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,timer.reset_internal,$PRE.timer.reset_internal,transition5.enableFire,timer.entryTime,$PRE.timer.entryTime,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,transition2.localCondition,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,$whenCondition3,$whenCondition2,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.000222/0.2079, allocations: 270.8 kB / 0.914 GB, free: 49.94 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.2079, allocations: 63.23 kB / 0.914 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005344/0.2085, allocations: 402.8 kB / 0.9144 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2085, allocations: 3.938 kB / 0.9144 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2085, allocations: 8 kB / 0.9144 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.2086, allocations: 136.2 kB / 0.9146 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.2086, allocations: 12 kB / 0.9146 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.2087, allocations: 11.98 kB / 0.9146 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.765e-05/0.2088, allocations: 43.89 kB / 0.9146 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004878/0.2093, allocations: 424.3 kB / 0.915 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004821/0.2098, allocations: 0.5409 MB / 0.9156 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001787/0.21, allocations: 159.6 kB / 0.9157 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003093/0.2103, allocations: 423 kB / 0.9161 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of Backend: time 4.91e-07/0.2103, allocations: 0 / 0.9161 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001537/0.2119, allocations: 0.6762 MB / 0.9168 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of SimCode: time 0.00145/0.2134, allocations: 1.744 MB / 0.9185 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.009407/0.2228, allocations: 5.198 MB / 0.9235 GB, free: 40.22 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)