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.737/1.737, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001088/0.001088, allocations: 185.5 kB / 371.6 MB, free: 3.395 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.373/1.373, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.000871/0.000871, allocations: 88.5 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.302e-05/3.318e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1971, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6271/0.8243, allocations: 145.3 MB / 1.122 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.8246, allocations: 91.84 kB / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02804/0.8526, allocations: 12.52 MB / 1.134 GB, free: 32.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8527, allocations: 0 / 1.134 GB, free: 32.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.796e-05/0.8527, allocations: 11.98 kB / 1.134 GB, free: 32.72 MB / 0.7448 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.0006518/0.8534, allocations: 0.6657 MB / 1.135 GB, free: 32.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.8534, allocations: 8.031 kB / 1.135 GB, free: 32.09 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.347e-05/0.8535, allocations: 49.66 kB / 1.135 GB, free: 32.04 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.536e-05/0.8536, allocations: 60.97 kB / 1.135 GB, free: 31.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005733/0.8541, allocations: 418.9 kB / 1.135 GB, free: 31.61 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.8542, allocations: 15.64 kB / 1.135 GB, free: 31.6 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.8542, allocations: 11.88 kB / 1.135 GB, free: 31.59 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.8544, allocations: 126.6 kB / 1.135 GB, free: 31.51 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.8544, allocations: 0 / 1.135 GB, free: 31.51 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.8545, allocations: 11.92 kB / 1.135 GB, free: 31.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.8545, allocations: 0 / 1.135 GB, free: 31.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.8546, allocations: 85.73 kB / 1.136 GB, free: 31.45 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008371/0.8555, allocations: 0.6682 MB / 1.136 GB, free: 30.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.8557, allocations: 128 kB / 1.136 GB, free: 30.89 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.186e-05/0.8558, allocations: 36.91 kB / 1.136 GB, free: 30.87 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.8558, allocations: 11.88 kB / 1.136 GB, free: 30.86 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.856, allocations: 101.5 kB / 1.136 GB, free: 30.78 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 2.695e-06/0.856, allocations: 0 / 1.136 GB, free: 30.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0003103/0.8563, allocations: 166.3 kB / 1.137 GB, free: 30.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.8563, allocations: 52.25 kB / 1.137 GB, free: 30.58 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005537/0.8569, allocations: 0.5726 MB / 1.137 GB, free: 30.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.8569, allocations: 29.64 kB / 1.137 GB, free: 30.14 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.8571, allocations: 272.5 kB / 1.137 GB, free: 30.01 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.8571, allocations: 27.08 kB / 1.138 GB, free: 29.99 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/0.8571, allocations: 7.75 kB / 1.138 GB, free: 29.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.235e-05/0.8572, allocations: 371.5 kB / 1.138 GB, free: 29.65 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.8574, allocations: 91.53 kB / 1.138 GB, free: 29.6 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.8575, allocations: 119.8 kB / 1.138 GB, free: 29.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.8577, allocations: 88.39 kB / 1.138 GB, free: 29.46 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8577, allocations: 0 / 1.138 GB, free: 29.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003492/0.858, allocations: 285 kB / 1.138 GB, free: 29.26 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.858, allocations: 11.47 kB / 1.138 GB, free: 29.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.8581, allocations: 0 / 1.138 GB, free: 29.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.8581, allocations: 0 / 1.138 GB, free: 29.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.8583, allocations: 35.88 kB / 1.138 GB, free: 29.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.8583, allocations: 7.938 kB / 1.138 GB, free: 29.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.8585, allocations: 34.28 kB / 1.139 GB, free: 29.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.8585, allocations: 11.94 kB / 1.139 GB, free: 29.18 MB / 0.7448 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 6.671e-05/0.8586, allocations: 127.6 kB / 1.139 GB, free: 29.06 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.8586, allocations: 55.25 kB / 1.139 GB, free: 29.01 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.8589, allocations: 182.6 kB / 1.139 GB, free: 28.89 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.8589, allocations: 0 / 1.139 GB, free: 28.89 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.8589, allocations: 8.656 kB / 1.139 GB, free: 28.88 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.8589, allocations: 1.219 kB / 1.139 GB, free: 28.88 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.8592, allocations: 375.1 kB / 1.139 GB, free: 28.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8592, allocations: 4 kB / 1.139 GB, free: 28.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.194e-05/0.8593, allocations: 11.69 kB / 1.139 GB, free: 28.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8593, allocations: 0 / 1.139 GB, free: 28.59 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.8593, allocations: 5.031 kB / 1.139 GB, free: 28.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.8593, allocations: 4.656 kB / 1.139 GB, free: 28.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.8593, allocations: 0 / 1.139 GB, free: 28.58 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.8596, allocations: 256.9 kB / 1.14 GB, free: 28.38 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.139e-05/0.8597, allocations: 134.7 kB / 1.14 GB, free: 28.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.8598, allocations: 0 / 1.14 GB, free: 28.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.8599, allocations: 21.55 kB / 1.14 GB, free: 28.22 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.672e-05/0.86, allocations: 26.14 kB / 1.14 GB, free: 28.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.86, allocations: 8.734 kB / 1.14 GB, free: 28.2 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000389/0.8604, allocations: 427.1 kB / 1.14 GB, free: 27.92 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8604, allocations: 4.062 kB / 1.14 GB, free: 27.92 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003024/0.8607, allocations: 77.84 kB / 1.14 GB, free: 27.85 MB / 0.7448 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.001157/0.8619, allocations: 1.115 MB / 1.141 GB, free: 26.93 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.8621, allocations: 154.5 kB / 1.141 GB, free: 26.83 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8621, allocations: 0 / 1.141 GB, free: 26.83 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.95e-05/0.8622, allocations: 56.86 kB / 1.141 GB, free: 26.79 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.8626, allocations: 71.3 kB / 1.142 GB, free: 26.76 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009386/0.8635, allocations: 0.719 MB / 1.142 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.8638, allocations: 0.8654 MB / 1.143 GB, free: 25.37 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001188/0.8639, allocations: 46.78 kB / 1.143 GB, free: 25.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.8641, allocations: 157.5 kB / 1.143 GB, free: 25.32 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.8641, allocations: 0 / 1.143 GB, free: 25.32 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.8851, allocations: 9.478 MB / 1.153 GB, free: 19.53 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/0.8853, allocations: 187.9 kB / 1.153 GB, free: 19.31 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/2.879, allocations: 3.938 kB / 1.153 GB, free: 19.3 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)