Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.163/2.163, allocations: 248.5 MB / 261.1 MB, free: 6.012 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001665/0.001664, allocations: 168.9 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.874/1.874, allocations: 205.2 MB / 0.571 GB, free: 11.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001068, allocations: 105.1 kB / 0.6754 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.578e-05/3.588e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1882, allocations: 106.3 MB / 0.8907 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8513/1.04, allocations: 139.3 MB / 1.027 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/1.04, allocations: 97.75 kB / 1.027 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05988/1.1, allocations: 14.38 MB / 1.041 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.733e-06/1.1, allocations: 0 / 1.041 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.002e-05/1.1, allocations: 19.98 kB / 1.041 GB, free: 15.27 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001607/1.102, allocations: 0.8339 MB / 1.042 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/1.102, allocations: 8.031 kB / 1.042 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/1.102, allocations: 98.39 kB / 1.042 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/1.102, allocations: 82.97 kB / 1.042 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009807/1.103, allocations: 440.6 kB / 1.042 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/1.103, allocations: 75.02 kB / 1.042 GB, free: 13.78 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/1.103, allocations: 63.42 kB / 1.042 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/1.105, allocations: 0.5947 MB / 1.043 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/1.105, allocations: 7.938 kB / 1.043 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.197e-05/1.105, allocations: 21.19 kB / 1.043 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/1.105, allocations: 16 kB / 1.043 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/1.106, allocations: 369.8 kB / 1.043 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003772/1.11, allocations: 2.567 MB / 1.046 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008262/1.111, allocations: 272.7 kB / 1.046 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/1.111, allocations: 133.1 kB / 1.046 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.906e-05/1.111, allocations: 4 kB / 1.046 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00051/1.111, allocations: 200.7 kB / 1.047 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=40): time 3.898e-06/1.111, allocations: 0 / 1.047 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of matching and sorting (n=40): time 0.0009554/1.112, allocations: 345.4 kB / 1.047 GB, free: 9.883 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/1.113, allocations: 81.11 kB / 1.047 GB, free: 9.785 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/1.114, allocations: 0.5745 MB / 1.047 GB, free: 9.332 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.169e-05/1.114, allocations: 51.44 kB / 1.048 GB, free: 9.289 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000389/1.114, allocations: 369.3 kB / 1.048 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/1.114, allocations: 92.3 kB / 1.048 GB, free: 8.973 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/1.114, allocations: 14.69 kB / 1.048 GB, free: 8.969 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002152/1.115, allocations: 382.3 kB / 1.048 GB, free: 8.613 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/1.115, allocations: 130.4 kB / 1.048 GB, free: 8.531 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005769/1.115, allocations: 331.4 kB / 1.049 GB, free: 8.18 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/1.116, allocations: 152.7 kB / 1.049 GB, free: 8.066 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/1.116, allocations: 4 kB / 1.049 GB, free: 8.062 MB / 0.6667 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001316/1.117, allocations: 0.5155 MB / 1.049 GB, free: 7.641 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/1.117, allocations: 8 kB / 1.049 GB, free: 7.633 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/1.117, allocations: 4 kB / 1.049 GB, free: 7.629 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.601e-05/1.117, allocations: 15.94 kB / 1.049 GB, free: 7.613 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/1.118, allocations: 75.59 kB / 1.05 GB, free: 7.543 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-05/1.118, allocations: 16.52 kB / 1.05 GB, free: 7.527 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/1.118, allocations: 50.06 kB / 1.05 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.995e-05/1.118, allocations: 30.31 kB / 1.05 GB, free: 7.465 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.timer.yAcc,timer.yAcc,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition4,$whenCondition2,$whenCondition3,actMod,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,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,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,norm.active,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,transition3.enableFire,$PRE.timer.entryTime,timer.entryTime,timeDel.y,transition5.enableFire,$PRE.timer.reset_internal,timer.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.0002192/1.119, allocations: 170.8 kB / 1.05 GB, free: 7.312 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/1.119, allocations: 63.16 kB / 1.05 GB, free: 7.25 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/1.12, allocations: 404.5 kB / 1.05 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/1.12, allocations: 8 kB / 1.05 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/1.12, allocations: 4 kB / 1.05 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/1.12, allocations: 3.984 kB / 1.05 GB, free: 6.934 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/1.122, allocations: 1.041 MB / 1.051 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.122, allocations: 0 / 1.051 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/1.122, allocations: 23.92 kB / 1.051 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/1.122, allocations: 0 / 1.051 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/1.122, allocations: 19.23 kB / 1.051 GB, free: 6.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.822e-06/1.122, allocations: 4 kB / 1.051 GB, free: 6.016 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.122, allocations: 0 / 1.051 GB, free: 6.016 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008829/1.123, allocations: 471.3 kB / 1.052 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/1.124, allocations: 135.8 kB / 1.052 GB, free: 5.465 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/1.124, allocations: 15.11 kB / 1.052 GB, free: 5.457 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/1.124, allocations: 11.44 kB / 1.052 GB, free: 5.449 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/1.124, allocations: 54.67 kB / 1.052 GB, free: 5.402 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.108e-05/1.124, allocations: 19.11 kB / 1.052 GB, free: 5.387 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007557/1.125, allocations: 421 kB / 1.052 GB, free: 5.074 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.1e-07/1.125, allocations: 0 / 1.052 GB, free: 5.074 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008055/1.126, allocations: 131.3 kB / 1.053 GB, free: 4.965 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 38 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,actMod,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,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.entryTime,timer.yAcc,timeDel.y) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,norm.newActive,off.newActive,timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 39 * 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.002536/1.128, allocations: 1.334 MB / 1.054 GB, free: 3.82 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001005/1.129, allocations: 384.2 kB / 1.054 GB, free: 3.539 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/1.129, allocations: 0 / 1.054 GB, free: 3.539 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003868/1.13, allocations: 165.7 kB / 1.054 GB, free: 3.422 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007009/1.131, allocations: 75.3 kB / 1.054 GB, free: 3.375 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/1.133, allocations: 0.9576 MB / 1.055 GB, free: 2.5 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007096/1.134, allocations: 0.9515 MB / 1.056 GB, free: 1.535 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004132/1.134, allocations: 76.27 kB / 1.056 GB, free: 1.461 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004302/1.135, allocations: 253.9 kB / 1.057 GB, free: 1.398 MB / 0.6667 GB Notification: Performance of SimCode: time 8.41e-07/1.135, allocations: 4 kB / 1.057 GB, free: 1.395 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04678/1.182, allocations: 12.23 MB / 1.069 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003312/1.182, allocations: 206.6 kB / 1.069 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.801/3.983, allocations: 7.875 kB / 1.069 GB, free: 5.059 MB / 0.6823 GB