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.491/2.491, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001384/0.001384, allocations: 180.8 kB / 360.6 MB, free: 7.281 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.261/2.261, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001042/0.001041, allocations: 92.02 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.631e-05/2.638e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7893/0.7894, allocations: 115.3 MB / 0.9634 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2422/1.032, allocations: 143.5 MB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/1.032, allocations: 87.8 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05351/1.086, allocations: 12.42 MB / 1.116 GB, free: 428 kB / 0.7136 GB Notification: Performance of FrontEnd: time 2.274e-06/1.086, allocations: 0 / 1.116 GB, free: 428 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.266e-05/1.086, allocations: 8 kB / 1.116 GB, free: 420 kB / 0.7136 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.00125/1.087, allocations: 0.658 MB / 1.116 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/1.087, allocations: 8.031 kB / 1.116 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/1.087, allocations: 64.73 kB / 1.116 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/1.088, allocations: 427.1 kB / 1.117 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/1.088, allocations: 4 kB / 1.117 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/1.088, allocations: 8 kB / 1.117 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002721/1.089, allocations: 80.45 kB / 1.117 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/1.089, allocations: 112.2 kB / 1.117 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/1.089, allocations: 0 / 1.117 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/1.089, allocations: 0 / 1.117 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/1.089, allocations: 4 kB / 1.117 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/1.091, allocations: 0.6217 MB / 1.118 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/1.091, allocations: 114.6 kB / 1.118 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/1.091, allocations: 41.03 kB / 1.118 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/1.091, allocations: 8 kB / 1.118 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/1.091, allocations: 99.31 kB / 1.118 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 2.916e-06/1.091, allocations: 0 / 1.118 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0005134/1.092, allocations: 166.5 kB / 1.118 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/1.092, allocations: 55.41 kB / 1.118 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/1.093, allocations: 0.5376 MB / 1.119 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/1.093, allocations: 25.7 kB / 1.119 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/1.093, allocations: 272.3 kB / 1.119 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.074e-05/1.094, allocations: 31.61 kB / 1.119 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/1.094, allocations: 0 / 1.119 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000194/1.094, allocations: 366.8 kB / 1.119 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/1.094, allocations: 83.97 kB / 1.119 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/1.094, allocations: 116.3 kB / 1.12 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/1.095, allocations: 94.52 kB / 1.12 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.095, allocations: 0 / 1.12 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007811/1.095, allocations: 280.8 kB / 1.12 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/1.096, allocations: 7.984 kB / 1.12 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.096, allocations: 0 / 1.12 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/1.096, allocations: 4 kB / 1.12 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/1.096, allocations: 38.86 kB / 1.12 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/1.096, allocations: 0.6562 kB / 1.12 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003404/1.096, allocations: 31.86 kB / 1.12 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/1.096, allocations: 15.98 kB / 1.12 GB, free: 11.88 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.0001333/1.096, allocations: 120.6 kB / 1.12 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003564/1.097, allocations: 161 kB / 1.12 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.57e-05/1.097, allocations: 55.33 kB / 1.12 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/1.097, allocations: 171.7 kB / 1.12 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/1.097, allocations: 7.094 kB / 1.12 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.097, allocations: 0 / 1.12 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/1.098, allocations: 7.922 kB / 1.12 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005049/1.098, allocations: 342 kB / 1.121 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.098, allocations: 0 / 1.121 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/1.098, allocations: 15.98 kB / 1.121 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/1.098, allocations: 0 / 1.121 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/1.098, allocations: 0 / 1.121 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.098, allocations: 0 / 1.121 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.098, allocations: 0 / 1.121 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005402/1.099, allocations: 253.6 kB / 1.121 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/1.099, allocations: 124.4 kB / 1.121 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.468e-05/1.099, allocations: 7.984 kB / 1.121 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/1.099, allocations: 15.98 kB / 1.121 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/1.099, allocations: 27.91 kB / 1.121 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.693e-05/1.1, allocations: 8.797 kB / 1.121 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007222/1.1, allocations: 402.8 kB / 1.122 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.71e-07/1.1, allocations: 0 / 1.122 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005468/1.101, allocations: 71.88 kB / 1.122 GB, free: 10.04 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.00196/1.103, allocations: 1.08 MB / 1.123 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004341/1.103, allocations: 144.7 kB / 1.123 GB, free: 8.953 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.103, allocations: 4.062 kB / 1.123 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/1.103, allocations: 51.98 kB / 1.123 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006274/1.104, allocations: 61 kB / 1.123 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/1.106, allocations: 0.7065 MB / 1.124 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008766/1.107, allocations: 0.8731 MB / 1.125 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003842/1.108, allocations: 42.83 kB / 1.125 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/1.108, allocations: 155.4 kB / 1.125 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of SimCode: time 1.663e-06/1.108, allocations: 0 / 1.125 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05626/1.164, allocations: 8.52 MB / 1.133 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000332/1.165, allocations: 185.8 kB / 1.133 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/3.839, allocations: 3.938 kB / 1.133 GB, free: 14.47 MB / 0.7448 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)