Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.763/1.763, allocations: 288.4 MB / 303.4 MB, free: 8.141 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.001227/0.001227, allocations: 180.4 kB / 372 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0008723/0.0008725, allocations: 94.34 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004552/0.0004553, allocations: 15.53 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2655, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005117/0.2707, allocations: 3.818 MB / 0.9833 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8508/1.122, allocations: 136.8 MB / 1.117 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008952/1.123, allocations: 14.25 kB / 1.117 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007015/1.123, allocations: 158.7 kB / 1.117 GB, free: 2.113 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1-maint.8.0.x/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.1-maint.8.0.x/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.1-maint.8.0.x/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.001778/1.125, allocations: 414 kB / 1.117 GB, free: 2 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0024/1.128, allocations: 0.6074 MB / 1.118 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001653/1.129, allocations: 1.046 MB / 1.119 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008907/1.13, allocations: 473.9 kB / 1.12 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005717/1.131, allocations: 301.7 kB / 1.12 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005753/1.131, allocations: 330.7 kB / 1.12 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.763e-05/1.131, allocations: 26.59 kB / 1.12 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009933/1.132, allocations: 284.1 kB / 1.12 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002209/1.133, allocations: 164.5 kB / 1.121 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002861/1.133, allocations: 188.3 kB / 1.121 GB, free: 17.37 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001332/1.134, allocations: 1.081 MB / 1.122 GB, free: 17.29 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.134, allocations: 0 / 1.122 GB, free: 17.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.916e-06/1.134, allocations: 0 / 1.122 GB, free: 17.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.775e-05/1.134, allocations: 1.312 kB / 1.122 GB, free: 17.29 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.002284/1.137, allocations: 1.175 MB / 1.123 GB, free: 16.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/1.137, allocations: 13.14 kB / 1.123 GB, free: 16.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/1.138, allocations: 192.2 kB / 1.123 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/1.139, allocations: 0.7063 MB / 1.124 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.889e-05/1.139, allocations: 57.69 kB / 1.124 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/1.139, allocations: 77.83 kB / 1.124 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/1.141, allocations: 0.8652 MB / 1.125 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/1.141, allocations: 0 / 1.125 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-05/1.141, allocations: 37.69 kB / 1.125 GB, free: 16.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.218e-05/1.141, allocations: 22.83 kB / 1.125 GB, free: 16.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/1.143, allocations: 1.08 MB / 1.126 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004251/1.147, allocations: 2.46 MB / 1.128 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/1.149, allocations: 0.7454 MB / 1.129 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006677/1.149, allocations: 298.9 kB / 1.129 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/1.15, allocations: 109.9 kB / 1.129 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/1.151, allocations: 437.8 kB / 1.13 GB, free: 14.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 4.599e-06/1.151, allocations: 0 / 1.13 GB, free: 14.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.00353/1.154, allocations: 1.139 MB / 1.131 GB, free: 14.74 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001689/1.154, allocations: 192.3 kB / 1.131 GB, free: 14.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/1.156, allocations: 0.619 MB / 1.132 GB, free: 14.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/1.156, allocations: 38.48 kB / 1.132 GB, free: 14.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004996/1.156, allocations: 401 kB / 1.132 GB, free: 14.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002958/1.157, allocations: 243.1 kB / 1.132 GB, free: 14.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/1.157, allocations: 12.72 kB / 1.132 GB, free: 14.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002579/1.157, allocations: 384.4 kB / 1.133 GB, free: 13.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005518/1.157, allocations: 247.8 kB / 1.133 GB, free: 13.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007871/1.158, allocations: 348 kB / 1.133 GB, free: 13.65 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006845/1.159, allocations: 302.1 kB / 1.134 GB, free: 13.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.159, allocations: 0 / 1.134 GB, free: 13.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001989/1.161, allocations: 0.8125 MB / 1.134 GB, free: 13.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/1.161, allocations: 6.625 kB / 1.134 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.161, allocations: 4.094 kB / 1.134 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006788/1.162, allocations: 82.8 kB / 1.135 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007015/1.162, allocations: 155.5 kB / 1.135 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002449/1.165, allocations: 1.522 MB / 1.136 GB, free: 11.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008305/1.166, allocations: 91.36 kB / 1.136 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-05/1.166, allocations: 36.8 kB / 1.136 GB, free: 11.94 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.0006518/1.167, allocations: 259.8 kB / 1.137 GB, free: 11.81 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/1.167, allocations: 88.59 kB / 1.137 GB, free: 11.76 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002716/1.169, allocations: 1.016 MB / 1.138 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/1.169, allocations: 8.062 kB / 1.138 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.17, allocations: 1.125 kB / 1.138 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/1.17, allocations: 3.984 kB / 1.138 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/1.171, allocations: 0.8715 MB / 1.139 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.171, allocations: 2.438 kB / 1.139 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005944/1.172, allocations: 153.7 kB / 1.139 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005492/1.172, allocations: 88.17 kB / 1.139 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.656e-05/1.172, allocations: 22.17 kB / 1.139 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/1.174, allocations: 1.555 MB / 1.14 GB, free: 9.605 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.174, allocations: 0 / 1.14 GB, free: 9.605 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/1.176, allocations: 0.8779 MB / 1.141 GB, free: 9.348 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005347/1.177, allocations: 280.2 kB / 1.141 GB, free: 9.152 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/1.177, allocations: 20.36 kB / 1.141 GB, free: 9.148 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006783/1.178, allocations: 76.84 kB / 1.141 GB, free: 9.125 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/1.178, allocations: 60.22 kB / 1.142 GB, free: 9.102 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.01e-05/1.178, allocations: 29.58 kB / 1.142 GB, free: 9.098 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007949/1.179, allocations: 447.8 kB / 1.142 GB, free: 8.945 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.179, allocations: 4 kB / 1.142 GB, free: 8.941 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001173/1.18, allocations: 276.7 kB / 1.142 GB, free: 8.891 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.00158/1.182, allocations: 0.5603 MB / 1.143 GB, free: 8.633 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00198/1.184, allocations: 0.7979 MB / 1.144 GB, free: 8.391 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.184, allocations: 1.156 kB / 1.144 GB, free: 8.391 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/1.185, allocations: 0.4901 MB / 1.144 GB, free: 8.211 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/1.186, allocations: 261.5 kB / 1.144 GB, free: 8.137 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005284/1.192, allocations: 2.156 MB / 1.146 GB, free: 6.945 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008245/1.192, allocations: 1.013 MB / 1.147 GB, free: 6.121 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001109/1.194, allocations: 248.5 kB / 1.148 GB, free: 6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003082/1.194, allocations: 96.83 kB / 1.148 GB, free: 5.98 MB / 0.698 GB Notification: Performance of SimCode: time 8.22e-07/1.194, allocations: 0 / 1.148 GB, free: 5.98 MB / 0.698 GB Notification: Performance of Templates: time 0.03121/1.225, allocations: 12.91 MB / 1.16 GB, free: 15.53 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)