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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 292.3 MB / 308.1 MB, free: 4.281 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.001487/0.001487, allocations: 188.4 kB / 376.9 MB, free: 1.781 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.622/1.622, allocations: 205.1 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 102.9 kB / 0.748 GB, free: 61.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 59.89 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2725, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.006619/0.2792, allocations: 2.886 MB / 0.985 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003101/0.2823, allocations: 1.612 MB / 0.9866 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003998/0.2828, allocations: 11.94 kB / 0.9866 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.284, allocations: 283.6 kB / 0.9869 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0006008/0.2846, allocations: 163.3 kB / 0.987 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009058/0.2855, allocations: 307.6 kB / 0.9873 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0009712/0.2865, allocations: 0.6949 MB / 0.988 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006797/0.2872, allocations: 444.4 kB / 0.9884 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003409/0.2875, allocations: 243 kB / 0.9887 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003909/0.2879, allocations: 274.6 kB / 0.9889 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.2881, allocations: 36 kB / 0.989 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.2883, allocations: 79.95 kB / 0.989 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.2885, allocations: 183.3 kB / 0.9892 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003044/0.2888, allocations: 298 kB / 0.9895 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007468/0.2896, allocations: 0.7006 MB / 0.9902 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2896, allocations: 4 kB / 0.9902 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.32e-07/0.2896, allocations: 0 / 0.9902 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.804e-05/0.2897, allocations: 0 / 0.9902 GB, free: 2.156 MB / 0.7136 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.001646/0.2913, allocations: 1.021 MB / 0.9912 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.2914, allocations: 12.03 kB / 0.9912 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.2915, allocations: 83.91 kB / 0.9913 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007071/0.2922, allocations: 492.7 kB / 0.9918 GB, free: 472 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.51e-05/0.2923, allocations: 49.67 kB / 0.9918 GB, free: 424 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.828e-05/0.2924, allocations: 60.12 kB / 0.9919 GB, free: 364 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009113/0.2933, allocations: 0.6092 MB / 0.9925 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.2933, allocations: 4 kB / 0.9925 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/0.2934, allocations: 23.98 kB / 0.9925 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.2934, allocations: 16 kB / 0.9925 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006629/0.2941, allocations: 375.6 kB / 0.9929 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/0.2967, allocations: 2.576 MB / 0.9954 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005739/0.2973, allocations: 285.2 kB / 0.9956 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.2976, allocations: 132.8 kB / 0.9958 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.2976, allocations: 11.97 kB / 0.9958 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003758/0.298, allocations: 202.5 kB / 0.996 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 2.375e-06/0.298, allocations: 0 / 0.996 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.0008476/0.2989, allocations: 469.4 kB / 0.9964 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.2989, allocations: 89.05 kB / 0.9965 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007316/0.2997, allocations: 0.6286 MB / 0.9971 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.895e-05/0.2997, allocations: 45.7 kB / 0.9972 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/0.3001, allocations: 364.3 kB / 0.9975 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.914e-05/0.3002, allocations: 98.73 kB / 0.9976 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.3004, allocations: 146.3 kB / 0.9977 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3005, allocations: 378.7 kB / 0.9981 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.3008, allocations: 129.2 kB / 0.9982 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003867/0.3012, allocations: 346.9 kB / 0.9986 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000551/0.3018, allocations: 408.8 kB / 0.9989 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.3018, allocations: 4 kB / 0.999 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008062/0.3026, allocations: 0.515 MB / 0.9995 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.3026, allocations: 8 kB / 0.9995 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3026, allocations: 8.062 kB / 0.9995 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.3027, allocations: 15.94 kB / 0.9995 GB, free: 8.113 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.3029, allocations: 75.77 kB / 0.9996 GB, free: 8.039 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.3029, allocations: 8 kB / 0.9996 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.3032, allocations: 63.42 kB / 0.9996 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.46e-05/0.3032, allocations: 24 kB / 0.9996 GB, free: 7.945 MB / 0.7292 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.0003165/0.3035, allocations: 270.8 kB / 0.9999 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-05/0.3036, allocations: 67.22 kB / 1 GB, free: 7.602 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007216/0.3044, allocations: 411.2 kB / 1 GB, free: 7.191 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.3044, allocations: 8 kB / 1 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3044, allocations: 0 / 1 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3044, allocations: 0 / 1 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.3059, allocations: 1.055 MB / 1.001 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3059, allocations: 0 / 1.001 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.238e-05/0.306, allocations: 19.98 kB / 1.001 GB, free: 6.043 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.306, allocations: 4 kB / 1.001 GB, free: 6.039 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.306, allocations: 11.94 kB / 1.001 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.306, allocations: 0 / 1.001 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.306, allocations: 0 / 1.001 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.3072, allocations: 1.274 MB / 1.003 GB, free: 4.695 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.3074, allocations: 132.2 kB / 1.003 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.606e-05/0.3075, allocations: 12 kB / 1.003 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.3076, allocations: 11.98 kB / 1.003 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.3077, allocations: 47.88 kB / 1.003 GB, free: 4.477 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.3078, allocations: 16 kB / 1.003 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004387/0.3082, allocations: 415 kB / 1.003 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3082, allocations: 4 kB / 1.003 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005885/0.3088, allocations: 131.6 kB / 1.003 GB, free: 3.93 MB / 0.7292 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.001022/0.3098, allocations: 443.8 kB / 1.004 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006645/0.3105, allocations: 383 kB / 1.004 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3105, allocations: 0 / 1.004 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.3108, allocations: 176.2 kB / 1.004 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005459/0.3114, allocations: 86.88 kB / 1.004 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.3134, allocations: 1.572 MB / 1.006 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/0.3139, allocations: 0.938 MB / 1.007 GB, free: 412 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002513/0.3142, allocations: 84.31 kB / 1.007 GB, free: 328 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.3143, allocations: 43.42 kB / 1.007 GB, free: 284 kB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/0.3143, allocations: 4 kB / 1.007 GB, free: 280 kB / 0.7292 GB Notification: Performance of Templates: time 0.0116/0.3259, allocations: 5.335 MB / 1.012 GB, free: 10.97 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (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)