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.007006/0.007006, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.001574/0.001574, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.642/1.642, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.606/1.606, allocations: 251.7 MB / 0.5094 GB, free: 2.984 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.001485/0.001485, allocations: 68.42 kB / 0.7258 GB, free: 8.984 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2605, allocations: 104.7 MB / 0.8281 GB, free: 184 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003855/0.2644, allocations: 2.356 MB / 0.8304 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.2664, allocations: 1.253 MB / 0.8316 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.2665, allocations: 4 kB / 0.8316 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006228/0.2671, allocations: 215 kB / 0.8318 GB, free: 12.33 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.0003609/0.2675, allocations: 147.2 kB / 0.8319 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.2679, allocations: 136.7 kB / 0.8321 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003577/0.2682, allocations: 315 kB / 0.8324 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.2684, allocations: 80.45 kB / 0.8324 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.2686, allocations: 123.5 kB / 0.8326 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.2688, allocations: 155.2 kB / 0.8327 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.523e-05/0.2689, allocations: 23.94 kB / 0.8327 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.269, allocations: 47.98 kB / 0.8328 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.2691, allocations: 119.6 kB / 0.8329 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.2693, allocations: 186.6 kB / 0.8331 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005483/0.2698, allocations: 481.7 kB / 0.8335 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2698, allocations: 3.938 kB / 0.8335 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2699, allocations: 0 / 0.8335 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.2699, allocations: 4 kB / 0.8335 GB, free: 10.54 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.001066/0.2709, allocations: 0.785 MB / 0.8343 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.271, allocations: 8.031 kB / 0.8343 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.168e-05/0.2711, allocations: 56.56 kB / 0.8344 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005206/0.2716, allocations: 416.2 kB / 0.8348 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.2716, allocations: 16.31 kB / 0.8348 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.2717, allocations: 20.12 kB / 0.8348 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.272, allocations: 123.4 kB / 0.8349 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.272, allocations: 0 / 0.8349 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.272, allocations: 4 kB / 0.8349 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.272, allocations: 4 kB / 0.8349 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.2722, allocations: 75.95 kB / 0.835 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00095/0.2731, allocations: 0.6173 MB / 0.8356 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.2735, allocations: 118.7 kB / 0.8357 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.092e-05/0.2736, allocations: 44.84 kB / 0.8357 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.2737, allocations: 11.94 kB / 0.8358 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.2739, allocations: 103.3 kB / 0.8359 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.824e-06/0.2739, allocations: 0 / 0.8359 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0004458/0.2744, allocations: 201.2 kB / 0.836 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.2744, allocations: 55.41 kB / 0.8361 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007328/0.2752, allocations: 0.6241 MB / 0.8367 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.2752, allocations: 33.69 kB / 0.8367 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.2754, allocations: 260.3 kB / 0.837 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.2755, allocations: 35.69 kB / 0.837 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-05/0.2756, allocations: 53.92 kB / 0.8371 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2757, allocations: 366.8 kB / 0.8374 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.2759, allocations: 79.91 kB / 0.8375 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.2761, allocations: 118 kB / 0.8376 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.2763, allocations: 124.8 kB / 0.8377 GB, free: 6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2763, allocations: 0 / 0.8377 GB, free: 6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004085/0.2767, allocations: 280.2 kB / 0.838 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2768, allocations: 4 kB / 0.838 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2768, allocations: 4 kB / 0.838 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2768, allocations: 3.938 kB / 0.838 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.2769, allocations: 31.92 kB / 0.838 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.277, allocations: 7.938 kB / 0.838 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.2771, allocations: 24.02 kB / 0.8381 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.2772, allocations: 8 kB / 0.8381 GB, free: 5.641 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.0002099/0.2774, allocations: 202.3 kB / 0.8383 GB, free: 5.434 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.876e-05/0.2775, allocations: 55.56 kB / 0.8383 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.436e-05/0.2775, allocations: 56.5 kB / 0.8384 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2776, allocations: 0 / 0.8384 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2776, allocations: 0 / 0.8384 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2776, allocations: 4 kB / 0.8384 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.2779, allocations: 369.3 kB / 0.8387 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2779, allocations: 3.984 kB / 0.8387 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.954e-05/0.278, allocations: 15.92 kB / 0.8388 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.278, allocations: 0 / 0.8388 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.278, allocations: 8 kB / 0.8388 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.278, allocations: 0 / 0.8388 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2781, allocations: 0 / 0.8388 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/0.2785, allocations: 256.6 kB / 0.839 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.014e-05/0.2786, allocations: 120.8 kB / 0.8391 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.286e-05/0.2786, allocations: 8 kB / 0.8391 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.2788, allocations: 11.98 kB / 0.8391 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.336e-05/0.2788, allocations: 23.97 kB / 0.8392 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.2789, allocations: 4 kB / 0.8392 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004475/0.2793, allocations: 414.8 kB / 0.8396 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2793, allocations: 3.938 kB / 0.8396 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002887/0.2796, allocations: 55.95 kB / 0.8396 GB, free: 3.969 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.0009664/0.2806, allocations: 423.9 kB / 0.84 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003357/0.2809, allocations: 155.8 kB / 0.8402 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2809, allocations: 0 / 0.8402 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.2811, allocations: 51.92 kB / 0.8402 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.2815, allocations: 68.92 kB / 0.8403 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.2828, allocations: 0.8044 MB / 0.8411 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.2832, allocations: 0.8531 MB / 0.8419 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001165/0.2834, allocations: 38.22 kB / 0.8419 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.267e-05/0.2834, allocations: 27.42 kB / 0.842 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.2834, allocations: 0 / 0.842 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of Templates: time 0.008324/0.2918, allocations: 3.63 MB / 0.8455 GB, free: 14.05 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)