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.728/1.728, allocations: 288.2 MB / 303.2 MB, free: 8.219 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.001014/0.001014, allocations: 184.4 kB / 371.8 MB, free: 10.29 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.815/1.815, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0008527/0.0008526, allocations: 85.11 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.000456, allocations: 12.38 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2963, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9913/1.288, allocations: 144.4 MB / 1.121 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/1.288, allocations: 92 kB / 1.121 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03079/1.319, allocations: 12.56 MB / 1.133 GB, free: 29.31 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.415e-06/1.319, allocations: 0 / 1.133 GB, free: 29.31 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.64e-05/1.319, allocations: 7.688 kB / 1.133 GB, free: 29.31 MB / 0.698 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.001711/1.321, allocations: 0.7787 MB / 1.134 GB, free: 28.67 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/1.321, allocations: 15.81 kB / 1.134 GB, free: 28.66 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.74e-05/1.321, allocations: 45.28 kB / 1.134 GB, free: 28.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/1.321, allocations: 62.31 kB / 1.134 GB, free: 28.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009477/1.322, allocations: 422.5 kB / 1.134 GB, free: 28.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/1.322, allocations: 11.39 kB / 1.134 GB, free: 28.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/1.322, allocations: 17.72 kB / 1.134 GB, free: 28.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/1.322, allocations: 132.7 kB / 1.134 GB, free: 28.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/1.322, allocations: 0 / 1.134 GB, free: 28.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/1.322, allocations: 6.562 kB / 1.134 GB, free: 28.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/1.322, allocations: 7.875 kB / 1.134 GB, free: 28.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/1.323, allocations: 83.42 kB / 1.134 GB, free: 28.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/1.324, allocations: 0.6667 MB / 1.135 GB, free: 27.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/1.324, allocations: 128.5 kB / 1.135 GB, free: 27.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/1.324, allocations: 8 kB / 1.135 GB, free: 27.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/1.325, allocations: 103.4 kB / 1.135 GB, free: 27.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 2.776e-06/1.325, allocations: 0 / 1.135 GB, free: 27.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0005219/1.325, allocations: 212.6 kB / 1.135 GB, free: 27.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/1.325, allocations: 51.41 kB / 1.136 GB, free: 27.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007666/1.326, allocations: 0.579 MB / 1.136 GB, free: 27.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/1.326, allocations: 32.8 kB / 1.136 GB, free: 27.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/1.326, allocations: 267.5 kB / 1.136 GB, free: 27.19 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/1.326, allocations: 30.36 kB / 1.136 GB, free: 27.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/1.326, allocations: 3.562 kB / 1.136 GB, free: 27.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.326, allocations: 374.7 kB / 1.137 GB, free: 26.83 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/1.327, allocations: 88.67 kB / 1.137 GB, free: 26.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/1.327, allocations: 128.7 kB / 1.137 GB, free: 26.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/1.327, allocations: 88.11 kB / 1.137 GB, free: 26.76 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.327, allocations: 0 / 1.137 GB, free: 26.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004827/1.328, allocations: 297.1 kB / 1.137 GB, free: 26.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/1.328, allocations: 3.812 kB / 1.137 GB, free: 26.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.328, allocations: 7.688 kB / 1.137 GB, free: 26.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/1.328, allocations: 0 / 1.137 GB, free: 26.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/1.328, allocations: 41.42 kB / 1.137 GB, free: 26.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/1.328, allocations: 4 kB / 1.137 GB, free: 26.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/1.328, allocations: 35.09 kB / 1.137 GB, free: 26.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/1.328, allocations: 15.31 kB / 1.137 GB, free: 26.64 MB / 0.698 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 () * Number of clocked 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 0.0002508/1.328, allocations: 209.5 kB / 1.138 GB, free: 26.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/1.328, allocations: 54.28 kB / 1.138 GB, free: 26.47 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000343/1.329, allocations: 187.2 kB / 1.138 GB, free: 26.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/1.329, allocations: 0 / 1.138 GB, free: 26.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.329, allocations: 3.938 kB / 1.138 GB, free: 26.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.329, allocations: 3.75 kB / 1.138 GB, free: 26.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003377/1.329, allocations: 377.9 kB / 1.138 GB, free: 26.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.329, allocations: 0 / 1.138 GB, free: 26.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.19e-05/1.329, allocations: 11.62 kB / 1.138 GB, free: 26.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/1.329, allocations: 0 / 1.138 GB, free: 26.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/1.329, allocations: 3.875 kB / 1.138 GB, free: 26.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.329, allocations: 4 kB / 1.138 GB, free: 26.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/1.329, allocations: 7.891 kB / 1.138 GB, free: 26.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/1.33, allocations: 250.9 kB / 1.139 GB, free: 26.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/1.33, allocations: 134.7 kB / 1.139 GB, free: 25.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.121e-05/1.33, allocations: 7.094 kB / 1.139 GB, free: 25.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/1.33, allocations: 22.67 kB / 1.139 GB, free: 25.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/1.33, allocations: 26.7 kB / 1.139 GB, free: 25.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/1.33, allocations: 0 / 1.139 GB, free: 25.87 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004732/1.331, allocations: 434.2 kB / 1.139 GB, free: 25.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.331, allocations: 0 / 1.139 GB, free: 25.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000382/1.331, allocations: 83.12 kB / 1.139 GB, free: 25.7 MB / 0.698 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) * Number of clocked states: 0 () * 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.001755/1.333, allocations: 1.165 MB / 1.14 GB, free: 24.92 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003296/1.333, allocations: 164.6 kB / 1.14 GB, free: 24.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.333, allocations: 0 / 1.14 GB, free: 24.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/1.333, allocations: 52.98 kB / 1.141 GB, free: 24.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/1.334, allocations: 60.92 kB / 1.141 GB, free: 24.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/1.336, allocations: 1.424 MB / 1.142 GB, free: 23.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/1.336, allocations: 0.8751 MB / 1.143 GB, free: 23.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001481/1.336, allocations: 37.44 kB / 1.143 GB, free: 23.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/1.336, allocations: 161.7 kB / 1.143 GB, free: 23.07 MB / 0.698 GB Notification: Performance of SimCode: time 5.82e-07/1.336, allocations: 0 / 1.143 GB, free: 23.07 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/1.361, allocations: 9.319 MB / 1.152 GB, free: 18.55 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/1.362, allocations: 232 kB / 1.152 GB, free: 18.31 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/3.629, allocations: 3.938 kB / 1.152 GB, free: 18.3 MB / 0.698 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)