Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.205/2.205, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001533, allocations: 182.2 kB / 325.6 MB, free: 2.836 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.391/2.391, 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.001117/0.001117, allocations: 90.33 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006191/0.0006191, allocations: 13.47 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2034, allocations: 106.2 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.558/7.761, allocations: 2.191 GB / 3.09 GB, free: 247.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003778/7.762, allocations: 95.38 kB / 3.09 GB, free: 247.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2499/8.012, allocations: 65.32 MB / 3.154 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.186e-06/8.012, allocations: 4 kB / 3.154 GB, free: 241.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.92e-05/8.012, allocations: 23.56 kB / 3.154 GB, free: 241.3 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.003179/8.015, allocations: 1.214 MB / 3.155 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/8.015, allocations: 11.5 kB / 3.155 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/8.017, allocations: 193.6 kB / 3.156 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/8.018, allocations: 0.633 MB / 3.156 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.445e-05/8.018, allocations: 58.5 kB / 3.156 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/8.018, allocations: 75.53 kB / 3.156 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/8.021, allocations: 0.86 MB / 3.157 GB, free: 240 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/8.021, allocations: 4 kB / 3.157 GB, free: 240 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/8.021, allocations: 37.3 kB / 3.157 GB, free: 240 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/8.021, allocations: 19.53 kB / 3.157 GB, free: 240 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002704/8.024, allocations: 1.092 MB / 3.158 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006147/8.03, allocations: 2.475 MB / 3.161 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/8.032, allocations: 0.7554 MB / 3.161 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/8.032, allocations: 112.8 kB / 3.161 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/8.034, allocations: 448.3 kB / 3.162 GB, free: 238 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 4.359e-06/8.034, allocations: 0 / 3.162 GB, free: 238 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.004994/8.039, allocations: 1.151 MB / 3.163 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/8.039, allocations: 239.8 kB / 3.163 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/8.04, allocations: 0.6235 MB / 3.164 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002018/8.04, allocations: 40.36 kB / 3.164 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00037/8.041, allocations: 389 kB / 3.164 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000265/8.041, allocations: 243.1 kB / 3.165 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.845e-05/8.041, allocations: 14.84 kB / 3.165 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001713/8.041, allocations: 385.4 kB / 3.165 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007922/8.042, allocations: 235 kB / 3.165 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008585/8.043, allocations: 343.5 kB / 3.165 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008353/8.044, allocations: 279.3 kB / 3.166 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/8.044, allocations: 0 / 3.166 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002953/8.047, allocations: 0.762 MB / 3.166 GB, free: 236 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/8.047, allocations: 7.844 kB / 3.166 GB, free: 236 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/8.047, allocations: 0 / 3.166 GB, free: 236 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009934/8.048, allocations: 86.36 kB / 3.167 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/8.049, allocations: 140.7 kB / 3.167 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002688/8.052, allocations: 1.54 MB / 3.168 GB, free: 234.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/8.053, allocations: 81.81 kB / 3.168 GB, free: 234.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/8.053, allocations: 27.47 kB / 3.168 GB, free: 234.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000731/8.054, allocations: 260.8 kB / 3.169 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/8.054, allocations: 86.08 kB / 3.169 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003692/8.058, allocations: 1.03 MB / 3.17 GB, free: 234 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/8.058, allocations: 11.75 kB / 3.17 GB, free: 234 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/8.058, allocations: 0 / 3.17 GB, free: 234 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/8.058, allocations: 3.984 kB / 3.17 GB, free: 234 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/8.06, allocations: 0.9059 MB / 3.171 GB, free: 233.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/8.06, allocations: 0 / 3.171 GB, free: 233.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/8.061, allocations: 148.3 kB / 3.171 GB, free: 233.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009041/8.062, allocations: 82.28 kB / 3.171 GB, free: 233.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.134e-05/8.062, allocations: 26.38 kB / 3.171 GB, free: 233.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002412/8.064, allocations: 1.574 MB / 3.172 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/8.064, allocations: 0 / 3.172 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003031/8.067, allocations: 0.8849 MB / 3.173 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000543/8.068, allocations: 295.3 kB / 3.173 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/8.068, allocations: 18.55 kB / 3.173 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009777/8.069, allocations: 69.97 kB / 3.174 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/8.069, allocations: 59.58 kB / 3.174 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.399e-05/8.069, allocations: 34.81 kB / 3.174 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009048/8.07, allocations: 0.4908 MB / 3.174 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.01e-07/8.07, allocations: 0 / 3.174 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001405/8.072, allocations: 335.7 kB / 3.174 GB, free: 231.4 MB / 0.8855 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 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002628/8.074, allocations: 1.066 MB / 3.175 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002418/8.077, allocations: 0.7551 MB / 3.176 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/8.077, allocations: 0 / 3.176 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/8.078, allocations: 0.5026 MB / 3.177 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/8.08, allocations: 251.5 kB / 3.177 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005928/8.086, allocations: 2.19 MB / 3.179 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/8.087, allocations: 1.031 MB / 3.18 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001439/8.088, allocations: 259.3 kB / 3.18 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003626/8.088, allocations: 96.33 kB / 3.18 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.883e-06/8.088, allocations: 4 kB / 3.18 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.04788/8.136, allocations: 20.8 MB / 3.201 GB, free: 217.7 MB / 0.8855 GB