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 2.655/2.655, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.001489/0.001489, allocations: 173.1 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.217/2.217, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001079/0.001079, allocations: 97.27 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004904/0.0004906, allocations: 11.75 kB / 0.8656 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2326, allocations: 115.3 MB / 0.9782 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.005642/0.2383, allocations: 2.386 MB / 0.9805 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004987/0.2434, allocations: 1.491 MB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005928/0.2441, allocations: 15.94 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.2457, allocations: 274.9 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009987/0.2468, allocations: 155.6 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.2487, allocations: 270.8 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001436/0.2501, allocations: 460.3 kB / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009969/0.2512, allocations: 374.1 kB / 0.9835 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005538/0.2518, allocations: 211.2 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005017/0.2523, allocations: 226.9 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.2525, allocations: 20 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.2528, allocations: 59.97 kB / 0.984 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002681/0.2531, allocations: 159.4 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.2534, allocations: 129.3 kB / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.2545, allocations: 0.5341 MB / 0.9848 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2545, allocations: 0 / 0.9848 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.296e-06/0.2546, allocations: 4 kB / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.505e-05/0.2546, allocations: 0 / 0.9848 GB, free: 21.66 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.002394/0.257, allocations: 0.8848 MB / 0.9856 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.2571, allocations: 12.02 kB / 0.9856 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000277/0.2574, allocations: 94.92 kB / 0.9857 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.2587, allocations: 460 kB / 0.9862 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.686e-05/0.2588, allocations: 49.3 kB / 0.9862 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.259, allocations: 56 kB / 0.9863 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.261, allocations: 0.5974 MB / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.702e-05/0.2611, allocations: 4 kB / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.2612, allocations: 23.94 kB / 0.9869 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.2612, allocations: 19.98 kB / 0.9869 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.2628, allocations: 375.6 kB / 0.9872 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004967/0.2678, allocations: 2.576 MB / 0.9898 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.2692, allocations: 283 kB / 0.99 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.528e-05/0.2693, allocations: 4.594 kB / 0.99 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007839/0.2702, allocations: 213.8 kB / 0.9902 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 7.945e-06/0.2702, allocations: 0 / 0.9902 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.001912/0.2721, allocations: 466.4 kB / 0.9907 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.2722, allocations: 81.11 kB / 0.9908 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.2737, allocations: 0.6285 MB / 0.9914 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.2738, allocations: 41.7 kB / 0.9914 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004519/0.2743, allocations: 360.4 kB / 0.9918 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.2745, allocations: 102.7 kB / 0.9919 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.2746, allocations: 8 kB / 0.9919 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.2748, allocations: 382.8 kB / 0.9922 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005892/0.2754, allocations: 133.2 kB / 0.9924 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007537/0.2762, allocations: 319.6 kB / 0.9927 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000578/0.2768, allocations: 152.8 kB / 0.9928 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.2768, allocations: 0 / 0.9928 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001762/0.2786, allocations: 0.5111 MB / 0.9933 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.2787, allocations: 8 kB / 0.9933 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.2787, allocations: 8.031 kB / 0.9933 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.786e-05/0.2788, allocations: 15.95 kB / 0.9933 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005599/0.2794, allocations: 75.77 kB / 0.9934 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.581e-05/0.2794, allocations: 11.98 kB / 0.9934 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000714/0.2801, allocations: 59.42 kB / 0.9935 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.2803, allocations: 28 kB / 0.9935 GB, free: 12.27 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.0006737/0.281, allocations: 274.8 kB / 0.9938 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.2812, allocations: 59.25 kB / 0.9938 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.2828, allocations: 399.4 kB / 0.9942 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.2829, allocations: 4 kB / 0.9942 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.2829, allocations: 3.953 kB / 0.9942 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.2829, allocations: 3.984 kB / 0.9942 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003837/0.2868, allocations: 1.052 MB / 0.9952 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/0.2869, allocations: 0 / 0.9952 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.2871, allocations: 35.81 kB / 0.9953 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.2871, allocations: 4 kB / 0.9953 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/0.2871, allocations: 7.984 kB / 0.9953 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.2871, allocations: 7.938 kB / 0.9953 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2872, allocations: 0 / 0.9953 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009218/0.2881, allocations: 474.9 kB / 0.9958 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.2883, allocations: 140.2 kB / 0.9959 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.2884, allocations: 15.95 kB / 0.9959 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.2887, allocations: 15.98 kB / 0.9959 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.2888, allocations: 47.92 kB / 0.996 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.474e-05/0.2889, allocations: 12 kB / 0.996 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005915/0.2895, allocations: 411 kB / 0.9964 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2895, allocations: 4 kB / 0.9964 GB, free: 9.223 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000721/0.2902, allocations: 127.7 kB / 0.9965 GB, free: 9.098 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.002037/0.2923, allocations: 444.8 kB / 0.9969 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001623/0.294, allocations: 383 kB / 0.9973 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.294, allocations: 3.938 kB / 0.9973 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006666/0.2947, allocations: 179.7 kB / 0.9975 GB, free: 8.262 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.2961, allocations: 80.2 kB / 0.9975 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004164/0.3003, allocations: 1.263 MB / 0.9988 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007224/0.3011, allocations: 0.9418 MB / 0.9997 GB, free: 5.922 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006064/0.3018, allocations: 80.33 kB / 0.9998 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/0.3021, allocations: 43.42 kB / 0.9998 GB, free: 5.801 MB / 0.6198 GB Notification: Performance of SimCode: time 1.463e-06/0.3021, allocations: 0 / 0.9998 GB, free: 5.801 MB / 0.6198 GB Notification: Performance of Templates: time 0.01762/0.3198, allocations: 4.968 MB / 1.005 GB, free: 0.8711 MB / 0.6198 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)