Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.695/1.695, allocations: 287.5 MB / 302.6 MB, free: 8.176 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.001277/0.001277, allocations: 184.3 kB / 371.2 MB, free: 10.82 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.648/1.648, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0008023/0.0008022, allocations: 96.91 kB / 0.7432 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005537/0.000554, allocations: 16.47 kB / 0.8661 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2163, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.003342/0.2197, allocations: 2.409 MB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.2218, allocations: 1.519 MB / 0.9825 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002826/0.2221, allocations: 11.94 kB / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008029/0.2229, allocations: 276.1 kB / 0.9828 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.2232, allocations: 151.3 kB / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000615/0.2239, allocations: 273.8 kB / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004787/0.2243, allocations: 0.6441 MB / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004171/0.2248, allocations: 415 kB / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.225, allocations: 207.1 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.2252, allocations: 238.8 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.989e-05/0.2252, allocations: 20 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.2254, allocations: 63.92 kB / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.2256, allocations: 155.5 kB / 0.9849 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.2257, allocations: 137.3 kB / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005125/0.2262, allocations: 0.5262 MB / 0.9855 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.2262, allocations: 4 kB / 0.9855 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.455e-06/0.2262, allocations: 0 / 0.9855 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.2263, allocations: 0 / 0.9855 GB, free: 21.13 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.001303/0.2276, allocations: 0.8771 MB / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.2276, allocations: 12.03 kB / 0.9864 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.2278, allocations: 83.91 kB / 0.9865 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005895/0.2284, allocations: 488.7 kB / 0.9869 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.508e-05/0.2284, allocations: 53.67 kB / 0.987 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.877e-05/0.2285, allocations: 64.12 kB / 0.9871 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008346/0.2294, allocations: 0.6013 MB / 0.9876 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.2294, allocations: 4 kB / 0.9876 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.437e-05/0.2294, allocations: 20 kB / 0.9877 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.2295, allocations: 16 kB / 0.9877 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006016/0.2301, allocations: 375.5 kB / 0.988 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/0.2323, allocations: 2.584 MB / 0.9906 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005614/0.2329, allocations: 280.7 kB / 0.9908 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.2331, allocations: 144.5 kB / 0.991 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.53e-05/0.2331, allocations: 15.98 kB / 0.991 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003596/0.2335, allocations: 205.9 kB / 0.9912 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 3.296e-06/0.2335, allocations: 0 / 0.9912 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.0008151/0.2343, allocations: 458.4 kB / 0.9916 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.2344, allocations: 89.05 kB / 0.9917 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005512/0.235, allocations: 0.6247 MB / 0.9923 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.235, allocations: 45.7 kB / 0.9924 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.2352, allocations: 364.3 kB / 0.9927 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.605e-05/0.2353, allocations: 98.73 kB / 0.9928 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.2353, allocations: 19.94 kB / 0.9928 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2355, allocations: 374.8 kB / 0.9932 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.2357, allocations: 133.2 kB / 0.9933 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.236, allocations: 327.6 kB / 0.9936 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004155/0.2364, allocations: 405 kB / 0.994 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.2364, allocations: 4 kB / 0.994 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0006552/0.2371, allocations: 0.5104 MB / 0.9945 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.2371, allocations: 4 kB / 0.9945 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.2371, allocations: 8.781 kB / 0.9945 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.386e-05/0.2371, allocations: 15.92 kB / 0.9945 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.2374, allocations: 71.84 kB / 0.9946 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.2374, allocations: 15.94 kB / 0.9946 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.2376, allocations: 55.52 kB / 0.9947 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.496e-05/0.2377, allocations: 28 kB / 0.9947 GB, free: 11.23 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.0003044/0.238, allocations: 270.8 kB / 0.9949 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/0.238, allocations: 63.16 kB / 0.995 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006023/0.2386, allocations: 399.4 kB / 0.9954 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.2387, allocations: 11.98 kB / 0.9954 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.2387, allocations: 0 / 0.9954 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2387, allocations: 3.984 kB / 0.9954 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.2399, allocations: 1.055 MB / 0.9964 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2399, allocations: 0 / 0.9964 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.306e-05/0.24, allocations: 27.92 kB / 0.9965 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.24, allocations: 0 / 0.9965 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.24, allocations: 11.98 kB / 0.9965 GB, free: 9.316 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2401, allocations: 0 / 0.9965 GB, free: 9.316 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2401, allocations: 0 / 0.9965 GB, free: 9.316 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004979/0.2406, allocations: 486.7 kB / 0.9969 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.087e-05/0.2407, allocations: 140.3 kB / 0.9971 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.372e-05/0.2407, allocations: 8 kB / 0.9971 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.2409, allocations: 23.92 kB / 0.9971 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.241, allocations: 43.92 kB / 0.9971 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.241, allocations: 16 kB / 0.9972 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003288/0.2414, allocations: 411 kB / 0.9976 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2414, allocations: 0 / 0.9976 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004071/0.2418, allocations: 131.6 kB / 0.9977 GB, free: 8.055 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$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: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009303/0.2427, allocations: 454.5 kB / 0.9981 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005748/0.2433, allocations: 375.5 kB / 0.9985 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2433, allocations: 4.188 kB / 0.9985 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.2436, allocations: 179.8 kB / 0.9986 GB, free: 7.223 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005326/0.2441, allocations: 92.12 kB / 0.9987 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.2455, allocations: 1.262 MB / 1 GB, free: 5.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.2459, allocations: 0.9379 MB / 1.001 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002158/0.2461, allocations: 76.34 kB / 1.001 GB, free: 4.805 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.2462, allocations: 51.42 kB / 1.001 GB, free: 4.754 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2462, allocations: 0 / 1.001 GB, free: 4.754 MB / 0.6198 GB Notification: Performance of Templates: time 0.009105/0.2553, allocations: 4.954 MB / 1.006 GB, free: 15.83 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)