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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.522/1.522, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001019/0.001019, allocations: 180.9 kB / 366.7 MB, free: 1.633 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.297/1.297, allocations: 205.3 MB / 0.626 GB, free: 7.156 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.0007714/0.0007713, allocations: 94.58 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.599e-05/1.602e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5338/0.5339, allocations: 116.3 MB / 0.9733 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1871/0.721, allocations: 144.6 MB / 1.115 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.7213, allocations: 91.92 kB / 1.115 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03064/0.7519, allocations: 12.41 MB / 1.127 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.442e-06/0.752, allocations: 0 / 1.127 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.699e-05/0.752, allocations: 8 kB / 1.127 GB, free: 9.023 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.0007438/0.7527, allocations: 0.6616 MB / 1.127 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.7528, allocations: 10.28 kB / 1.127 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.09e-05/0.7529, allocations: 59.25 kB / 1.127 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006057/0.7535, allocations: 427.2 kB / 1.128 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.7535, allocations: 5.812 kB / 1.128 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.7536, allocations: 8 kB / 1.128 GB, free: 7.781 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001586/0.7537, allocations: 76.45 kB / 1.128 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.754, allocations: 117.9 kB / 1.128 GB, free: 7.59 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.754, allocations: 4 kB / 1.128 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.754, allocations: 0 / 1.128 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.754, allocations: 7.984 kB / 1.128 GB, free: 7.578 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009031/0.7549, allocations: 0.6217 MB / 1.129 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.7552, allocations: 114.7 kB / 1.129 GB, free: 6.797 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.191e-05/0.7553, allocations: 44.98 kB / 1.129 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.7553, allocations: 4 kB / 1.129 GB, free: 6.746 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.7554, allocations: 95.38 kB / 1.129 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.7555, allocations: 0 / 1.129 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0002779/0.7557, allocations: 163.3 kB / 1.129 GB, free: 6.477 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.7558, allocations: 59.41 kB / 1.129 GB, free: 6.406 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000572/0.7564, allocations: 0.5415 MB / 1.13 GB, free: 5.859 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.7564, allocations: 29.7 kB / 1.13 GB, free: 5.824 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.7566, allocations: 260.3 kB / 1.13 GB, free: 5.566 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.7566, allocations: 27.61 kB / 1.13 GB, free: 5.539 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/0.7566, allocations: 1.688 kB / 1.13 GB, free: 5.539 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.7568, allocations: 370.8 kB / 1.13 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.7569, allocations: 84.86 kB / 1.13 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.757, allocations: 121.3 kB / 1.131 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.7573, allocations: 88.95 kB / 1.131 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7573, allocations: 0 / 1.131 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004243/0.7577, allocations: 286.7 kB / 1.131 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.7577, allocations: 4 kB / 1.131 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.7577, allocations: 0 / 1.131 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.7577, allocations: 8.062 kB / 1.131 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.758, allocations: 43.91 kB / 1.131 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.758, allocations: 0 / 1.131 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.7581, allocations: 27.83 kB / 1.131 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.7582, allocations: 10.06 kB / 1.131 GB, free: 4.496 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 8.367e-05/0.7583, allocations: 120.9 kB / 1.131 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.7583, allocations: 59.23 kB / 1.131 GB, free: 4.312 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.7586, allocations: 168.7 kB / 1.131 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.7586, allocations: 3.984 kB / 1.131 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.7586, allocations: 1.781 kB / 1.131 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7586, allocations: 0 / 1.131 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.7589, allocations: 342 kB / 1.132 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7589, allocations: 0 / 1.132 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-05/0.759, allocations: 11.98 kB / 1.132 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.759, allocations: 0 / 1.132 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.759, allocations: 7.953 kB / 1.132 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.7591, allocations: 4 kB / 1.132 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.7591, allocations: 3.938 kB / 1.132 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.7594, allocations: 244.4 kB / 1.132 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.999e-05/0.7595, allocations: 124.5 kB / 1.132 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/0.7595, allocations: 8 kB / 1.132 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.7597, allocations: 27.75 kB / 1.132 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.7598, allocations: 19.97 kB / 1.132 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.7598, allocations: 7.984 kB / 1.132 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003787/0.7602, allocations: 394.9 kB / 1.132 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7602, allocations: 0 / 1.132 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002964/0.7605, allocations: 79.77 kB / 1.133 GB, free: 2.82 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.0008059/0.7613, allocations: 397.1 kB / 1.133 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002317/0.7615, allocations: 139.9 kB / 1.133 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7615, allocations: 4.062 kB / 1.133 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.674e-05/0.7616, allocations: 51.98 kB / 1.133 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.762, allocations: 67.98 kB / 1.133 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009092/0.7629, allocations: 0.5887 MB / 1.134 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.7634, allocations: 0.8692 MB / 1.135 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001256/0.7635, allocations: 43.55 kB / 1.135 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.966e-05/0.7636, allocations: 31.42 kB / 1.135 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.7636, allocations: 0 / 1.135 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of Templates: time 0.00761/0.7712, allocations: 3.521 MB / 1.138 GB, free: 13.28 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (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 & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)