Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.759/1.759, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001252/0.001252, allocations: 184.9 kB / 366.7 MB, free: 1.695 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.591/1.591, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.001039/0.001039, allocations: 82.62 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.416e-05/2.436e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6384/0.6384, allocations: 116.3 MB / 0.9733 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1765/0.815, allocations: 144.7 MB / 1.115 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.8152, allocations: 83.95 kB / 1.115 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0317/0.847, allocations: 12.41 MB / 1.127 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.643e-06/0.847, allocations: 0 / 1.127 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.976e-05/0.847, allocations: 8 kB / 1.127 GB, free: 8.93 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007852/0.8478, allocations: 0.6657 MB / 1.127 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.8479, allocations: 12.03 kB / 1.127 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.901e-05/0.848, allocations: 61.25 kB / 1.128 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006194/0.8486, allocations: 425.1 kB / 1.128 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.8486, allocations: 4 kB / 1.128 GB, free: 7.691 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.8487, allocations: 11.98 kB / 1.128 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001614/0.8488, allocations: 80.39 kB / 1.128 GB, free: 7.602 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.849, allocations: 109.9 kB / 1.128 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.8491, allocations: 3.984 kB / 1.128 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.8491, allocations: 0 / 1.128 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.8491, allocations: 4 kB / 1.128 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009325/0.85, allocations: 0.6217 MB / 1.129 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.8503, allocations: 122.7 kB / 1.129 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.216e-05/0.8503, allocations: 40.86 kB / 1.129 GB, free: 6.652 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.8504, allocations: 3.984 kB / 1.129 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.8505, allocations: 97.78 kB / 1.129 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.8505, allocations: 0 / 1.129 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0002743/0.8508, allocations: 169 kB / 1.129 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.8509, allocations: 55.41 kB / 1.129 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005641/0.8514, allocations: 0.5376 MB / 1.13 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.8515, allocations: 25.7 kB / 1.13 GB, free: 5.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.8516, allocations: 270.7 kB / 1.13 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.8517, allocations: 35.59 kB / 1.13 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.8517, allocations: 0 / 1.13 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.8518, allocations: 366.8 kB / 1.13 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.852, allocations: 84.84 kB / 1.13 GB, free: 4.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.8521, allocations: 121.3 kB / 1.131 GB, free: 4.852 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.8523, allocations: 83.94 kB / 1.131 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.8524, allocations: 4.031 kB / 1.131 GB, free: 4.766 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004372/0.8528, allocations: 290.5 kB / 1.131 GB, free: 4.477 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.8528, allocations: 4 kB / 1.131 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.8528, allocations: 0 / 1.131 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.8529, allocations: 4 kB / 1.131 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.853, allocations: 35.92 kB / 1.131 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.8531, allocations: 0 / 1.131 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.8532, allocations: 35.84 kB / 1.131 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.8533, allocations: 12 kB / 1.131 GB, free: 4.387 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 8.828e-05/0.8534, allocations: 112.1 kB / 1.131 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002052/0.8536, allocations: 168.8 kB / 1.131 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.8536, allocations: 51.34 kB / 1.131 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.8539, allocations: 178.4 kB / 1.132 GB, free: 3.867 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.8539, allocations: 4 kB / 1.132 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.8539, allocations: 0 / 1.132 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.8539, allocations: 0 / 1.132 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.8543, allocations: 334 kB / 1.132 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8543, allocations: 0 / 1.132 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.489e-05/0.8543, allocations: 19.92 kB / 1.132 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.8544, allocations: 3.281 kB / 1.132 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.8544, allocations: 0 / 1.132 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.8544, allocations: 0 / 1.132 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.8544, allocations: 4 kB / 1.132 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.8547, allocations: 249.8 kB / 1.132 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.93e-05/0.8548, allocations: 136.3 kB / 1.132 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/0.8549, allocations: 4 kB / 1.132 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.855, allocations: 11.98 kB / 1.132 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/0.8551, allocations: 27.95 kB / 1.132 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.8551, allocations: 7.938 kB / 1.132 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003868/0.8555, allocations: 398.9 kB / 1.133 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8555, allocations: 0 / 1.133 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003028/0.8558, allocations: 75.86 kB / 1.133 GB, free: 2.551 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.maxPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001341/0.8572, allocations: 1.071 MB / 1.134 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.8574, allocations: 143.9 kB / 1.134 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8574, allocations: 0 / 1.134 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.38e-05/0.8575, allocations: 59.98 kB / 1.134 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.8579, allocations: 60.11 kB / 1.134 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.859, allocations: 0.7112 MB / 1.135 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.8594, allocations: 0.8614 MB / 1.136 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000119/0.8595, allocations: 40.8 kB / 1.136 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.8597, allocations: 163.4 kB / 1.136 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/0.8597, allocations: 0 / 1.136 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.8871, allocations: 8.526 MB / 1.144 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002808/0.8874, allocations: 178.7 kB / 1.144 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/2.961, allocations: 0 / 1.144 GB, free: 6.941 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)