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.181/2.181, allocations: 252.6 MB / 265.2 MB, free: 5.68 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00151/0.00151, allocations: 171.9 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.134/2.134, allocations: 205.4 MB / 0.5754 GB, free: 10.49 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.00109/0.00109, allocations: 94.31 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.426e-05/3.438e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2157, allocations: 106.2 MB / 0.8949 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.333/7.549, allocations: 2.191 GB / 3.086 GB, free: 137 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/7.549, allocations: 86.77 kB / 3.086 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2587/7.808, allocations: 65.02 MB / 3.15 GB, free: 75.74 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.813e-06/7.808, allocations: 0 / 3.15 GB, free: 75.74 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001044/7.808, allocations: 27.94 kB / 3.15 GB, free: 75.71 MB / 0.8698 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.002643/7.811, allocations: 1.086 MB / 3.151 GB, free: 74.58 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/7.811, allocations: 8.031 kB / 3.151 GB, free: 74.57 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/7.812, allocations: 194.5 kB / 3.151 GB, free: 74.38 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/7.814, allocations: 0.6277 MB / 3.152 GB, free: 73.71 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.223e-05/7.814, allocations: 62 kB / 3.152 GB, free: 73.65 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/7.814, allocations: 76 kB / 3.152 GB, free: 73.57 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/7.816, allocations: 0.8365 MB / 3.153 GB, free: 72.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/7.816, allocations: 0 / 3.153 GB, free: 72.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/7.817, allocations: 35.95 kB / 3.153 GB, free: 72.66 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/7.817, allocations: 20 kB / 3.153 GB, free: 72.64 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/7.819, allocations: 1.026 MB / 3.154 GB, free: 71.62 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006281/7.825, allocations: 2.473 MB / 3.156 GB, free: 69.08 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/7.827, allocations: 0.7082 MB / 3.157 GB, free: 68.36 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006261/7.828, allocations: 267.2 kB / 3.157 GB, free: 68.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002764/7.828, allocations: 115.1 kB / 3.157 GB, free: 67.97 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009766/7.829, allocations: 425.3 kB / 3.158 GB, free: 67.54 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.577e-06/7.829, allocations: 0 / 3.158 GB, free: 67.54 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.00265/7.832, allocations: 0.7108 MB / 3.158 GB, free: 66.82 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.258e-05/7.832, allocations: 244.1 kB / 3.158 GB, free: 66.52 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/7.833, allocations: 0.6014 MB / 3.159 GB, free: 65.91 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002147/7.833, allocations: 45.7 kB / 3.159 GB, free: 65.86 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/7.834, allocations: 392.4 kB / 3.159 GB, free: 65.47 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/7.834, allocations: 244.4 kB / 3.16 GB, free: 65.23 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/7.834, allocations: 16 kB / 3.16 GB, free: 65.21 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001382/7.834, allocations: 382.8 kB / 3.16 GB, free: 64.83 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005712/7.835, allocations: 205.5 kB / 3.16 GB, free: 64.63 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006718/7.836, allocations: 321 kB / 3.161 GB, free: 64.29 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006496/7.836, allocations: 246 kB / 3.161 GB, free: 64.04 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/7.836, allocations: 0 / 3.161 GB, free: 64.04 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002588/7.839, allocations: 0.7187 MB / 3.161 GB, free: 63.32 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/7.839, allocations: 4 kB / 3.162 GB, free: 63.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/7.839, allocations: 7.938 kB / 3.162 GB, free: 63.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009712/7.84, allocations: 76.84 kB / 3.162 GB, free: 63.23 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/7.841, allocations: 147.8 kB / 3.162 GB, free: 63.08 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/7.844, allocations: 1.533 MB / 3.163 GB, free: 61.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/7.845, allocations: 79.53 kB / 3.163 GB, free: 61.33 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/7.845, allocations: 23.98 kB / 3.163 GB, free: 61.3 MB / 0.8698 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 () * 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.0002762/7.845, allocations: 150.1 kB / 3.163 GB, free: 61.15 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/7.846, allocations: 86.95 kB / 3.164 GB, free: 61.07 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003463/7.849, allocations: 0.9698 MB / 3.164 GB, free: 60.08 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/7.849, allocations: 8 kB / 3.165 GB, free: 60.07 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/7.849, allocations: 4 kB / 3.165 GB, free: 60.07 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.111e-05/7.849, allocations: 3.984 kB / 3.165 GB, free: 60.06 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/7.851, allocations: 0.8955 MB / 3.165 GB, free: 59.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/7.851, allocations: 0 / 3.165 GB, free: 59.12 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/7.852, allocations: 151.8 kB / 3.166 GB, free: 58.97 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008912/7.853, allocations: 84.78 kB / 3.166 GB, free: 58.88 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/7.853, allocations: 19.98 kB / 3.166 GB, free: 58.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002373/7.856, allocations: 1.556 MB / 3.167 GB, free: 57.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/7.856, allocations: 0 / 3.167 GB, free: 57.17 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/7.859, allocations: 0.8206 MB / 3.168 GB, free: 56.33 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006423/7.859, allocations: 287.7 kB / 3.168 GB, free: 56.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/7.86, allocations: 28.16 kB / 3.168 GB, free: 56 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009816/7.861, allocations: 71.92 kB / 3.168 GB, free: 55.93 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/7.861, allocations: 68.67 kB / 3.168 GB, free: 55.86 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.531e-05/7.861, allocations: 27.98 kB / 3.168 GB, free: 55.84 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009004/7.862, allocations: 499.1 kB / 3.169 GB, free: 55.36 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.7e-07/7.862, allocations: 0 / 3.169 GB, free: 55.36 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001356/7.863, allocations: 347.1 kB / 3.169 GB, free: 55.02 MB / 0.8698 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) * 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.002237/7.865, allocations: 1.028 MB / 3.17 GB, free: 54.12 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001939/7.867, allocations: 0.6902 MB / 3.171 GB, free: 53.42 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/7.867, allocations: 0 / 3.171 GB, free: 53.42 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/7.868, allocations: 479.1 kB / 3.171 GB, free: 52.94 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/7.87, allocations: 255.3 kB / 3.172 GB, free: 52.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005077/7.875, allocations: 1.379 MB / 3.173 GB, free: 51.29 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/7.876, allocations: 1.035 MB / 3.174 GB, free: 50.23 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001397/7.877, allocations: 250 kB / 3.174 GB, free: 49.99 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003856/7.878, allocations: 95.39 kB / 3.174 GB, free: 49.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.102e-06/7.878, allocations: 0 / 3.174 GB, free: 49.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.05132/7.929, allocations: 22.6 MB / 3.196 GB, free: 27.39 MB / 0.8698 GB