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.783/1.783, allocations: 288.3 MB / 303.2 MB, free: 8.141 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.001128/0.001128, allocations: 181 kB / 371.8 MB, free: 10.29 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.753/1.753, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.001276/0.001276, allocations: 89.69 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005419/0.0005419, allocations: 16.16 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3161, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002744/0.3189, allocations: 2.031 MB / 0.9814 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001678/0.3207, allocations: 1.301 MB / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.3208, allocations: 4 kB / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.3213, allocations: 207.2 kB / 0.9829 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.3216, allocations: 139.5 kB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.3219, allocations: 121.9 kB / 0.9831 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.3222, allocations: 231.5 kB / 0.9833 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.3224, allocations: 72.62 kB / 0.9834 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.3225, allocations: 119.5 kB / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.3227, allocations: 123.4 kB / 0.9836 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.3227, allocations: 8 kB / 0.9837 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.3228, allocations: 43.91 kB / 0.9837 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.967e-05/0.3229, allocations: 103.6 kB / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.269e-05/0.323, allocations: 97.45 kB / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.3233, allocations: 375.1 kB / 0.9842 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3233, allocations: 0 / 0.9842 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3233, allocations: 7.938 kB / 0.9843 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.3233, allocations: 0 / 0.9843 GB, free: 22.73 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.0009499/0.3243, allocations: 0.7349 MB / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.3243, allocations: 12.03 kB / 0.985 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.955e-05/0.3244, allocations: 67.19 kB / 0.985 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.3249, allocations: 399.2 kB / 0.9854 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.3249, allocations: 8.234 kB / 0.9854 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.325, allocations: 12 kB / 0.9854 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.3252, allocations: 140.2 kB / 0.9856 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3252, allocations: 0 / 0.9856 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.3252, allocations: 4 kB / 0.9856 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-06/0.3253, allocations: 4 kB / 0.9856 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.3254, allocations: 83.92 kB / 0.9857 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000903/0.3263, allocations: 0.6524 MB / 0.9863 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.3267, allocations: 126.7 kB / 0.9864 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.3267, allocations: 8 kB / 0.9864 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.3269, allocations: 107.5 kB / 0.9865 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.482e-06/0.3269, allocations: 0 / 0.9865 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0003856/0.3273, allocations: 208.9 kB / 0.9867 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.3274, allocations: 51.41 kB / 0.9868 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005422/0.3279, allocations: 0.6475 MB / 0.9874 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.328, allocations: 37.69 kB / 0.9875 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.3281, allocations: 256.4 kB / 0.9877 GB, free: 19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.3281, allocations: 47.41 kB / 0.9877 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.3282, allocations: 4 kB / 0.9877 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.892e-05/0.3283, allocations: 374.7 kB / 0.9881 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.3284, allocations: 75.97 kB / 0.9882 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.3285, allocations: 116.9 kB / 0.9883 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.3287, allocations: 76.03 kB / 0.9884 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3287, allocations: 0 / 0.9884 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003253/0.329, allocations: 269.8 kB / 0.9886 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.329, allocations: 4 kB / 0.9886 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.329, allocations: 0 / 0.9886 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.329, allocations: 4 kB / 0.9886 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.3292, allocations: 39.97 kB / 0.9887 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3292, allocations: 3.938 kB / 0.9887 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.3294, allocations: 39.84 kB / 0.9887 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.3294, allocations: 8 kB / 0.9887 GB, free: 17.94 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.0001625/0.3296, allocations: 209.7 kB / 0.9889 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.3297, allocations: 47.34 kB / 0.989 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.041e-05/0.3297, allocations: 56.66 kB / 0.989 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3297, allocations: 8 kB / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3298, allocations: 0 / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.3298, allocations: 0 / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.33, allocations: 369.4 kB / 0.9894 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.33, allocations: 0 / 0.9894 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.58e-05/0.3301, allocations: 15.94 kB / 0.9894 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3301, allocations: 0 / 0.9894 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.3301, allocations: 3.984 kB / 0.9894 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3301, allocations: 0 / 0.9894 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3301, allocations: 4 kB / 0.9894 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.3305, allocations: 264.2 kB / 0.9896 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.68e-05/0.3306, allocations: 128.4 kB / 0.9898 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.3306, allocations: 4 kB / 0.9898 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.3308, allocations: 19.98 kB / 0.9898 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.3309, allocations: 23.95 kB / 0.9898 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.3309, allocations: 12 kB / 0.9898 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003365/0.3312, allocations: 434.8 kB / 0.9902 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3313, allocations: 0 / 0.9902 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002583/0.3315, allocations: 52 kB / 0.9903 GB, free: 16.22 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.0008896/0.3324, allocations: 427 kB / 0.9907 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000281/0.3327, allocations: 158.7 kB / 0.9908 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3327, allocations: 64 / 0.9908 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.965e-05/0.3328, allocations: 59.92 kB / 0.9909 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.3332, allocations: 71.55 kB / 0.991 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.3342, allocations: 0.9323 MB / 0.9919 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.3345, allocations: 0.8768 MB / 0.9927 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.3346, allocations: 42.22 kB / 0.9928 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.611e-05/0.3347, allocations: 27.42 kB / 0.9928 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.3347, allocations: 3.938 kB / 0.9928 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.007299/0.342, allocations: 3.608 MB / 0.9963 GB, free: 10.14 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)