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.745/1.745, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001262/0.001262, allocations: 176.8 kB / 361.4 MB, free: 6.832 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.638/1.638, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.000825/0.0008251, allocations: 92.72 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.698e-05/2.7e-05, allocations: 8 kB / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6161/0.6161, allocations: 115.3 MB / 0.9645 GB, free: 78.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1816/0.7978, allocations: 143.7 MB / 1.105 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.7981, allocations: 88.55 kB / 1.105 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03259/0.8307, allocations: 12.4 MB / 1.117 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8308, allocations: 0 / 1.117 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.283e-05/0.8309, allocations: 8 kB / 1.117 GB, free: 15.66 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.001073/0.8319, allocations: 0.6735 MB / 1.118 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.832, allocations: 8.031 kB / 1.118 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.8322, allocations: 60.28 kB / 1.118 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008371/0.833, allocations: 423.2 kB / 1.118 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.8331, allocations: 4 kB / 1.118 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.953e-05/0.8331, allocations: 15.61 kB / 1.118 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002142/0.8334, allocations: 72.45 kB / 1.118 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.8336, allocations: 116.2 kB / 1.118 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.8336, allocations: 0 / 1.118 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.8336, allocations: 4.828 kB / 1.118 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.8337, allocations: 7.938 kB / 1.118 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.8348, allocations: 0.6178 MB / 1.119 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.8351, allocations: 122.8 kB / 1.119 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.163e-05/0.8352, allocations: 36.86 kB / 1.119 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.8353, allocations: 4 kB / 1.119 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/0.8355, allocations: 99.31 kB / 1.119 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 2.134e-06/0.8355, allocations: 2.812 kB / 1.119 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0003616/0.8358, allocations: 165.1 kB / 1.119 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.8359, allocations: 51.41 kB / 1.119 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007687/0.8367, allocations: 0.5415 MB / 1.12 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.8367, allocations: 29.7 kB / 1.12 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.8369, allocations: 268.3 kB / 1.12 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.837, allocations: 35.61 kB / 1.12 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/0.837, allocations: 0 / 1.12 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.8372, allocations: 362.8 kB / 1.121 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.8373, allocations: 83.97 kB / 1.121 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.8375, allocations: 116.2 kB / 1.121 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.8378, allocations: 96.78 kB / 1.121 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.8378, allocations: 0 / 1.121 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005555/0.8384, allocations: 282.8 kB / 1.121 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.8384, allocations: 4.625 kB / 1.121 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.8384, allocations: 4 kB / 1.121 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.8384, allocations: 0 / 1.121 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.8387, allocations: 35.92 kB / 1.121 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.8387, allocations: 0 / 1.121 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.8389, allocations: 39.84 kB / 1.121 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.839, allocations: 8 kB / 1.121 GB, free: 11.11 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 0.0001205/0.8391, allocations: 112.9 kB / 1.121 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002663/0.8394, allocations: 164.9 kB / 1.121 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/0.8395, allocations: 51.34 kB / 1.122 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003445/0.8398, allocations: 180.5 kB / 1.122 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.8398, allocations: 4 kB / 1.122 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8399, allocations: 0 / 1.122 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.8399, allocations: 0 / 1.122 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003946/0.8403, allocations: 346 kB / 1.122 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8403, allocations: 0 / 1.122 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.013e-05/0.8404, allocations: 12.64 kB / 1.122 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.8404, allocations: 0 / 1.122 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.8404, allocations: 4 kB / 1.122 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.8404, allocations: 0 / 1.122 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8404, allocations: 0 / 1.122 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.8408, allocations: 244.9 kB / 1.122 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.841, allocations: 136.3 kB / 1.122 GB, free: 9.793 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.749e-05/0.841, allocations: 11.28 kB / 1.122 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.8412, allocations: 15.98 kB / 1.122 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.198e-05/0.8413, allocations: 23.95 kB / 1.122 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.8413, allocations: 9.688 kB / 1.122 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004562/0.8418, allocations: 394.9 kB / 1.123 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8418, allocations: 0 / 1.123 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003547/0.8422, allocations: 79.86 kB / 1.123 GB, free: 9.277 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.001575/0.8437, allocations: 1.081 MB / 1.124 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002757/0.844, allocations: 143.9 kB / 1.124 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.844, allocations: 64 / 1.124 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.938e-05/0.8441, allocations: 59.92 kB / 1.124 GB, free: 8.105 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.8446, allocations: 62.28 kB / 1.124 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.8461, allocations: 0.7073 MB / 1.125 GB, free: 7.301 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.8465, allocations: 0.8692 MB / 1.126 GB, free: 6.406 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001581/0.8467, allocations: 42.27 kB / 1.126 GB, free: 6.367 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.8469, allocations: 159.4 kB / 1.126 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of SimCode: time 8.81e-07/0.8469, allocations: 0 / 1.126 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.878, allocations: 8.521 MB / 1.134 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.8783, allocations: 201.1 kB / 1.134 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.119/2.997, allocations: 0 / 1.134 GB, free: 13.66 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)