Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009166/0.0009167, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001007, allocations: 174 kB / 16.27 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.781/1.781, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008104/0.0008102, allocations: 13.25 kB / 0.6743 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2667, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.00424/0.271, allocations: 2.51 MB / 0.7903 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002985/0.274, allocations: 1.566 MB / 0.7919 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003611/0.2744, allocations: 11.94 kB / 0.7919 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009848/0.2754, allocations: 291.6 kB / 0.7922 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000528/0.2759, allocations: 147.3 kB / 0.7923 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009268/0.2769, allocations: 317.4 kB / 0.7926 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008763/0.2778, allocations: 0.6871 MB / 0.7933 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006269/0.2784, allocations: 406.7 kB / 0.7937 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/0.2787, allocations: 215 kB / 0.7939 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003521/0.2791, allocations: 238.7 kB / 0.7941 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.637e-05/0.2792, allocations: 20 kB / 0.7941 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.2794, allocations: 71.97 kB / 0.7942 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.2796, allocations: 159.4 kB / 0.7943 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000351/0.28, allocations: 299.7 kB / 0.7946 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007759/0.2808, allocations: 0.6887 MB / 0.7953 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2808, allocations: 0 / 0.7953 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2808, allocations: 4 kB / 0.7953 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.294e-05/0.2808, allocations: 0 / 0.7953 GB, free: 3.945 MB / 0.6075 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.001534/0.2823, allocations: 0.8809 MB / 0.7961 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.97e-05/0.2824, allocations: 8.031 kB / 0.7962 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.2826, allocations: 87.89 kB / 0.7962 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006622/0.2833, allocations: 488.8 kB / 0.7967 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.594e-05/0.2834, allocations: 41.69 kB / 0.7967 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.413e-05/0.2835, allocations: 68.12 kB / 0.7968 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009625/0.2844, allocations: 0.6091 MB / 0.7974 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.2845, allocations: 0 / 0.7974 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.664e-05/0.2845, allocations: 27.94 kB / 0.7974 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.2846, allocations: 12 kB / 0.7974 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006677/0.2852, allocations: 383.5 kB / 0.7978 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002767/0.288, allocations: 2.58 MB / 0.8003 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006224/0.2887, allocations: 274.8 kB / 0.8006 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.2889, allocations: 148.7 kB / 0.8007 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.289, allocations: 8 kB / 0.8007 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003988/0.2894, allocations: 205.9 kB / 0.8009 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 2.445e-06/0.2894, allocations: 0 / 0.8009 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.0008901/0.2903, allocations: 465.7 kB / 0.8014 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.2903, allocations: 89.09 kB / 0.8015 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007393/0.2911, allocations: 0.6247 MB / 0.8021 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.985e-05/0.2912, allocations: 41.7 kB / 0.8021 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/0.2914, allocations: 372.3 kB / 0.8025 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.867e-05/0.2915, allocations: 98.73 kB / 0.8026 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.2916, allocations: 93.66 kB / 0.8027 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.2918, allocations: 378.8 kB / 0.803 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.2921, allocations: 133.2 kB / 0.8031 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003742/0.2924, allocations: 338.9 kB / 0.8035 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000582/0.293, allocations: 405 kB / 0.8039 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.293, allocations: 7.938 kB / 0.8039 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008695/0.2939, allocations: 0.5144 MB / 0.8044 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.294, allocations: 8 kB / 0.8044 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.294, allocations: 4 kB / 0.8044 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.294, allocations: 16.66 kB / 0.8044 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.2943, allocations: 71.78 kB / 0.8045 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.2943, allocations: 19.97 kB / 0.8045 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/0.2946, allocations: 51.53 kB / 0.8045 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-05/0.2946, allocations: 35.98 kB / 0.8046 GB, free: 9.914 MB / 0.6231 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,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,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) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003628/0.295, allocations: 266.8 kB / 0.8048 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-05/0.2951, allocations: 63.16 kB / 0.8049 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007697/0.2959, allocations: 403.3 kB / 0.8053 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.2959, allocations: 4 kB / 0.8053 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.2959, allocations: 7.922 kB / 0.8053 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.2959, allocations: 0 / 0.8053 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.2974, allocations: 1.055 MB / 0.8063 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2975, allocations: 4 kB / 0.8063 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.2976, allocations: 31.92 kB / 0.8063 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.2976, allocations: 4 kB / 0.8063 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.2976, allocations: 11.98 kB / 0.8064 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2976, allocations: 0 / 0.8064 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2976, allocations: 0 / 0.8064 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006207/0.2982, allocations: 491 kB / 0.8068 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.2984, allocations: 136.3 kB / 0.8069 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.102e-05/0.2985, allocations: 15.98 kB / 0.807 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.2986, allocations: 16 kB / 0.807 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.2988, allocations: 35.94 kB / 0.807 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.2988, allocations: 19.98 kB / 0.807 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004789/0.2993, allocations: 411 kB / 0.8074 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2993, allocations: 4 kB / 0.8074 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005755/0.2999, allocations: 135.5 kB / 0.8076 GB, free: 6.73 MB / 0.6231 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 (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.001088/0.301, allocations: 462.2 kB / 0.808 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007763/0.3018, allocations: 383.5 kB / 0.8084 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3018, allocations: 64 / 0.8084 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002863/0.3021, allocations: 183.7 kB / 0.8085 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005933/0.3027, allocations: 86.17 kB / 0.8086 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.3048, allocations: 1.337 MB / 0.8099 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006989/0.3055, allocations: 0.9302 MB / 0.8108 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002636/0.3058, allocations: 80.27 kB / 0.8109 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.3059, allocations: 47.42 kB / 0.811 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.3059, allocations: 4 kB / 0.811 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of Templates: time 0.01237/0.3183, allocations: 5.086 MB / 0.8159 GB, free: 14.3 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1) Environment - environmentSimulation: