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.713/1.713, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001292/0.001292, allocations: 190.8 kB / 377.1 MB, free: 1.535 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.824/1.824, allocations: 205.4 MB / 0.6366 GB, free: 8.543 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.0009496/0.0009496, allocations: 94.77 kB / 0.7509 GB, free: 63.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.000391, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3568, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9532/1.31, allocations: 145.4 MB / 1.13 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/1.311, allocations: 94.06 kB / 1.13 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03661/1.347, allocations: 12.54 MB / 1.143 GB, free: 21.59 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.737e-06/1.347, allocations: 4 kB / 1.143 GB, free: 21.59 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.532e-05/1.347, allocations: 12 kB / 1.143 GB, free: 21.57 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.001382/1.349, allocations: 0.7826 MB / 1.144 GB, free: 20.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/1.349, allocations: 12.86 kB / 1.144 GB, free: 20.79 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.323e-05/1.349, allocations: 46.89 kB / 1.144 GB, free: 20.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.621e-05/1.349, allocations: 66.02 kB / 1.144 GB, free: 20.67 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008244/1.35, allocations: 422.2 kB / 1.144 GB, free: 20.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/1.35, allocations: 12.23 kB / 1.144 GB, free: 20.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/1.35, allocations: 12.61 kB / 1.144 GB, free: 20.24 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/1.35, allocations: 131 kB / 1.144 GB, free: 20.13 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/1.35, allocations: 0 / 1.144 GB, free: 20.13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/1.35, allocations: 11.94 kB / 1.144 GB, free: 20.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/1.35, allocations: 8.562 kB / 1.144 GB, free: 20.11 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/1.35, allocations: 83.91 kB / 1.144 GB, free: 20.04 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/1.352, allocations: 0.6651 MB / 1.145 GB, free: 19.45 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/1.352, allocations: 139.2 kB / 1.145 GB, free: 19.32 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/1.352, allocations: 1.594 kB / 1.145 GB, free: 19.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/1.352, allocations: 100.2 kB / 1.145 GB, free: 19.23 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 2.275e-06/1.352, allocations: 0 / 1.145 GB, free: 19.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0004582/1.353, allocations: 213.5 kB / 1.145 GB, free: 19.03 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/1.353, allocations: 56.16 kB / 1.145 GB, free: 18.96 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007395/1.354, allocations: 0.575 MB / 1.146 GB, free: 18.46 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/1.354, allocations: 34.36 kB / 1.146 GB, free: 18.42 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/1.354, allocations: 266.5 kB / 1.146 GB, free: 18.17 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/1.354, allocations: 27.47 kB / 1.146 GB, free: 18.15 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/1.354, allocations: 4.656 kB / 1.146 GB, free: 18.14 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.354, allocations: 372.4 kB / 1.147 GB, free: 17.79 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/1.354, allocations: 88.31 kB / 1.147 GB, free: 17.71 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/1.354, allocations: 134.1 kB / 1.147 GB, free: 17.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/1.355, allocations: 83.92 kB / 1.147 GB, free: 17.51 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.355, allocations: 4 kB / 1.147 GB, free: 17.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004288/1.355, allocations: 293.8 kB / 1.147 GB, free: 17.24 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/1.355, allocations: 4.656 kB / 1.147 GB, free: 17.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.355, allocations: 0.75 kB / 1.147 GB, free: 17.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.355, allocations: 0 / 1.147 GB, free: 17.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/1.355, allocations: 41.52 kB / 1.147 GB, free: 17.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/1.355, allocations: 8.062 kB / 1.147 GB, free: 17.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/1.356, allocations: 30.8 kB / 1.147 GB, free: 17.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/1.356, allocations: 12.8 kB / 1.147 GB, free: 17.16 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 () * 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.0002423/1.356, allocations: 213.7 kB / 1.148 GB, free: 16.95 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/1.356, allocations: 55.34 kB / 1.148 GB, free: 16.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/1.356, allocations: 186.9 kB / 1.148 GB, free: 16.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.356, allocations: 0.6094 kB / 1.148 GB, free: 16.73 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.356, allocations: 0 / 1.148 GB, free: 16.73 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.356, allocations: 4.656 kB / 1.148 GB, free: 16.73 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/1.357, allocations: 374.5 kB / 1.148 GB, free: 16.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.357, allocations: 1.688 kB / 1.148 GB, free: 16.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.402e-05/1.357, allocations: 17.2 kB / 1.148 GB, free: 16.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/1.357, allocations: 0 / 1.148 GB, free: 16.36 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/1.357, allocations: 6.109 kB / 1.148 GB, free: 16.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/1.357, allocations: 4 kB / 1.148 GB, free: 16.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.357, allocations: 5.844 kB / 1.148 GB, free: 16.35 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004408/1.357, allocations: 256.1 kB / 1.148 GB, free: 16.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/1.357, allocations: 127.8 kB / 1.149 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-05/1.357, allocations: 10.66 kB / 1.149 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/1.358, allocations: 24.33 kB / 1.149 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.581e-05/1.358, allocations: 22.36 kB / 1.149 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/1.358, allocations: 6.062 kB / 1.149 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005132/1.358, allocations: 429 kB / 1.149 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.358, allocations: 0 / 1.149 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003822/1.359, allocations: 81.44 kB / 1.149 GB, free: 15.48 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) * 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.001717/1.36, allocations: 1.163 MB / 1.15 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000374/1.361, allocations: 164 kB / 1.15 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.361, allocations: 0 / 1.15 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/1.361, allocations: 57.05 kB / 1.15 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/1.361, allocations: 70.98 kB / 1.15 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/1.363, allocations: 1.416 MB / 1.152 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/1.364, allocations: 0.8694 MB / 1.153 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001942/1.364, allocations: 41.45 kB / 1.153 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/1.364, allocations: 159.3 kB / 1.153 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of SimCode: time 8.72e-07/1.364, allocations: 0 / 1.153 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/1.39, allocations: 9.31 MB / 1.162 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/1.39, allocations: 230.6 kB / 1.162 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.461/3.85, allocations: 0 / 1.162 GB, free: 4.469 MB / 0.7292 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)