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.341/2.341, allocations: 253.2 MB / 260.6 MB, free: 7.516 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.001526/0.001526, allocations: 172.9 kB / 319.9 MB, free: 3.016 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.072/2.072, allocations: 205.5 MB / 0.5708 GB, free: 15.22 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.001184/0.001184, allocations: 85.08 kB / 0.6751 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.312e-05/2.32e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.218, allocations: 106.3 MB / 0.8887 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.392/7.611, allocations: 2.192 GB / 3.08 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003594/7.611, allocations: 93.61 kB / 3.08 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2419/7.853, allocations: 63.31 MB / 3.142 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.304e-06/7.853, allocations: 0 / 3.142 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.615e-05/7.853, allocations: 27.94 kB / 3.142 GB, free: 116.2 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.002539/7.856, allocations: 1.074 MB / 3.143 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/7.856, allocations: 8.031 kB / 3.143 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/7.857, allocations: 194.5 kB / 3.143 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/7.859, allocations: 0.6316 MB / 3.144 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/7.859, allocations: 27.94 kB / 3.144 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/7.859, allocations: 51.98 kB / 3.144 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002198/7.861, allocations: 0.9874 MB / 3.145 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/7.863, allocations: 0.7116 MB / 3.146 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/7.863, allocations: 7.953 kB / 3.146 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/7.863, allocations: 7.984 kB / 3.146 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/7.863, allocations: 16 kB / 3.146 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005878/7.869, allocations: 2.31 MB / 3.148 GB, free: 110 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/7.871, allocations: 0.6744 MB / 3.149 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/7.871, allocations: 251.1 kB / 3.149 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002664/7.871, allocations: 113.9 kB / 3.149 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000822/7.872, allocations: 393 kB / 3.149 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.566e-06/7.872, allocations: 0 / 3.149 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.002604/7.875, allocations: 0.6797 MB / 3.15 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/7.875, allocations: 244.1 kB / 3.15 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/7.876, allocations: 0.5386 MB / 3.151 GB, free: 107 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/7.876, allocations: 29.7 kB / 3.151 GB, free: 107 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/7.877, allocations: 396.2 kB / 3.151 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000231/7.877, allocations: 236.4 kB / 3.151 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/7.877, allocations: 0 / 3.151 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001302/7.877, allocations: 378.8 kB / 3.152 GB, free: 106 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004654/7.878, allocations: 197.5 kB / 3.152 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005767/7.878, allocations: 295.5 kB / 3.152 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007751/7.879, allocations: 256.4 kB / 3.153 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/7.879, allocations: 3.938 kB / 3.153 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002401/7.881, allocations: 0.6719 MB / 3.153 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/7.881, allocations: 4 kB / 3.153 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/7.881, allocations: 3.984 kB / 3.153 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000974/7.882, allocations: 88.83 kB / 3.153 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/7.884, allocations: 135.8 kB / 3.153 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/7.886, allocations: 1.465 MB / 3.155 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/7.887, allocations: 67.56 kB / 3.155 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.389e-05/7.887, allocations: 31.97 kB / 3.155 GB, free: 102.6 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.0002478/7.888, allocations: 114.1 kB / 3.155 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/7.888, allocations: 83.02 kB / 3.155 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/7.891, allocations: 0.923 MB / 3.156 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/7.891, allocations: 8 kB / 3.156 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/7.891, allocations: 0 / 3.156 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/7.891, allocations: 3.984 kB / 3.156 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/7.893, allocations: 0.7751 MB / 3.157 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/7.893, allocations: 0 / 3.157 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/7.894, allocations: 143.8 kB / 3.157 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008611/7.895, allocations: 84.78 kB / 3.157 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/7.895, allocations: 15.98 kB / 3.157 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/7.897, allocations: 1.492 MB / 3.158 GB, free: 98.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/7.897, allocations: 0 / 3.158 GB, free: 98.77 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/7.9, allocations: 0.7855 MB / 3.159 GB, free: 97.95 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005575/7.9, allocations: 283.9 kB / 3.16 GB, free: 97.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/7.901, allocations: 7.984 kB / 3.16 GB, free: 97.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009834/7.902, allocations: 59.88 kB / 3.16 GB, free: 97.59 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/7.902, allocations: 56.7 kB / 3.16 GB, free: 97.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.745e-05/7.902, allocations: 36.03 kB / 3.16 GB, free: 97.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000725/7.903, allocations: 443.2 kB / 3.16 GB, free: 97.07 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.11e-07/7.903, allocations: 0 / 3.16 GB, free: 97.07 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001366/7.904, allocations: 315.1 kB / 3.16 GB, free: 96.77 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.002327/7.906, allocations: 1.086 MB / 3.161 GB, free: 95.79 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001823/7.908, allocations: 0.6512 MB / 3.162 GB, free: 95.12 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/7.908, allocations: 0 / 3.162 GB, free: 95.12 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009869/7.909, allocations: 452.7 kB / 3.163 GB, free: 94.67 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/7.911, allocations: 233.8 kB / 3.163 GB, free: 94.45 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00505/7.916, allocations: 1.317 MB / 3.164 GB, free: 93.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/7.917, allocations: 1.042 MB / 3.165 GB, free: 92.03 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001466/7.918, allocations: 245.8 kB / 3.165 GB, free: 91.79 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003701/7.919, allocations: 87.39 kB / 3.165 GB, free: 91.71 MB / 0.8698 GB Notification: Performance of SimCode: time 1.022e-06/7.919, allocations: 4 kB / 3.165 GB, free: 91.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.0423/7.961, allocations: 15.77 MB / 3.181 GB, free: 76.04 MB / 0.8698 GB