Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.461/1.461, allocations: 288.4 MB / 303.6 MB, free: 8.133 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.0009524/0.0009524, allocations: 180.4 kB / 372.3 MB, free: 10.12 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.17/1.17, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.000568/0.000568, allocations: 102.3 kB / 0.7444 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003308, allocations: 16.84 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1384, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.002184/0.1406, allocations: 2.417 MB / 0.9826 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.1424, allocations: 1.511 MB / 0.984 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002377/0.1426, allocations: 15.88 kB / 0.984 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006704/0.1433, allocations: 282.8 kB / 0.9843 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.1437, allocations: 153.5 kB / 0.9845 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005785/0.1443, allocations: 276.7 kB / 0.9847 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005189/0.1448, allocations: 0.6364 MB / 0.9853 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004404/0.1452, allocations: 415 kB / 0.9857 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.1454, allocations: 211.1 kB / 0.9859 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.1456, allocations: 226.9 kB / 0.9862 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.496e-05/0.1457, allocations: 24 kB / 0.9862 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.1459, allocations: 67.91 kB / 0.9862 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.146, allocations: 159.4 kB / 0.9864 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.1461, allocations: 284 kB / 0.9867 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.1465, allocations: 0.5261 MB / 0.9872 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1465, allocations: 7.938 kB / 0.9872 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1465, allocations: 0 / 0.9872 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.1465, allocations: 4 kB / 0.9872 GB, free: 20.04 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.0009058/0.1474, allocations: 0.881 MB / 0.9881 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1475, allocations: 8.031 kB / 0.9881 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.765e-05/0.1476, allocations: 98.64 kB / 0.9882 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.129e-05/0.1477, allocations: 87.89 kB / 0.9882 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.1481, allocations: 488.8 kB / 0.9887 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.1482, allocations: 45.69 kB / 0.9888 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.478e-05/0.1482, allocations: 63.94 kB / 0.9888 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006869/0.1489, allocations: 0.6013 MB / 0.9894 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1489, allocations: 4 kB / 0.9894 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.149, allocations: 20 kB / 0.9894 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.149, allocations: 19.98 kB / 0.9894 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004893/0.1495, allocations: 379.5 kB / 0.9898 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.1511, allocations: 2.568 MB / 0.9923 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.1516, allocations: 278.8 kB / 0.9926 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.1518, allocations: 144.7 kB / 0.9927 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.1518, allocations: 4 kB / 0.9927 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002861/0.1521, allocations: 213.8 kB / 0.9929 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 2.395e-06/0.1521, allocations: 0 / 0.9929 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.0006118/0.1527, allocations: 462.4 kB / 0.9934 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.1528, allocations: 85.09 kB / 0.9934 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004493/0.1532, allocations: 0.6285 MB / 0.9941 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.1533, allocations: 45.7 kB / 0.9941 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.1534, allocations: 360.4 kB / 0.9944 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.1535, allocations: 98.73 kB / 0.9945 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/0.1535, allocations: 12 kB / 0.9946 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.595e-05/0.1536, allocations: 382.8 kB / 0.9949 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.1538, allocations: 125.2 kB / 0.995 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.154, allocations: 337.5 kB / 0.9954 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003725/0.1544, allocations: 405 kB / 0.9957 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.1544, allocations: 4 kB / 0.9957 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0006016/0.155, allocations: 0.5104 MB / 0.9962 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.155, allocations: 4 kB / 0.9962 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.155, allocations: 12.72 kB / 0.9963 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1551, allocations: 8 kB / 0.9963 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.1553, allocations: 79.78 kB / 0.9963 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.1553, allocations: 15.98 kB / 0.9964 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.1555, allocations: 51.53 kB / 0.9964 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.1555, allocations: 31.97 kB / 0.9964 GB, free: 10.04 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.0002076/0.1557, allocations: 276 kB / 0.9967 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.1558, allocations: 63.16 kB / 0.9968 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005127/0.1563, allocations: 407.3 kB / 0.9972 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1563, allocations: 4 kB / 0.9972 GB, free: 9.289 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1563, allocations: 0 / 0.9972 GB, free: 9.289 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1564, allocations: 3.984 kB / 0.9972 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009925/0.1574, allocations: 1.051 MB / 0.9982 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1574, allocations: 0 / 0.9982 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.832e-05/0.1575, allocations: 19.92 kB / 0.9982 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1575, allocations: 4 kB / 0.9982 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.1575, allocations: 15.98 kB / 0.9982 GB, free: 8.129 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.1575, allocations: 0 / 0.9982 GB, free: 8.129 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1575, allocations: 0 / 0.9982 GB, free: 8.129 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004359/0.158, allocations: 495 kB / 0.9987 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.457e-05/0.158, allocations: 128.3 kB / 0.9988 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.511e-05/0.1581, allocations: 15.98 kB / 0.9988 GB, free: 7.469 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.1582, allocations: 15.94 kB / 0.9988 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.491e-05/0.1583, allocations: 47.92 kB / 0.9989 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.1584, allocations: 19.98 kB / 0.9989 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002967/0.1587, allocations: 407 kB / 0.9993 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1587, allocations: 0 / 0.9993 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003802/0.159, allocations: 135.5 kB / 0.9994 GB, free: 6.863 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.001292/0.1603, allocations: 1.354 MB / 1.001 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000473/0.1608, allocations: 375 kB / 1.001 GB, free: 5.285 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1608, allocations: 4 kB / 1.001 GB, free: 5.281 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.161, allocations: 179.7 kB / 1.001 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.1615, allocations: 87.56 kB / 1.001 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/0.1648, allocations: 3.508 MB / 1.005 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.1651, allocations: 0.9302 MB / 1.006 GB, free: 444 kB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001873/0.1653, allocations: 84.33 kB / 1.006 GB, free: 360 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.1655, allocations: 247.3 kB / 1.006 GB, free: 112 kB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.1655, allocations: 0 / 1.006 GB, free: 112 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.107/1.273, allocations: 11.41 MB / 1.017 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/1.273, allocations: 229.3 kB / 1.017 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.67/3.943, allocations: 0 / 1.017 GB, free: 4.582 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)