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 loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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") 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.455/2.455, allocations: 251.3 MB / 266.2 MB, free: 11.54 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.001339/0.001339, allocations: 179.9 kB / 325.8 MB, free: 2.812 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.485/2.485, allocations: 205.4 MB / 0.5767 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.001055/0.001054, allocations: 92.3 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007416/0.0007419, allocations: 13.53 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2365, allocations: 106.3 MB / 0.899 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005943/0.2425, allocations: 3.829 MB / 0.9028 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2121/0.4546, allocations: 136.8 MB / 1.036 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000969/0.4556, allocations: 15.94 kB / 1.036 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008549/0.4565, allocations: 158.8 kB / 1.037 GB, free: 4.18 MB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.002115/0.4587, allocations: 417 kB / 1.037 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.4613, allocations: 0.5976 MB / 1.038 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002021/0.4634, allocations: 1.074 MB / 1.039 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.4647, allocations: 0.5852 MB / 1.039 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008328/0.4656, allocations: 302.5 kB / 1.039 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006253/0.4663, allocations: 330.2 kB / 1.04 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.4664, allocations: 20 kB / 1.04 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.4674, allocations: 287.7 kB / 1.04 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.4677, allocations: 167.3 kB / 1.04 GB, free: 424 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.468, allocations: 189.1 kB / 1.04 GB, free: 228 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.4699, allocations: 1.079 MB / 1.041 GB, free: 15.14 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.47, allocations: 4 kB / 1.041 GB, free: 15.13 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.374e-06/0.47, allocations: 0 / 1.041 GB, free: 15.13 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.359e-05/0.47, allocations: 0 / 1.041 GB, free: 15.13 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.003218/0.4733, allocations: 1.162 MB / 1.043 GB, free: 13.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.4733, allocations: 8.031 kB / 1.043 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/0.4752, allocations: 199.4 kB / 1.043 GB, free: 13.72 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/0.4771, allocations: 0.7084 MB / 1.043 GB, free: 12.97 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-05/0.4773, allocations: 62 kB / 1.044 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.4774, allocations: 72 kB / 1.044 GB, free: 12.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/0.4799, allocations: 0.8676 MB / 1.044 GB, free: 11.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.48, allocations: 0 / 1.044 GB, free: 11.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/0.4801, allocations: 36 kB / 1.045 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.178e-05/0.4801, allocations: 16 kB / 1.045 GB, free: 11.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003025/0.4832, allocations: 1.089 MB / 1.046 GB, free: 10.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006466/0.4897, allocations: 2.447 MB / 1.048 GB, free: 8.273 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/0.492, allocations: 0.7491 MB / 1.049 GB, free: 7.516 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009411/0.493, allocations: 294.6 kB / 1.049 GB, free: 7.223 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/0.4933, allocations: 113.8 kB / 1.049 GB, free: 7.094 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001294/0.4946, allocations: 451.2 kB / 1.05 GB, free: 6.637 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.617e-06/0.4947, allocations: 0 / 1.05 GB, free: 6.637 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.005372/0.5, allocations: 1.139 MB / 1.051 GB, free: 5.469 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.5002, allocations: 192.6 kB / 1.051 GB, free: 5.238 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.5016, allocations: 0.6176 MB / 1.051 GB, free: 4.613 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002012/0.5018, allocations: 41.7 kB / 1.051 GB, free: 4.566 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000463/0.5023, allocations: 392.3 kB / 1.052 GB, free: 4.176 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003309/0.5026, allocations: 240.5 kB / 1.052 GB, free: 3.938 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.911e-05/0.5027, allocations: 12 kB / 1.052 GB, free: 3.926 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002086/0.5029, allocations: 386.8 kB / 1.052 GB, free: 3.539 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009767/0.5039, allocations: 253.9 kB / 1.053 GB, free: 3.293 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.505, allocations: 347 kB / 1.053 GB, free: 2.938 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.506, allocations: 290.9 kB / 1.053 GB, free: 2.656 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.506, allocations: 0 / 1.053 GB, free: 2.656 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003328/0.5094, allocations: 0.8214 MB / 1.054 GB, free: 1.824 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/0.5094, allocations: 10.19 kB / 1.054 GB, free: 1.816 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.5095, allocations: 0 / 1.054 GB, free: 1.816 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009935/0.5105, allocations: 84.86 kB / 1.054 GB, free: 1.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.5119, allocations: 151.8 kB / 1.054 GB, free: 1.582 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5912/1.103, allocations: 1.534 MB / 1.056 GB, free: 155.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/1.105, allocations: 86.75 kB / 1.056 GB, free: 155.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/1.105, allocations: 34.56 kB / 1.056 GB, free: 155.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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.0007053/1.106, allocations: 258.8 kB / 1.056 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002525/1.106, allocations: 85.25 kB / 1.056 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003917/1.11, allocations: 1.02 MB / 1.057 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/1.11, allocations: 8.719 kB / 1.057 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/1.11, allocations: 9.516 kB / 1.057 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/1.11, allocations: 3.234 kB / 1.057 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/1.112, allocations: 0.8649 MB / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.319e-05/1.112, allocations: 0 / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/1.114, allocations: 149.2 kB / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001636/1.116, allocations: 81.94 kB / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002318/1.116, allocations: 23.95 kB / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004336/1.121, allocations: 1.564 MB / 1.06 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.121, allocations: 0 / 1.06 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004989/1.126, allocations: 0.8773 MB / 1.061 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/1.127, allocations: 273.5 kB / 1.061 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/1.127, allocations: 17.62 kB / 1.061 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/1.129, allocations: 71.5 kB / 1.061 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003878/1.129, allocations: 67.3 kB / 1.061 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/1.13, allocations: 27.53 kB / 1.061 GB, free: 153.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001424/1.131, allocations: 448.8 kB / 1.062 GB, free: 153.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.132e-06/1.131, allocations: 3.812 kB / 1.062 GB, free: 153.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001965/1.133, allocations: 278.3 kB / 1.062 GB, free: 153.1 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 ($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.002675/1.136, allocations: 0.5662 MB / 1.062 GB, free: 152.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004145/1.14, allocations: 0.7858 MB / 1.063 GB, free: 152.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/1.14, allocations: 0 / 1.063 GB, free: 152.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002289/1.142, allocations: 0.493 MB / 1.064 GB, free: 152.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/1.146, allocations: 261.2 kB / 1.064 GB, free: 152.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/1.157, allocations: 2.156 MB / 1.066 GB, free: 151.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/1.158, allocations: 1.013 MB / 1.067 GB, free: 151 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002603/1.161, allocations: 251.6 kB / 1.067 GB, free: 150.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000778/1.161, allocations: 95.03 kB / 1.067 GB, free: 150.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.934e-06/1.161, allocations: 0.5938 kB / 1.067 GB, free: 150.9 MB / 0.698 GB Notification: Performance of Templates: time 0.06096/1.222, allocations: 12.91 MB / 1.08 GB, free: 146.6 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)