Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.228/2.228, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001503, allocations: 182.4 kB / 325.6 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.326/2.326, allocations: 205.4 MB / 0.5766 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001744/0.001744, allocations: 92.86 kB / 0.6811 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006298/0.0006299, allocations: 12.28 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2066, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2614/0.4681, allocations: 137.4 MB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004177/0.4686, allocations: 91.94 kB / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05334/0.522, allocations: 12.01 MB / 1.045 GB, free: 11.69 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5221, allocations: 0 / 1.045 GB, free: 11.69 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.113e-05/0.5221, allocations: 8 kB / 1.045 GB, free: 11.68 MB / 0.698 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.001803/0.5239, allocations: 0.7515 MB / 1.046 GB, free: 10.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.524, allocations: 12.03 kB / 1.046 GB, free: 10.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.5242, allocations: 55.3 kB / 1.046 GB, free: 10.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.5253, allocations: 395 kB / 1.046 GB, free: 10.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.5253, allocations: 12 kB / 1.046 GB, free: 10.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.195e-05/0.5254, allocations: 12 kB / 1.046 GB, free: 10.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004067/0.5258, allocations: 130.4 kB / 1.046 GB, free: 10.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.5258, allocations: 4 kB / 1.046 GB, free: 10.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.5259, allocations: 4 kB / 1.046 GB, free: 10.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.5259, allocations: 7.938 kB / 1.046 GB, free: 10.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.5262, allocations: 87.84 kB / 1.046 GB, free: 10.13 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.5279, allocations: 0.629 MB / 1.047 GB, free: 9.449 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.5285, allocations: 130.8 kB / 1.047 GB, free: 9.312 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.5285, allocations: 0 / 1.047 GB, free: 9.312 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003051/0.5289, allocations: 103.3 kB / 1.047 GB, free: 9.199 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 2.344e-06/0.5289, allocations: 0 / 1.047 GB, free: 9.199 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0007133/0.5296, allocations: 197.1 kB / 1.047 GB, free: 9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.5297, allocations: 59.41 kB / 1.047 GB, free: 8.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.5308, allocations: 0.5568 MB / 1.048 GB, free: 8.367 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.071e-05/0.5309, allocations: 33.7 kB / 1.048 GB, free: 8.328 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.5312, allocations: 248.3 kB / 1.048 GB, free: 8.082 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.141e-05/0.5313, allocations: 39.55 kB / 1.048 GB, free: 8.043 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.5313, allocations: 0 / 1.048 GB, free: 8.043 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002334/0.5316, allocations: 370.7 kB / 1.049 GB, free: 7.672 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.5319, allocations: 87.89 kB / 1.049 GB, free: 7.586 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.5322, allocations: 127.4 kB / 1.049 GB, free: 7.449 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.5325, allocations: 84.8 kB / 1.049 GB, free: 7.367 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5325, allocations: 0 / 1.049 GB, free: 7.367 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008081/0.5333, allocations: 285.8 kB / 1.049 GB, free: 7.082 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.5334, allocations: 11.98 kB / 1.049 GB, free: 7.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5334, allocations: 0 / 1.049 GB, free: 7.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.5334, allocations: 4.062 kB / 1.049 GB, free: 7.066 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.5337, allocations: 31.98 kB / 1.049 GB, free: 7.035 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.5337, allocations: 0 / 1.049 GB, free: 7.035 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.5341, allocations: 31.92 kB / 1.049 GB, free: 7.004 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.5342, allocations: 11.94 kB / 1.049 GB, free: 6.992 MB / 0.698 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 () * 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.0004443/0.5346, allocations: 213.7 kB / 1.049 GB, free: 6.773 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.5348, allocations: 47.34 kB / 1.049 GB, free: 6.727 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000574/0.5354, allocations: 186.1 kB / 1.05 GB, free: 6.535 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.5354, allocations: 0 / 1.05 GB, free: 6.535 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5354, allocations: 4 kB / 1.05 GB, free: 6.531 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.5354, allocations: 0 / 1.05 GB, free: 6.531 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005545/0.536, allocations: 373.4 kB / 1.05 GB, free: 6.117 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.536, allocations: 0 / 1.05 GB, free: 6.117 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.5362, allocations: 8 kB / 1.05 GB, free: 6.109 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.5362, allocations: 0 / 1.05 GB, free: 6.109 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.5362, allocations: 11.98 kB / 1.05 GB, free: 6.098 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.5362, allocations: 4 kB / 1.05 GB, free: 6.094 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5362, allocations: 0 / 1.05 GB, free: 6.094 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007462/0.537, allocations: 258.4 kB / 1.05 GB, free: 5.824 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.5372, allocations: 132.4 kB / 1.05 GB, free: 5.676 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.037e-05/0.5373, allocations: 8 kB / 1.05 GB, free: 5.668 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.5376, allocations: 16.05 kB / 1.05 GB, free: 5.652 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.5377, allocations: 23.97 kB / 1.05 GB, free: 5.629 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.5377, allocations: 3.984 kB / 1.05 GB, free: 5.625 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008189/0.5385, allocations: 418.8 kB / 1.051 GB, free: 5.219 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5386, allocations: 0 / 1.051 GB, free: 5.219 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005651/0.5391, allocations: 67.84 kB / 1.051 GB, free: 5.152 MB / 0.698 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) * Number of clocked states: 0 () * 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.001403/0.5405, allocations: 454.2 kB / 1.051 GB, free: 4.863 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005918/0.5412, allocations: 153.1 kB / 1.052 GB, free: 4.715 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5412, allocations: 3.938 kB / 1.052 GB, free: 4.711 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.5414, allocations: 58.8 kB / 1.052 GB, free: 4.656 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005938/0.542, allocations: 58.28 kB / 1.052 GB, free: 4.598 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.5441, allocations: 0.9089 MB / 1.053 GB, free: 3.656 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006448/0.5448, allocations: 0.8716 MB / 1.053 GB, free: 2.758 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002473/0.545, allocations: 34.28 kB / 1.053 GB, free: 2.719 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.5451, allocations: 23.44 kB / 1.053 GB, free: 2.699 MB / 0.698 GB Notification: Performance of SimCode: time 1.122e-06/0.5451, allocations: 0 / 1.053 GB, free: 2.699 MB / 0.698 GB Notification: Performance of Templates: time 0.6566/1.202, allocations: 3.693 MB / 1.057 GB, free: 148.7 MB / 0.698 GB