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.00117/0.00117, allocations: 104.8 kB / 16.29 MB, free: 6.414 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.001121/0.001121, allocations: 189.3 kB / 17.22 MB, free: 5.953 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.59/1.59, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.769/1.769, allocations: 292.3 MB / 0.5495 GB, free: 17.41 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.001638/0.001639, allocations: 71.91 kB / 0.6722 GB, free: 6.586 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2751, allocations: 114.5 MB / 0.7841 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.0064/0.2816, allocations: 2.787 MB / 0.7868 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5181/0.7998, allocations: 1.605 MB / 0.7884 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003449/0.8002, allocations: 8.156 kB / 0.7884 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.8014, allocations: 309.4 kB / 0.7887 GB, free: 45.91 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004649/0.8018, allocations: 192.5 kB / 0.7888 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009101/0.8028, allocations: 334.4 kB / 0.7892 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006623/0.8034, allocations: 0.7272 MB / 0.7899 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005477/0.804, allocations: 461.4 kB / 0.7903 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.8043, allocations: 264.9 kB / 0.7906 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/0.8045, allocations: 275.6 kB / 0.7908 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.795e-05/0.8046, allocations: 51.47 kB / 0.7909 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.8049, allocations: 116.6 kB / 0.791 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.8051, allocations: 191.1 kB / 0.7912 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002088/0.8053, allocations: 323.1 kB / 0.7915 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006489/0.8059, allocations: 0.7856 MB / 0.7923 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8059, allocations: 0 / 0.7923 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.733e-06/0.806, allocations: 0 / 0.7923 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.806, allocations: 4 kB / 0.7923 GB, free: 45.46 MB / 0.6544 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.001252/0.8072, allocations: 1.016 MB / 0.7932 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.8073, allocations: 10.34 kB / 0.7933 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.8074, allocations: 83.19 kB / 0.7933 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004873/0.8079, allocations: 494.1 kB / 0.7938 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.8079, allocations: 49 kB / 0.7939 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.74e-05/0.808, allocations: 55.12 kB / 0.7939 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007535/0.8088, allocations: 0.6129 MB / 0.7945 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.8088, allocations: 5.25 kB / 0.7945 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.423e-05/0.8089, allocations: 26.36 kB / 0.7945 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.8089, allocations: 13.44 kB / 0.7945 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005515/0.8094, allocations: 377.1 kB / 0.7949 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.8113, allocations: 2.555 MB / 0.7974 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005614/0.8119, allocations: 284.3 kB / 0.7977 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.8121, allocations: 137.5 kB / 0.7978 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.339e-05/0.8122, allocations: 5.578 kB / 0.7978 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003832/0.8126, allocations: 210.3 kB / 0.798 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 1.823e-06/0.8126, allocations: 0 / 0.798 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39): time 0.0008438/0.8134, allocations: 460 kB / 0.7984 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.8135, allocations: 90.28 kB / 0.7985 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006866/0.8142, allocations: 0.6237 MB / 0.7991 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.8142, allocations: 46.64 kB / 0.7992 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.8145, allocations: 370 kB / 0.7995 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.424e-05/0.8146, allocations: 91.08 kB / 0.7996 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.8148, allocations: 145.4 kB / 0.7998 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.8149, allocations: 377.1 kB / 0.8001 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.8152, allocations: 136.9 kB / 0.8003 GB, free: 41.17 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004102/0.8156, allocations: 333 kB / 0.8006 GB, free: 40.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005446/0.8162, allocations: 410.3 kB / 0.801 GB, free: 40.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.8162, allocations: 6.812 kB / 0.801 GB, free: 40.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007846/0.817, allocations: 0.5141 MB / 0.8015 GB, free: 40.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.817, allocations: 11.44 kB / 0.8015 GB, free: 40.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.817, allocations: 13.34 kB / 0.8015 GB, free: 40.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.8171, allocations: 8.25 kB / 0.8015 GB, free: 40.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.8173, allocations: 77.83 kB / 0.8016 GB, free: 40.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/0.8173, allocations: 12.03 kB / 0.8016 GB, free: 40.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.8176, allocations: 63.45 kB / 0.8017 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/0.8176, allocations: 26.72 kB / 0.8017 GB, free: 40.32 MB / 0.6544 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.0002864/0.8179, allocations: 265.9 kB / 0.8019 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/0.818, allocations: 60.78 kB / 0.802 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007074/0.8187, allocations: 407.1 kB / 0.8024 GB, free: 39.95 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.8187, allocations: 9.859 kB / 0.8024 GB, free: 39.95 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.8187, allocations: 0.9375 kB / 0.8024 GB, free: 39.95 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.8187, allocations: 2.062 kB / 0.8024 GB, free: 39.95 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.8203, allocations: 1.053 MB / 0.8034 GB, free: 39.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.8203, allocations: 1.5 kB / 0.8034 GB, free: 39.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.8204, allocations: 24.19 kB / 0.8034 GB, free: 39.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.8205, allocations: 1.25 kB / 0.8034 GB, free: 39.35 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.8205, allocations: 13.91 kB / 0.8035 GB, free: 39.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.8205, allocations: 5.922 kB / 0.8035 GB, free: 39.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.8205, allocations: 0.7812 kB / 0.8035 GB, free: 39.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007312/0.8213, allocations: 477.6 kB / 0.8039 GB, free: 39.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.32e-05/0.8214, allocations: 145.2 kB / 0.8041 GB, free: 38.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-05/0.8214, allocations: 13.72 kB / 0.8041 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.8216, allocations: 16.2 kB / 0.8041 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.8217, allocations: 40.56 kB / 0.8041 GB, free: 38.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.986e-05/0.8218, allocations: 18.2 kB / 0.8041 GB, free: 38.92 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005159/0.8223, allocations: 412 kB / 0.8045 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8223, allocations: 0 / 0.8045 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005544/0.8229, allocations: 131.7 kB / 0.8047 GB, free: 38.71 MB / 0.6544 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.localActive,cooDow.active,$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.001122/0.824, allocations: 447 kB / 0.8051 GB, free: 38.58 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008008/0.8248, allocations: 380 kB / 0.8055 GB, free: 38.49 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.8248, allocations: 0.5938 kB / 0.8055 GB, free: 38.49 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.8251, allocations: 183.5 kB / 0.8056 GB, free: 38.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.8257, allocations: 103.5 kB / 0.8057 GB, free: 38.39 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.8276, allocations: 1.086 MB / 0.8068 GB, free: 37.83 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000533/0.8282, allocations: 0.9302 MB / 0.8077 GB, free: 37.12 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000263/0.8284, allocations: 82.14 kB / 0.8078 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.8286, allocations: 44.06 kB / 0.8078 GB, free: 37.1 MB / 0.6544 GB Notification: Performance of SimCode: time 7.01e-07/0.8286, allocations: 0 / 0.8078 GB, free: 37.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.01457/0.8432, allocations: 5.429 MB / 0.8131 GB, free: 36.77 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)