Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.767/2.767, allocations: 287.5 MB / 302.4 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00142/0.00142, allocations: 184.3 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.234/2.234, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009115/0.0009115, allocations: 88.3 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005344/0.0005347, allocations: 10.81 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2181, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005832/0.2239, allocations: 3.822 MB / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.879/1.103, allocations: 136.8 MB / 1.116 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/1.104, allocations: 18.75 kB / 1.116 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009297/1.105, allocations: 158.1 kB / 1.116 GB, free: 1.473 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.002483/1.108, allocations: 412 kB / 1.116 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00301/1.111, allocations: 0.6002 MB / 1.117 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00223/1.113, allocations: 1.052 MB / 1.118 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/1.114, allocations: 476.2 kB / 1.118 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/1.115, allocations: 306.3 kB / 1.119 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/1.116, allocations: 326.9 kB / 1.119 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002616/1.117, allocations: 21.38 kB / 1.119 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/1.118, allocations: 287.6 kB / 1.119 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003685/1.118, allocations: 168 kB / 1.119 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004276/1.119, allocations: 187 kB / 1.12 GB, free: 16.74 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002635/1.122, allocations: 1.08 MB / 1.121 GB, free: 16.65 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.122, allocations: 0 / 1.121 GB, free: 16.65 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.457e-06/1.122, allocations: 0 / 1.121 GB, free: 16.65 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.41e-05/1.122, allocations: 0 / 1.121 GB, free: 16.65 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.003649/1.125, allocations: 1.179 MB / 1.122 GB, free: 15.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.125, allocations: 11.66 kB / 1.122 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/1.127, allocations: 193.7 kB / 1.122 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/1.129, allocations: 0.7025 MB / 1.123 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-05/1.129, allocations: 61.55 kB / 1.123 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/1.129, allocations: 74 kB / 1.123 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002707/1.132, allocations: 0.8744 MB / 1.124 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/1.132, allocations: 0 / 1.124 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/1.132, allocations: 34.14 kB / 1.124 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/1.132, allocations: 22.33 kB / 1.124 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003153/1.136, allocations: 1.083 MB / 1.125 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006886/1.142, allocations: 2.441 MB / 1.127 GB, free: 14.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/1.145, allocations: 0.7446 MB / 1.128 GB, free: 14.51 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009214/1.146, allocations: 299.5 kB / 1.128 GB, free: 14.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003039/1.146, allocations: 113.4 kB / 1.128 GB, free: 14.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001359/1.148, allocations: 448.2 kB / 1.129 GB, free: 14.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.426e-06/1.148, allocations: 0 / 1.129 GB, free: 14.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.005099/1.153, allocations: 1.132 MB / 1.13 GB, free: 14.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/1.153, allocations: 189.9 kB / 1.13 GB, free: 13.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/1.154, allocations: 0.6237 MB / 1.131 GB, free: 13.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002482/1.154, allocations: 38.11 kB / 1.131 GB, free: 13.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004517/1.155, allocations: 397.1 kB / 1.131 GB, free: 13.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000399/1.155, allocations: 238.5 kB / 1.131 GB, free: 13.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/1.155, allocations: 16.09 kB / 1.131 GB, free: 13.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002276/1.156, allocations: 385.2 kB / 1.132 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009126/1.156, allocations: 255.1 kB / 1.132 GB, free: 13.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009887/1.157, allocations: 338.4 kB / 1.132 GB, free: 13.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009721/1.158, allocations: 297.9 kB / 1.132 GB, free: 13.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/1.159, allocations: 1.281 kB / 1.132 GB, free: 13.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003441/1.162, allocations: 0.8189 MB / 1.133 GB, free: 12.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/1.162, allocations: 4.719 kB / 1.133 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.162, allocations: 2.953 kB / 1.133 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/1.163, allocations: 87.27 kB / 1.133 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/1.165, allocations: 153.1 kB / 1.133 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003108/1.168, allocations: 1.535 MB / 1.135 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/1.169, allocations: 85.5 kB / 1.135 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/1.169, allocations: 31.16 kB / 1.135 GB, free: 11.54 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.0007421/1.17, allocations: 271.4 kB / 1.135 GB, free: 11.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/1.17, allocations: 81.66 kB / 1.135 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004074/1.174, allocations: 1.017 MB / 1.136 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/1.174, allocations: 8.938 kB / 1.136 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.174, allocations: 0 / 1.136 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.081e-05/1.174, allocations: 6.047 kB / 1.136 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/1.176, allocations: 0.8739 MB / 1.137 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/1.176, allocations: 4 kB / 1.137 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1.178, allocations: 145.6 kB / 1.137 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009161/1.178, allocations: 83 kB / 1.138 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/1.179, allocations: 28.59 kB / 1.138 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002825/1.181, allocations: 1.559 MB / 1.139 GB, free: 9.664 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.182, allocations: 0 / 1.139 GB, free: 9.664 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003349/1.185, allocations: 0.8737 MB / 1.14 GB, free: 9.477 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000778/1.186, allocations: 280.7 kB / 1.14 GB, free: 9.285 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/1.186, allocations: 16.92 kB / 1.14 GB, free: 9.281 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/1.187, allocations: 71.5 kB / 1.14 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/1.187, allocations: 60.53 kB / 1.14 GB, free: 9.238 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/1.187, allocations: 30.61 kB / 1.14 GB, free: 9.234 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009527/1.188, allocations: 452.8 kB / 1.141 GB, free: 9.074 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/1.188, allocations: 1.375 kB / 1.141 GB, free: 9.074 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001473/1.19, allocations: 274.6 kB / 1.141 GB, free: 9.027 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.001836/1.192, allocations: 0.5564 MB / 1.142 GB, free: 8.785 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002861/1.195, allocations: 0.7892 MB / 1.142 GB, free: 8.547 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.195, allocations: 0 / 1.142 GB, free: 8.547 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001625/1.196, allocations: 0.4907 MB / 1.143 GB, free: 8.367 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/1.199, allocations: 262.2 kB / 1.143 GB, free: 8.289 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007295/1.206, allocations: 2.159 MB / 1.145 GB, free: 7.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009369/1.207, allocations: 1.016 MB / 1.146 GB, free: 6.266 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001653/1.209, allocations: 262.2 kB / 1.146 GB, free: 6.133 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004525/1.209, allocations: 97.05 kB / 1.147 GB, free: 6.109 MB / 0.698 GB Notification: Performance of SimCode: time 1.262e-06/1.209, allocations: 0 / 1.147 GB, free: 6.109 MB / 0.698 GB Notification: Performance of Templates: time 0.04261/1.252, allocations: 12.9 MB / 1.159 GB, free: 15.64 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)