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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005654/0.005654, allocations: 101 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 182.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.651/1.651, allocations: 251.7 MB / 0.5094 GB, free: 3.09 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 68.41 kB / 0.7258 GB, free: 9.027 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2476, allocations: 104.7 MB / 0.8281 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004298/0.2519, allocations: 2.348 MB / 0.8304 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.2541, allocations: 1.257 MB / 0.8316 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.2543, allocations: 4 kB / 0.8316 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006677/0.255, allocations: 215 kB / 0.8318 GB, free: 12.37 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003972/0.2555, allocations: 147.2 kB / 0.8319 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.2558, allocations: 135.7 kB / 0.8321 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003625/0.2562, allocations: 315 kB / 0.8324 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.2564, allocations: 88.44 kB / 0.8324 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.2566, allocations: 123.5 kB / 0.8326 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.2568, allocations: 151.2 kB / 0.8327 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/0.2569, allocations: 20 kB / 0.8327 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.257, allocations: 43.98 kB / 0.8328 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.2571, allocations: 127.6 kB / 0.8329 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.2573, allocations: 178.7 kB / 0.8331 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005091/0.2578, allocations: 478.2 kB / 0.8335 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2578, allocations: 0 / 0.8335 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2578, allocations: 0 / 0.8335 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.2579, allocations: 0 / 0.8335 GB, free: 10.59 MB / 0.6544 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.001147/0.259, allocations: 0.7773 MB / 0.8343 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2591, allocations: 12.03 kB / 0.8343 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.604e-05/0.2592, allocations: 60.28 kB / 0.8343 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005709/0.2597, allocations: 403.7 kB / 0.8347 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.2598, allocations: 12.38 kB / 0.8347 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.2598, allocations: 20.06 kB / 0.8348 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.2601, allocations: 127.3 kB / 0.8349 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.2601, allocations: 0 / 0.8349 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.2601, allocations: 0 / 0.8349 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.2601, allocations: 4 kB / 0.8349 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.2603, allocations: 83.95 kB / 0.835 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009833/0.2613, allocations: 0.6017 MB / 0.8355 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.2617, allocations: 130.7 kB / 0.8357 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.251e-05/0.2618, allocations: 48.78 kB / 0.8357 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.2619, allocations: 7.938 kB / 0.8357 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.2621, allocations: 103.3 kB / 0.8358 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.2621, allocations: 0 / 0.8358 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0004364/0.2625, allocations: 208.9 kB / 0.836 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.2626, allocations: 51.41 kB / 0.8361 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006543/0.2632, allocations: 0.624 MB / 0.8367 GB, free: 7.145 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.2633, allocations: 33.69 kB / 0.8367 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.2635, allocations: 252.3 kB / 0.837 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.2635, allocations: 31.55 kB / 0.837 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.199e-05/0.2636, allocations: 49.92 kB / 0.837 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.2638, allocations: 370.8 kB / 0.8374 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.2639, allocations: 87.91 kB / 0.8375 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.2641, allocations: 106.2 kB / 0.8376 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.2643, allocations: 128.3 kB / 0.8377 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2643, allocations: 0 / 0.8377 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004155/0.2647, allocations: 272.7 kB / 0.838 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.2648, allocations: 12.06 kB / 0.838 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2648, allocations: 0 / 0.838 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2648, allocations: 0 / 0.838 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.265, allocations: 27.98 kB / 0.838 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.265, allocations: 0 / 0.838 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.2651, allocations: 27.83 kB / 0.838 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.2652, allocations: 12 kB / 0.838 GB, free: 5.719 MB / 0.6544 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 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,assPow.minPow.y,$PRE.assPow.minPow.y,assPow.maxPow.y,$PRE.assPow.maxPow.y,assPow.assMesDP.u,assPow.assMesP.u) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002066/0.2654, allocations: 206.2 kB / 0.8382 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.2655, allocations: 55.28 kB / 0.8383 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.419e-05/0.2656, allocations: 56.5 kB / 0.8383 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2656, allocations: 0 / 0.8383 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.2656, allocations: 0 / 0.8383 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2656, allocations: 4 kB / 0.8383 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.2659, allocations: 365.3 kB / 0.8387 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2659, allocations: 3.984 kB / 0.8387 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.018e-05/0.266, allocations: 8 kB / 0.8387 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.266, allocations: 3.938 kB / 0.8387 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.266, allocations: 8 kB / 0.8387 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2661, allocations: 8 kB / 0.8387 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2661, allocations: 0 / 0.8387 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004175/0.2665, allocations: 248.3 kB / 0.839 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.2666, allocations: 124.5 kB / 0.8391 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/0.2667, allocations: 4 kB / 0.8391 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.2668, allocations: 11.98 kB / 0.8391 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.2669, allocations: 20.03 kB / 0.8391 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.2669, allocations: 15.94 kB / 0.8391 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004374/0.2673, allocations: 418.8 kB / 0.8395 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2673, allocations: 0 / 0.8395 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002787/0.2676, allocations: 55.84 kB / 0.8396 GB, free: 4.043 MB / 0.6544 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.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009823/0.2686, allocations: 415.1 kB / 0.84 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003305/0.269, allocations: 158.7 kB / 0.8401 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.269, allocations: 0 / 0.8401 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.2691, allocations: 47.98 kB / 0.8402 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.2695, allocations: 70.14 kB / 0.8402 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.2707, allocations: 0.7973 MB / 0.841 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.2712, allocations: 0.8492 MB / 0.8418 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001109/0.2713, allocations: 38.25 kB / 0.8419 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-05/0.2714, allocations: 31.42 kB / 0.8419 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of SimCode: time 3.71e-07/0.2714, allocations: 0 / 0.8419 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of Templates: time 0.008178/0.2796, allocations: 3.63 MB / 0.8455 GB, free: 14.15 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)