Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.604/1.604, allocations: 289.7 MB / 302.2 MB, free: 2.129 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.001026/0.001026, allocations: 181.9 kB / 371.6 MB, free: 3.426 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.313/1.313, allocations: 205.2 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008372/0.0008373, allocations: 90.11 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.191e-05/3.192e-05, allocations: 4 kB / 0.8662 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2102, allocations: 116.3 MB / 0.9798 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6794/0.8897, allocations: 145.3 MB / 1.122 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.89, allocations: 88.66 kB / 1.122 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02689/0.9169, allocations: 12.52 MB / 1.134 GB, free: 32.87 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9169, allocations: 0 / 1.134 GB, free: 32.87 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.954e-05/0.917, allocations: 8 kB / 1.134 GB, free: 32.86 MB / 0.7448 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.0006676/0.9176, allocations: 0.6675 MB / 1.135 GB, free: 32.23 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.9177, allocations: 12.03 kB / 1.135 GB, free: 32.22 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.071e-05/0.9178, allocations: 60.97 kB / 1.135 GB, free: 32.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005694/0.9184, allocations: 416.8 kB / 1.135 GB, free: 31.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.9184, allocations: 15.42 kB / 1.135 GB, free: 31.79 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.9184, allocations: 15.56 kB / 1.135 GB, free: 31.77 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.9186, allocations: 135.3 kB / 1.135 GB, free: 31.69 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.9187, allocations: 0 / 1.135 GB, free: 31.69 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.9187, allocations: 3.688 kB / 1.135 GB, free: 31.69 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.9187, allocations: 5.875 kB / 1.135 GB, free: 31.69 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.9188, allocations: 83.48 kB / 1.135 GB, free: 31.64 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007969/0.9196, allocations: 0.663 MB / 1.136 GB, free: 31.17 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.9199, allocations: 121.6 kB / 1.136 GB, free: 31.08 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.065e-05/0.9199, allocations: 42.48 kB / 1.136 GB, free: 31.05 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.92, allocations: 7.984 kB / 1.136 GB, free: 31.05 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.9201, allocations: 111.2 kB / 1.136 GB, free: 30.96 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.9201, allocations: 0.8438 kB / 1.136 GB, free: 30.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0002595/0.9204, allocations: 165.2 kB / 1.136 GB, free: 30.83 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.9204, allocations: 51.41 kB / 1.137 GB, free: 30.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005247/0.921, allocations: 0.5712 MB / 1.137 GB, free: 30.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.921, allocations: 33.27 kB / 1.137 GB, free: 30.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.9211, allocations: 259.7 kB / 1.137 GB, free: 30.2 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.9212, allocations: 36.66 kB / 1.137 GB, free: 30.17 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/0.9212, allocations: 6.562 kB / 1.137 GB, free: 30.17 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.663e-05/0.9213, allocations: 376.1 kB / 1.138 GB, free: 29.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.9214, allocations: 81.12 kB / 1.138 GB, free: 29.79 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.9215, allocations: 129.7 kB / 1.138 GB, free: 29.7 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.9216, allocations: 82.62 kB / 1.138 GB, free: 29.65 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9217, allocations: 0 / 1.138 GB, free: 29.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003241/0.922, allocations: 296.2 kB / 1.138 GB, free: 29.44 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.922, allocations: 4 kB / 1.138 GB, free: 29.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.922, allocations: 0.9375 kB / 1.138 GB, free: 29.44 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.922, allocations: 3.938 kB / 1.138 GB, free: 29.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.9222, allocations: 34.84 kB / 1.138 GB, free: 29.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.9222, allocations: 4 kB / 1.138 GB, free: 29.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.9224, allocations: 30.59 kB / 1.138 GB, free: 29.38 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.9224, allocations: 17.38 kB / 1.138 GB, free: 29.37 MB / 0.7448 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,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete 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 5.937e-05/0.9225, allocations: 124.3 kB / 1.139 GB, free: 29.25 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.9226, allocations: 55.25 kB / 1.139 GB, free: 29.19 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.9228, allocations: 185.3 kB / 1.139 GB, free: 29.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.9228, allocations: 4 kB / 1.139 GB, free: 29.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.9228, allocations: 0.5625 kB / 1.139 GB, free: 29.07 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.9229, allocations: 2.25 kB / 1.139 GB, free: 29.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.9231, allocations: 377.9 kB / 1.139 GB, free: 28.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9231, allocations: 0 / 1.139 GB, free: 28.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.085e-05/0.9232, allocations: 8 kB / 1.139 GB, free: 28.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.9232, allocations: 3.516 kB / 1.139 GB, free: 28.78 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.9232, allocations: 5.125 kB / 1.139 GB, free: 28.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.9232, allocations: 0 / 1.139 GB, free: 28.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.9232, allocations: 0 / 1.139 GB, free: 28.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.9235, allocations: 256.4 kB / 1.139 GB, free: 28.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-05/0.9236, allocations: 131.5 kB / 1.14 GB, free: 28.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.9236, allocations: 11.62 kB / 1.14 GB, free: 28.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.9238, allocations: 18.03 kB / 1.14 GB, free: 28.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/0.9238, allocations: 25.34 kB / 1.14 GB, free: 28.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.9239, allocations: 4 kB / 1.14 GB, free: 28.4 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003458/0.9242, allocations: 424.1 kB / 1.14 GB, free: 28.12 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9242, allocations: 0 / 1.14 GB, free: 28.12 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000305/0.9245, allocations: 88.66 kB / 1.14 GB, free: 28.04 MB / 0.7448 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.maxPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.0008672/0.9254, allocations: 430.1 kB / 1.14 GB, free: 27.77 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.9257, allocations: 148.4 kB / 1.141 GB, free: 27.67 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9257, allocations: 4.062 kB / 1.141 GB, free: 27.67 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.191e-05/0.9258, allocations: 60.06 kB / 1.141 GB, free: 27.63 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.9261, allocations: 66.75 kB / 1.141 GB, free: 27.6 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008469/0.927, allocations: 0.5923 MB / 1.141 GB, free: 27.11 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.9273, allocations: 0.8746 MB / 1.142 GB, free: 26.3 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001176/0.9274, allocations: 38.2 kB / 1.142 GB, free: 26.28 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.413e-05/0.9275, allocations: 28.91 kB / 1.142 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of SimCode: time 2.71e-07/0.9275, allocations: 0 / 1.142 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of Templates: time 0.008391/0.9359, allocations: 4.15 MB / 1.146 GB, free: 23.87 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)