Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.AssertPower,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.541/1.541, allocations: 285.4 MB / 298 MB, free: 5.93 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.0009722/0.0009721, allocations: 172.9 kB / 366.4 MB, free: 2.105 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.334/1.334, allocations: 205.1 MB / 0.6248 GB, free: 7.742 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.0008541/0.0008544, allocations: 99.08 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.451e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.55/0.55, allocations: 115.3 MB / 0.971 GB, free: 78.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1746/0.7247, allocations: 144.3 MB / 1.112 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/0.7251, allocations: 83.95 kB / 1.112 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03335/0.7585, allocations: 12.53 MB / 1.124 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7585, allocations: 0 / 1.124 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.159e-05/0.7586, allocations: 8 kB / 1.124 GB, free: 10.8 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.0008015/0.7594, allocations: 0.6579 MB / 1.125 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.7594, allocations: 12.02 kB / 1.125 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.264e-05/0.7595, allocations: 42.56 kB / 1.125 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.82e-05/0.7596, allocations: 63.19 kB / 1.125 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006783/0.7603, allocations: 429 kB / 1.125 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.7603, allocations: 12.23 kB / 1.125 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.7604, allocations: 12 kB / 1.125 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.7606, allocations: 138.5 kB / 1.126 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.7606, allocations: 0 / 1.126 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.7606, allocations: 8 kB / 1.126 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.7607, allocations: 0 / 1.126 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.7608, allocations: 79.98 kB / 1.126 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.7619, allocations: 0.6641 MB / 1.126 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.7621, allocations: 128.7 kB / 1.126 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.78e-05/0.7622, allocations: 48.89 kB / 1.127 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.7623, allocations: 3.984 kB / 1.127 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.7625, allocations: 99.38 kB / 1.127 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.943e-06/0.7625, allocations: 224 / 1.127 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0003295/0.7628, allocations: 178 kB / 1.127 GB, free: 8.074 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.7629, allocations: 51.41 kB / 1.127 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006436/0.7635, allocations: 0.5636 MB / 1.127 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.7635, allocations: 33.7 kB / 1.127 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.7637, allocations: 268.3 kB / 1.128 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.7638, allocations: 31.61 kB / 1.128 GB, free: 7.102 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/0.7638, allocations: 4 kB / 1.128 GB, free: 7.098 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.7639, allocations: 374.7 kB / 1.128 GB, free: 6.723 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.7641, allocations: 83.98 kB / 1.128 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.7642, allocations: 120.3 kB / 1.128 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.7644, allocations: 88 kB / 1.128 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7644, allocations: 0 / 1.128 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004232/0.7648, allocations: 287 kB / 1.129 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.7649, allocations: 14.8 kB / 1.129 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.7649, allocations: 0 / 1.129 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.7649, allocations: 0 / 1.129 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.7651, allocations: 35.92 kB / 1.129 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.7651, allocations: 0 / 1.129 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.7653, allocations: 47.78 kB / 1.129 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.7654, allocations: 13.31 kB / 1.129 GB, free: 6.035 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 9.5e-05/0.7655, allocations: 124.9 kB / 1.129 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.7655, allocations: 51.34 kB / 1.129 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000317/0.7659, allocations: 182.4 kB / 1.129 GB, free: 5.672 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.7659, allocations: 4 kB / 1.129 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.7659, allocations: 0 / 1.129 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.7659, allocations: 4 kB / 1.129 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.7662, allocations: 369.4 kB / 1.129 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.7663, allocations: 3.984 kB / 1.129 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.931e-05/0.7663, allocations: 15.94 kB / 1.129 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.7663, allocations: 0 / 1.129 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.7664, allocations: 1.812 kB / 1.129 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7664, allocations: 0 / 1.129 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7664, allocations: 4 kB / 1.129 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.7668, allocations: 254 kB / 1.13 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.7669, allocations: 136.4 kB / 1.13 GB, free: 4.812 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.767, allocations: 4 kB / 1.13 GB, free: 4.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.7671, allocations: 15.98 kB / 1.13 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.698e-05/0.7672, allocations: 27.95 kB / 1.13 GB, free: 4.766 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.7672, allocations: 8 kB / 1.13 GB, free: 4.758 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004554/0.7677, allocations: 421.6 kB / 1.13 GB, free: 4.348 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7677, allocations: 4 kB / 1.13 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003162/0.768, allocations: 87.77 kB / 1.13 GB, free: 4.258 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.00138/0.7694, allocations: 1.11 MB / 1.131 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002802/0.7697, allocations: 155.8 kB / 1.132 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.7697, allocations: 4 kB / 1.132 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.187e-05/0.7698, allocations: 48 kB / 1.132 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.7702, allocations: 71.53 kB / 1.132 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.7715, allocations: 0.7155 MB / 1.132 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.7719, allocations: 0.8691 MB / 1.133 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001311/0.772, allocations: 50.41 kB / 1.133 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.7722, allocations: 156.8 kB / 1.133 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.7722, allocations: 0 / 1.133 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.7936, allocations: 9.476 MB / 1.143 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.7938, allocations: 213 kB / 1.143 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.075/2.869, allocations: 0 / 1.143 GB, free: 7.73 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)