Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.848/2.848, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.001545/0.001545, allocations: 186.9 kB / 370.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.115/2.115, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.00111/0.00111, allocations: 103.6 kB / 0.7428 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005086/0.0005086, allocations: 16.98 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2437, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9724/1.216, allocations: 144.3 MB / 1.119 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/1.217, allocations: 101.3 kB / 1.119 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04943/1.266, allocations: 12.54 MB / 1.132 GB, free: 29.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.586e-06/1.266, allocations: 0 / 1.132 GB, free: 29.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.097e-05/1.266, allocations: 7.719 kB / 1.132 GB, free: 29.29 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.001689/1.268, allocations: 0.7867 MB / 1.132 GB, free: 28.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/1.268, allocations: 19.42 kB / 1.132 GB, free: 28.64 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.789e-05/1.268, allocations: 45.39 kB / 1.132 GB, free: 28.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/1.268, allocations: 62.02 kB / 1.132 GB, free: 28.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009803/1.269, allocations: 421.6 kB / 1.133 GB, free: 28.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/1.269, allocations: 15.64 kB / 1.133 GB, free: 28.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/1.269, allocations: 15.19 kB / 1.133 GB, free: 28.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003719/1.27, allocations: 129.9 kB / 1.133 GB, free: 28.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/1.27, allocations: 3.844 kB / 1.133 GB, free: 28.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/1.27, allocations: 7.172 kB / 1.133 GB, free: 28.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/1.27, allocations: 3.844 kB / 1.133 GB, free: 28.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/1.27, allocations: 86.2 kB / 1.133 GB, free: 28.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/1.272, allocations: 0.6668 MB / 1.134 GB, free: 27.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/1.272, allocations: 127.7 kB / 1.134 GB, free: 27.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/1.272, allocations: 3.844 kB / 1.134 GB, free: 27.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002965/1.272, allocations: 105 kB / 1.134 GB, free: 27.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 3.596e-06/1.272, allocations: 0 / 1.134 GB, free: 27.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0007183/1.273, allocations: 214.4 kB / 1.134 GB, free: 27.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/1.273, allocations: 55.39 kB / 1.134 GB, free: 27.51 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/1.274, allocations: 0.5714 MB / 1.135 GB, free: 27.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/1.274, allocations: 33.17 kB / 1.135 GB, free: 27.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/1.275, allocations: 267 kB / 1.135 GB, free: 27.17 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.506e-05/1.275, allocations: 29.64 kB / 1.135 GB, free: 27.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/1.275, allocations: 7.188 kB / 1.135 GB, free: 27.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000179/1.275, allocations: 373.9 kB / 1.135 GB, free: 26.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/1.275, allocations: 84.8 kB / 1.136 GB, free: 26.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/1.275, allocations: 132.8 kB / 1.136 GB, free: 26.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/1.276, allocations: 80.33 kB / 1.136 GB, free: 26.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.276, allocations: 0 / 1.136 GB, free: 26.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007106/1.276, allocations: 302.8 kB / 1.136 GB, free: 26.65 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/1.276, allocations: 3.875 kB / 1.136 GB, free: 26.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/1.276, allocations: 0 / 1.136 GB, free: 26.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/1.277, allocations: 3.844 kB / 1.136 GB, free: 26.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/1.277, allocations: 39.06 kB / 1.136 GB, free: 26.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/1.277, allocations: 3.844 kB / 1.136 GB, free: 26.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/1.277, allocations: 34.77 kB / 1.136 GB, free: 26.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.405e-05/1.277, allocations: 7.656 kB / 1.136 GB, free: 26.62 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.0003975/1.278, allocations: 211.7 kB / 1.136 GB, free: 26.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/1.278, allocations: 50.44 kB / 1.136 GB, free: 26.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005443/1.278, allocations: 199.7 kB / 1.137 GB, free: 26.38 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/1.278, allocations: 0 / 1.137 GB, free: 26.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.278, allocations: 7.922 kB / 1.137 GB, free: 26.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.278, allocations: 4 kB / 1.137 GB, free: 26.37 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/1.279, allocations: 375.9 kB / 1.137 GB, free: 26.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/1.279, allocations: 0 / 1.137 GB, free: 26.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/1.279, allocations: 7.719 kB / 1.137 GB, free: 26.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/1.279, allocations: 7.953 kB / 1.137 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/1.279, allocations: 3.375 kB / 1.137 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/1.279, allocations: 0 / 1.137 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/1.279, allocations: 0 / 1.137 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006405/1.28, allocations: 268.4 kB / 1.137 GB, free: 25.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/1.28, allocations: 126.8 kB / 1.137 GB, free: 25.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.619e-05/1.28, allocations: 10.84 kB / 1.137 GB, free: 25.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/1.28, allocations: 15.67 kB / 1.137 GB, free: 25.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.744e-05/1.28, allocations: 26.55 kB / 1.137 GB, free: 25.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/1.28, allocations: 3.438 kB / 1.137 GB, free: 25.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007085/1.281, allocations: 426.4 kB / 1.138 GB, free: 25.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.4e-07/1.281, allocations: 64 / 1.138 GB, free: 25.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005396/1.282, allocations: 93.55 kB / 1.138 GB, free: 25.68 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.002278/1.284, allocations: 1.154 MB / 1.139 GB, free: 24.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005322/1.285, allocations: 162.7 kB / 1.139 GB, free: 24.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/1.285, allocations: 0 / 1.139 GB, free: 24.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/1.285, allocations: 63.97 kB / 1.139 GB, free: 24.87 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006366/1.285, allocations: 61.53 kB / 1.139 GB, free: 24.86 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/1.288, allocations: 1.417 MB / 1.141 GB, free: 23.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005429/1.289, allocations: 0.8665 MB / 1.141 GB, free: 23.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002734/1.289, allocations: 45.28 kB / 1.142 GB, free: 23.08 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/1.289, allocations: 159.5 kB / 1.142 GB, free: 23.06 MB / 0.698 GB Notification: Performance of SimCode: time 1.212e-06/1.289, allocations: 0 / 1.142 GB, free: 23.06 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04467/1.334, allocations: 9.315 MB / 1.151 GB, free: 18.59 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003105/1.334, allocations: 226.2 kB / 1.151 GB, free: 18.35 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.876/4.211, allocations: 0 / 1.151 GB, free: 18.35 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)