Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.689/1.689, allocations: 288.4 MB / 303.4 MB, free: 8.078 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.001069/0.001069, allocations: 172.6 kB / 372 MB, free: 10.27 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.707/1.707, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0007995/0.0007996, allocations: 86.36 kB / 0.7441 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005636/0.000564, allocations: 16.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2862, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002674/0.289, allocations: 2.042 MB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.2908, allocations: 1.325 MB / 0.9829 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.291, allocations: 7.938 kB / 0.9829 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005911/0.2916, allocations: 211.1 kB / 0.9831 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.292, allocations: 127.4 kB / 0.9832 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.2923, allocations: 115.8 kB / 0.9833 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.2927, allocations: 302.9 kB / 0.9836 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.2929, allocations: 80.61 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.293, allocations: 111.4 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.2932, allocations: 131.4 kB / 0.9839 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.376e-05/0.2932, allocations: 8 kB / 0.9839 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.2934, allocations: 43.91 kB / 0.984 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.848e-05/0.2935, allocations: 107.6 kB / 0.9841 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.904e-05/0.2935, allocations: 89.45 kB / 0.9842 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.2938, allocations: 391 kB / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2938, allocations: 0 / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2939, allocations: 0 / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.2939, allocations: 0 / 0.9845 GB, free: 22.58 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.001013/0.2949, allocations: 0.7389 MB / 0.9853 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.2949, allocations: 8.031 kB / 0.9853 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.2951, allocations: 67.19 kB / 0.9853 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.2955, allocations: 391.2 kB / 0.9857 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.2955, allocations: 12.23 kB / 0.9857 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.2956, allocations: 12 kB / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.2959, allocations: 136.2 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2959, allocations: 0 / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.2959, allocations: 8 kB / 0.9859 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.2959, allocations: 7.938 kB / 0.9859 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.2961, allocations: 83.86 kB / 0.9859 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009661/0.2971, allocations: 0.6486 MB / 0.9866 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.2975, allocations: 134.7 kB / 0.9867 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.509e-05/0.2976, allocations: 48.78 kB / 0.9868 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.2976, allocations: 4 kB / 0.9868 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.2978, allocations: 99.36 kB / 0.9869 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.492e-06/0.2978, allocations: 0 / 0.9869 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0003913/0.2982, allocations: 212.9 kB / 0.9871 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.2983, allocations: 59.34 kB / 0.9871 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005707/0.2989, allocations: 0.6475 MB / 0.9877 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.2989, allocations: 33.7 kB / 0.9878 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.2991, allocations: 260.3 kB / 0.988 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.2991, allocations: 31.55 kB / 0.9881 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/0.2991, allocations: 8 kB / 0.9881 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.2993, allocations: 374.7 kB / 0.9884 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.2994, allocations: 71.97 kB / 0.9885 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.2996, allocations: 120.3 kB / 0.9886 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.2997, allocations: 75.03 kB / 0.9887 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2997, allocations: 0 / 0.9887 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003642/0.3001, allocations: 268.8 kB / 0.9889 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3001, allocations: 5.875 kB / 0.9889 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3001, allocations: 8.047 kB / 0.9889 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.3002, allocations: 4 kB / 0.9889 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.3003, allocations: 35.92 kB / 0.989 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.3004, allocations: 4 kB / 0.989 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.3005, allocations: 35.81 kB / 0.989 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.3006, allocations: 8 kB / 0.989 GB, free: 17.75 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.0001846/0.3008, allocations: 209.7 kB / 0.9892 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.3008, allocations: 51.34 kB / 0.9893 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.567e-05/0.3009, allocations: 56.66 kB / 0.9893 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3009, allocations: 4 kB / 0.9893 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3009, allocations: 0 / 0.9893 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3009, allocations: 3.938 kB / 0.9893 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.3012, allocations: 381.3 kB / 0.9897 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3012, allocations: 0 / 0.9897 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.527e-05/0.3013, allocations: 8 kB / 0.9897 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3013, allocations: 3.984 kB / 0.9897 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.3013, allocations: 8 kB / 0.9897 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3013, allocations: 0 / 0.9897 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3013, allocations: 0 / 0.9897 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.3017, allocations: 261.8 kB / 0.99 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-05/0.3018, allocations: 128.4 kB / 0.9901 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.3019, allocations: 7.984 kB / 0.9901 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.302, allocations: 27.98 kB / 0.9901 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.3021, allocations: 27.84 kB / 0.9902 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.3021, allocations: 7.984 kB / 0.9902 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003616/0.3025, allocations: 422.8 kB / 0.9906 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3025, allocations: 0 / 0.9906 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002576/0.3027, allocations: 60 kB / 0.9906 GB, free: 16.02 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.0009443/0.3037, allocations: 429 kB / 0.991 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002901/0.304, allocations: 147.8 kB / 0.9912 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.304, allocations: 0 / 0.9912 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.3041, allocations: 59.91 kB / 0.9912 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.3045, allocations: 79.48 kB / 0.9913 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.3056, allocations: 0.9401 MB / 0.9922 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.3059, allocations: 0.8575 MB / 0.9931 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000112/0.306, allocations: 42.27 kB / 0.9931 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.722e-05/0.3061, allocations: 31.42 kB / 0.9931 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.3061, allocations: 0 / 0.9931 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of Templates: time 0.007023/0.3131, allocations: 3.617 MB / 0.9967 GB, free: 9.949 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)