Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.157/2.157, 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.001534/0.001534, allocations: 170.9 kB / 325.6 MB, free: 2.844 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.386/2.386, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.00151/0.00151, allocations: 97.16 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000635/0.0006351, allocations: 11.84 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2371, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2376/0.4747, allocations: 136.6 MB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/0.4751, allocations: 95.92 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05255/0.5277, allocations: 9.994 MB / 1.042 GB, free: 14.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.396e-06/0.5278, allocations: 0 / 1.042 GB, free: 14.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.938e-05/0.5278, allocations: 7.938 kB / 1.042 GB, free: 14.41 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001771/0.5296, allocations: 0.6493 MB / 1.043 GB, free: 13.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.5297, allocations: 12.03 kB / 1.043 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.5299, allocations: 43.44 kB / 1.043 GB, free: 13.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.5311, allocations: 339.2 kB / 1.043 GB, free: 13.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.5312, allocations: 4 kB / 1.043 GB, free: 13.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.5313, allocations: 7.984 kB / 1.043 GB, free: 13.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.5316, allocations: 73.66 kB / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.5317, allocations: 4 kB / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.5317, allocations: 0 / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.5317, allocations: 0 / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/0.532, allocations: 39.98 kB / 1.043 GB, free: 13.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.5334, allocations: 476.4 kB / 1.044 GB, free: 12.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/0.5339, allocations: 70.67 kB / 1.044 GB, free: 12.56 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.5339, allocations: 0 / 1.044 GB, free: 12.56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003646/0.5343, allocations: 83.44 kB / 1.044 GB, free: 12.47 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 3.367e-06/0.5344, allocations: 0 / 1.044 GB, free: 12.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0007705/0.5351, allocations: 149.1 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.5352, allocations: 51.41 kB / 1.044 GB, free: 12.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.5366, allocations: 481.2 kB / 1.045 GB, free: 11.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.371e-05/0.5367, allocations: 33.7 kB / 1.045 GB, free: 11.74 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/0.5371, allocations: 212 kB / 1.045 GB, free: 11.53 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.839e-05/0.5371, allocations: 27.66 kB / 1.045 GB, free: 11.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.5372, allocations: 4 kB / 1.045 GB, free: 11.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002552/0.5375, allocations: 354.8 kB / 1.045 GB, free: 11.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.5378, allocations: 51.97 kB / 1.045 GB, free: 11.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.5381, allocations: 91.78 kB / 1.045 GB, free: 10.99 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.5384, allocations: 58.52 kB / 1.045 GB, free: 10.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.5385, allocations: 0 / 1.045 GB, free: 10.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008499/0.5393, allocations: 209 kB / 1.046 GB, free: 10.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.5394, allocations: 8 kB / 1.046 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.5394, allocations: 0 / 1.046 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.5394, allocations: 0 / 1.046 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.5397, allocations: 27.94 kB / 1.046 GB, free: 10.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.5398, allocations: 0 / 1.046 GB, free: 10.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.5401, allocations: 23.98 kB / 1.046 GB, free: 10.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.5402, allocations: 8 kB / 1.046 GB, free: 10.66 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: 7 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0004715/0.5407, allocations: 181.7 kB / 1.046 GB, free: 10.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.5409, allocations: 47.42 kB / 1.046 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006272/0.5415, allocations: 129.5 kB / 1.046 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.5415, allocations: 4 kB / 1.046 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.5416, allocations: 11.94 kB / 1.046 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.5416, allocations: 3.938 kB / 1.046 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005992/0.5422, allocations: 297.5 kB / 1.046 GB, free: 9.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.446e-05/0.5423, allocations: 112 / 1.046 GB, free: 9.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.997e-05/0.5424, allocations: 11.88 kB / 1.046 GB, free: 9.918 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.5424, allocations: 0 / 1.046 GB, free: 9.918 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.5424, allocations: 4 kB / 1.046 GB, free: 9.914 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.5424, allocations: 80 / 1.046 GB, free: 9.914 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.5425, allocations: 3.984 kB / 1.046 GB, free: 9.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005961/0.5431, allocations: 168.5 kB / 1.046 GB, free: 9.727 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.5433, allocations: 112.6 kB / 1.047 GB, free: 9.598 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.002e-05/0.5434, allocations: 3.984 kB / 1.047 GB, free: 9.594 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.5436, allocations: 8 kB / 1.047 GB, free: 9.586 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.852e-05/0.5438, allocations: 11.98 kB / 1.047 GB, free: 9.574 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.5438, allocations: 3.984 kB / 1.047 GB, free: 9.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001002/0.5448, allocations: 358.8 kB / 1.047 GB, free: 9.223 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.072e-06/0.5449, allocations: 0 / 1.047 GB, free: 9.223 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007488/0.5456, allocations: 59.89 kB / 1.047 GB, free: 9.164 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.00199/0.5476, allocations: 445.8 kB / 1.047 GB, free: 8.879 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005848/0.5483, allocations: 106.3 kB / 1.048 GB, free: 8.777 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.5483, allocations: 7.938 kB / 1.048 GB, free: 8.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.5485, allocations: 27.98 kB / 1.048 GB, free: 8.742 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000682/0.5492, allocations: 50.03 kB / 1.048 GB, free: 8.699 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.5513, allocations: 0.7184 MB / 1.048 GB, free: 7.949 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007094/0.552, allocations: 0.8219 MB / 1.049 GB, free: 7.102 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002534/0.5523, allocations: 29.67 kB / 1.049 GB, free: 7.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.5525, allocations: 19.42 kB / 1.049 GB, free: 7.055 MB / 0.698 GB Notification: Performance of SimCode: time 1.433e-06/0.5525, allocations: 4 kB / 1.049 GB, free: 7.051 MB / 0.698 GB Notification: Performance of Templates: time 0.01683/0.5693, allocations: 2.988 MB / 1.052 GB, free: 4.086 MB / 0.698 GB