Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.677/1.677, allocations: 288.4 MB / 304.3 MB, free: 8.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 172.5 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.4 MB / 0.6316 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00073/0.0007295, allocations: 98.2 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 12.75 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2059, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.002705/0.2086, allocations: 2.41 MB / 0.9831 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002135/0.2108, allocations: 1.522 MB / 0.9846 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003154/0.2112, allocations: 11.94 kB / 0.9846 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007152/0.2119, allocations: 270.8 kB / 0.9849 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.2122, allocations: 155.3 kB / 0.985 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000737/0.213, allocations: 281.8 kB / 0.9853 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005944/0.2136, allocations: 0.6364 MB / 0.9859 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000436/0.214, allocations: 415 kB / 0.9863 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.2142, allocations: 219.1 kB / 0.9865 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.2144, allocations: 226.8 kB / 0.9867 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/0.2145, allocations: 24 kB / 0.9867 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.2146, allocations: 71.95 kB / 0.9868 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.2148, allocations: 155.4 kB / 0.987 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.2149, allocations: 283.9 kB / 0.9872 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.2153, allocations: 0.53 MB / 0.9877 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2153, allocations: 4 kB / 0.9877 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.043e-06/0.2153, allocations: 0 / 0.9877 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.2154, allocations: 3.938 kB / 0.9877 GB, free: 20.15 MB / 0.6198 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.001012/0.2164, allocations: 0.8731 MB / 0.9886 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.2164, allocations: 8.031 kB / 0.9886 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.826e-05/0.2165, allocations: 91.91 kB / 0.9887 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004779/0.217, allocations: 484.8 kB / 0.9892 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/0.2171, allocations: 45.69 kB / 0.9892 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.142e-05/0.2171, allocations: 60.11 kB / 0.9893 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007172/0.2179, allocations: 0.6013 MB / 0.9898 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.2179, allocations: 3.938 kB / 0.9898 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.2179, allocations: 24 kB / 0.9899 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.218, allocations: 12 kB / 0.9899 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005143/0.2185, allocations: 383.6 kB / 0.9902 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.2204, allocations: 2.58 MB / 0.9928 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005666/0.221, allocations: 274.8 kB / 0.993 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.2212, allocations: 144.7 kB / 0.9932 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.2212, allocations: 4 kB / 0.9932 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003608/0.2216, allocations: 205.8 kB / 0.9934 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 3.135e-06/0.2216, allocations: 0 / 0.9934 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.0007122/0.2223, allocations: 462.4 kB / 0.9938 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.2224, allocations: 85.11 kB / 0.9939 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005166/0.2229, allocations: 0.6247 MB / 0.9945 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.2229, allocations: 49.62 kB / 0.9945 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.2231, allocations: 364.3 kB / 0.9949 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.029e-05/0.2232, allocations: 102.7 kB / 0.995 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/0.2232, allocations: 12 kB / 0.995 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.384e-05/0.2233, allocations: 378.8 kB / 0.9954 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.2235, allocations: 125.2 kB / 0.9955 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.2238, allocations: 337.5 kB / 0.9958 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.2242, allocations: 409 kB / 0.9962 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2242, allocations: 0 / 0.9962 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0006536/0.2249, allocations: 0.5143 MB / 0.9967 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.2249, allocations: 10.5 kB / 0.9967 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.2249, allocations: 8 kB / 0.9967 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.225, allocations: 15.94 kB / 0.9967 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.2252, allocations: 75.77 kB / 0.9968 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.2252, allocations: 11.94 kB / 0.9968 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.2254, allocations: 55.52 kB / 0.9969 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-05/0.2255, allocations: 28 kB / 0.9969 GB, free: 10.25 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition2,$whenCondition3,$whenCondition4,actMod,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,and1.y,$PRE.cooDow.localActive,cooDow.localActive,cooDow.inPort[2].occupied,cooDow.outPort[2].available,$PRE.cooDow.newActive,cooDow.newActive,$PRE.cooDow.oldActive,cooDow.oldActive,cooDow.active,norm.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.active,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,transition3.enableFire,$PRE.timer.passed,timer.passed,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00028/0.2258, allocations: 266.8 kB / 0.9972 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.186e-05/0.2258, allocations: 67.16 kB / 0.9972 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005917/0.2264, allocations: 411.3 kB / 0.9976 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.2265, allocations: 3.938 kB / 0.9976 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2265, allocations: 0 / 0.9976 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.2266, allocations: 144.2 kB / 0.9977 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-05/0.2266, allocations: 12 kB / 0.9978 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.2268, allocations: 11.98 kB / 0.9978 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.2269, allocations: 51.92 kB / 0.9978 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005329/0.2274, allocations: 428.7 kB / 0.9982 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000488/0.2279, allocations: 0.5569 MB / 0.9988 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001874/0.2281, allocations: 163.9 kB / 0.9989 GB, free: 8.109 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003278/0.2285, allocations: 403 kB / 0.9993 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of Backend: time 4.71e-07/0.2285, allocations: 0 / 0.9993 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001599/0.2301, allocations: 0.6801 MB / 1 GB, free: 7.188 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001526/0.2316, allocations: 1.683 MB / 1.002 GB, free: 5.453 MB / 0.6198 GB Notification: Performance of Templates: time 0.009273/0.2409, allocations: 5.103 MB / 1.007 GB, free: 396 kB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)