Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.433/1.433, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001318/0.001319, allocations: 180.8 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008779/0.0008778, allocations: 91.67 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.0004867, allocations: 9.406 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3071, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2071/0.5143, allocations: 137.6 MB / 1.034 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003937/0.5148, allocations: 95.94 kB / 1.035 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03248/0.5473, allocations: 12 MB / 1.046 GB, free: 9.895 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5473, allocations: 0 / 1.046 GB, free: 9.895 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.12e-05/0.5474, allocations: 8 kB / 1.046 GB, free: 9.887 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001309/0.5487, allocations: 0.7578 MB / 1.047 GB, free: 9.078 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.5488, allocations: 8.031 kB / 1.047 GB, free: 9.07 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.749e-05/0.5488, allocations: 46.55 kB / 1.047 GB, free: 9.016 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.549, allocations: 59.3 kB / 1.047 GB, free: 8.957 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007208/0.5497, allocations: 395 kB / 1.048 GB, free: 8.531 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.5497, allocations: 8 kB / 1.048 GB, free: 8.523 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.5498, allocations: 12 kB / 1.048 GB, free: 8.512 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.5501, allocations: 135.1 kB / 1.048 GB, free: 8.375 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.5501, allocations: 0 / 1.048 GB, free: 8.375 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.5501, allocations: 4 kB / 1.048 GB, free: 8.371 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.5501, allocations: 3.984 kB / 1.048 GB, free: 8.367 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.5503, allocations: 83.95 kB / 1.048 GB, free: 8.285 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.5514, allocations: 0.6367 MB / 1.048 GB, free: 7.598 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.5517, allocations: 130.8 kB / 1.049 GB, free: 7.461 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.5518, allocations: 0 / 1.049 GB, free: 7.461 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.552, allocations: 107.3 kB / 1.049 GB, free: 7.344 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.744e-06/0.552, allocations: 0 / 1.049 GB, free: 7.344 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0004964/0.5525, allocations: 201.1 kB / 1.049 GB, free: 7.141 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.5526, allocations: 51.41 kB / 1.049 GB, free: 7.078 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007005/0.5533, allocations: 0.5607 MB / 1.049 GB, free: 6.512 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.5533, allocations: 29.7 kB / 1.049 GB, free: 6.477 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.5536, allocations: 256.2 kB / 1.05 GB, free: 6.223 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.5536, allocations: 31.59 kB / 1.05 GB, free: 6.191 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.5536, allocations: 4 kB / 1.05 GB, free: 6.188 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.5538, allocations: 374.7 kB / 1.05 GB, free: 5.812 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.554, allocations: 87.95 kB / 1.05 GB, free: 5.727 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.5542, allocations: 125.5 kB / 1.05 GB, free: 5.594 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.5543, allocations: 90.61 kB / 1.05 GB, free: 5.508 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5544, allocations: 0 / 1.05 GB, free: 5.508 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004457/0.5548, allocations: 284.9 kB / 1.051 GB, free: 5.223 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.5548, allocations: 7.938 kB / 1.051 GB, free: 5.215 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.5548, allocations: 7.984 kB / 1.051 GB, free: 5.207 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5549, allocations: 4 kB / 1.051 GB, free: 5.203 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.555, allocations: 27.98 kB / 1.051 GB, free: 5.176 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.555, allocations: 0 / 1.051 GB, free: 5.176 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.5552, allocations: 27.92 kB / 1.051 GB, free: 5.148 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.5552, allocations: 16.03 kB / 1.051 GB, free: 5.133 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.0002232/0.5555, allocations: 205.7 kB / 1.051 GB, free: 4.922 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/0.5555, allocations: 51.34 kB / 1.051 GB, free: 4.871 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003578/0.5559, allocations: 185.1 kB / 1.051 GB, free: 4.684 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.5559, allocations: 3.938 kB / 1.051 GB, free: 4.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5559, allocations: 0 / 1.051 GB, free: 4.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.5559, allocations: 0 / 1.051 GB, free: 4.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.5564, allocations: 377.3 kB / 1.052 GB, free: 4.262 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5564, allocations: 0 / 1.052 GB, free: 4.262 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.366e-05/0.5565, allocations: 8 kB / 1.052 GB, free: 4.254 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.5565, allocations: 4 kB / 1.052 GB, free: 4.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.5565, allocations: 0 / 1.052 GB, free: 4.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.5565, allocations: 3.984 kB / 1.052 GB, free: 4.246 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.5565, allocations: 0 / 1.052 GB, free: 4.246 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/0.5569, allocations: 260.3 kB / 1.052 GB, free: 3.973 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.5571, allocations: 128.6 kB / 1.052 GB, free: 3.828 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.5571, allocations: 4 kB / 1.052 GB, free: 3.824 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.5573, allocations: 19.98 kB / 1.052 GB, free: 3.805 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/0.5573, allocations: 15.97 kB / 1.052 GB, free: 3.789 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.5574, allocations: 11.98 kB / 1.052 GB, free: 3.777 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004663/0.5578, allocations: 410.8 kB / 1.052 GB, free: 3.379 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5578, allocations: 0 / 1.052 GB, free: 3.379 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003056/0.5582, allocations: 75.83 kB / 1.052 GB, free: 3.305 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.001645/0.5598, allocations: 1.144 MB / 1.054 GB, free: 2.293 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003577/0.5602, allocations: 151.3 kB / 1.054 GB, free: 2.148 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5602, allocations: 7.938 kB / 1.054 GB, free: 2.141 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.5603, allocations: 47.98 kB / 1.054 GB, free: 2.094 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.5607, allocations: 52.52 kB / 1.054 GB, free: 2.043 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.5624, allocations: 1.382 MB / 1.055 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5017/1.064, allocations: 0.8571 MB / 1.056 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002478/1.064, allocations: 32.48 kB / 1.056 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/1.065, allocations: 155.4 kB / 1.056 GB, free: 146.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.403e-06/1.065, allocations: 0.5938 kB / 1.056 GB, free: 146.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/1.091, allocations: 8.77 MB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/1.092, allocations: 233.2 kB / 1.065 GB, free: 146.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.23/3.322, allocations: 4 kB / 1.065 GB, free: 146.1 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)