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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.729/1.729, allocations: 287.5 MB / 302.6 MB, free: 8.113 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.00138/0.00138, allocations: 176.9 kB / 371.2 MB, free: 10.77 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.595/1.595, allocations: 205.4 MB / 0.6298 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009369/0.0009367, allocations: 96.2 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006945/0.0006948, allocations: 12.61 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2566, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002862/0.2595, allocations: 2.05 MB / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002173/0.2617, allocations: 1.317 MB / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002956/0.2621, allocations: 4 kB / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006858/0.2628, allocations: 211.1 kB / 0.9822 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004711/0.2633, allocations: 123.4 kB / 0.9823 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.2638, allocations: 121.8 kB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004486/0.2642, allocations: 310.9 kB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.2645, allocations: 90.66 kB / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.2647, allocations: 111.4 kB / 0.9829 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.2649, allocations: 135.4 kB / 0.983 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.167e-05/0.265, allocations: 4 kB / 0.983 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.2651, allocations: 47.92 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.2653, allocations: 115.6 kB / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.965e-05/0.2654, allocations: 89.45 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000377/0.2657, allocations: 379.1 kB / 0.9836 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.2658, allocations: 0 / 0.9836 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.325e-06/0.2658, allocations: 0 / 0.9836 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.2658, allocations: 3.938 kB / 0.9836 GB, free: 23.06 MB / 0.6198 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.001034/0.2668, allocations: 0.7312 MB / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.2669, allocations: 8.031 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.447e-05/0.267, allocations: 60.19 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000453/0.2674, allocations: 432.1 kB / 0.9848 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.2675, allocations: 8.609 kB / 0.9848 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.2675, allocations: 15.94 kB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.2678, allocations: 130.1 kB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2678, allocations: 0 / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.2678, allocations: 4 kB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.2678, allocations: 4 kB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.268, allocations: 84.89 kB / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008456/0.2688, allocations: 0.66 MB / 0.9857 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.2692, allocations: 130.7 kB / 0.9858 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.301e-05/0.2693, allocations: 48.84 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.2693, allocations: 7.984 kB / 0.9859 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.2695, allocations: 107.2 kB / 0.986 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.532e-06/0.2695, allocations: 0 / 0.986 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0003675/0.2699, allocations: 208.9 kB / 0.9862 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.2699, allocations: 55.41 kB / 0.9862 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005228/0.2705, allocations: 0.6436 MB / 0.9869 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2705, allocations: 37.7 kB / 0.9869 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.2706, allocations: 248.4 kB / 0.9871 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.2707, allocations: 39.55 kB / 0.9872 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.2707, allocations: 7.938 kB / 0.9872 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.2708, allocations: 366.8 kB / 0.9875 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.2709, allocations: 79.95 kB / 0.9876 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.2711, allocations: 108.7 kB / 0.9877 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.2713, allocations: 133.7 kB / 0.9879 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2713, allocations: 0 / 0.9879 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003306/0.2716, allocations: 276.5 kB / 0.9881 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.2716, allocations: 4 kB / 0.9881 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2716, allocations: 0 / 0.9881 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2717, allocations: 0 / 0.9881 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.2718, allocations: 43.91 kB / 0.9882 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2718, allocations: 0 / 0.9882 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.272, allocations: 35.95 kB / 0.9882 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.272, allocations: 11.98 kB / 0.9882 GB, free: 18.14 MB / 0.6198 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,assPow.assMesDP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,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.0001689/0.2722, allocations: 205.7 kB / 0.9884 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.2723, allocations: 51.34 kB / 0.9885 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.485e-05/0.2724, allocations: 64.59 kB / 0.9885 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2724, allocations: 4 kB / 0.9885 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2724, allocations: 3.938 kB / 0.9885 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2724, allocations: 3.984 kB / 0.9885 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.2726, allocations: 385.2 kB / 0.9889 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2726, allocations: 3.984 kB / 0.9889 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.374e-05/0.2727, allocations: 8 kB / 0.9889 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2727, allocations: 0 / 0.9889 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.2727, allocations: 4 kB / 0.9889 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2728, allocations: 0 / 0.9889 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2728, allocations: 0 / 0.9889 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.2731, allocations: 260.3 kB / 0.9892 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-05/0.2732, allocations: 132.5 kB / 0.9893 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/0.2733, allocations: 4 kB / 0.9893 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.2734, allocations: 19.92 kB / 0.9893 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/0.2735, allocations: 27.95 kB / 0.9893 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.2735, allocations: 4.062 kB / 0.9893 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003381/0.2738, allocations: 430.8 kB / 0.9897 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2738, allocations: 3.938 kB / 0.9897 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002454/0.2741, allocations: 67.83 kB / 0.9898 GB, free: 16.4 MB / 0.6198 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 (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.0008855/0.275, allocations: 412.8 kB / 0.9902 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002836/0.2753, allocations: 155.8 kB / 0.9904 GB, free: 16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2753, allocations: 8.062 kB / 0.9904 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.2754, allocations: 51.92 kB / 0.9904 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.2758, allocations: 75.86 kB / 0.9905 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.2769, allocations: 0.9284 MB / 0.9914 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.2772, allocations: 0.8652 MB / 0.9922 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.2773, allocations: 38.27 kB / 0.9923 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.2774, allocations: 27.42 kB / 0.9923 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of SimCode: time 3e-07/0.2774, allocations: 4 kB / 0.9923 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.007273/0.2847, allocations: 3.621 MB / 0.9958 GB, free: 10.35 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (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 & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)