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 1.722/1.722, allocations: 287.5 MB / 302.6 MB, free: 8.379 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.001217/0.001217, allocations: 191 kB / 371.2 MB, free: 10.83 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.568/1.568, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007718/0.0007719, allocations: 97.64 kB / 0.7432 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006105/0.0006104, allocations: 20.45 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2888, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.004441/0.2933, allocations: 3.818 MB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7026/0.9959, allocations: 136.8 MB / 1.116 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007781/0.9968, allocations: 15.34 kB / 1.116 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000649/0.9974, allocations: 162.4 kB / 1.116 GB, free: 1.535 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.001766/0.9992, allocations: 407.1 kB / 1.117 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002267/1.001, allocations: 0.6071 MB / 1.117 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001575/1.003, allocations: 1.074 MB / 1.118 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/1.004, allocations: 0.5855 MB / 1.119 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008167/1.005, allocations: 308.3 kB / 1.119 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000611/1.006, allocations: 328 kB / 1.119 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/1.006, allocations: 21.75 kB / 1.119 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/1.007, allocations: 284.5 kB / 1.12 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002658/1.007, allocations: 168.2 kB / 1.12 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003076/1.008, allocations: 188 kB / 1.12 GB, free: 16.75 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002089/1.01, allocations: 1.079 MB / 1.121 GB, free: 16.66 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.335e-05/1.01, allocations: 4.359 kB / 1.121 GB, free: 16.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.086e-06/1.01, allocations: 0 / 1.121 GB, free: 16.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.942e-05/1.01, allocations: 0 / 1.121 GB, free: 16.66 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.002606/1.012, allocations: 1.159 MB / 1.122 GB, free: 15.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/1.012, allocations: 7.875 kB / 1.122 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008965/1.013, allocations: 195 kB / 1.122 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/1.014, allocations: 0.7399 MB / 1.123 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.229e-05/1.015, allocations: 59.81 kB / 1.123 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/1.015, allocations: 72.88 kB / 1.123 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/1.016, allocations: 0.8727 MB / 1.124 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/1.016, allocations: 0 / 1.124 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.523e-05/1.016, allocations: 32.47 kB / 1.124 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/1.016, allocations: 19.81 kB / 1.124 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/1.018, allocations: 1.087 MB / 1.125 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003896/1.022, allocations: 2.455 MB / 1.128 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/1.023, allocations: 0.7536 MB / 1.128 GB, free: 14.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004893/1.024, allocations: 294.5 kB / 1.129 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/1.024, allocations: 113.1 kB / 1.129 GB, free: 14.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008041/1.025, allocations: 444 kB / 1.129 GB, free: 14.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 2.816e-06/1.025, allocations: 0 / 1.129 GB, free: 14.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003021/1.028, allocations: 1.134 MB / 1.13 GB, free: 14.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/1.028, allocations: 190.6 kB / 1.13 GB, free: 13.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008626/1.029, allocations: 0.625 MB / 1.131 GB, free: 13.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.673e-05/1.029, allocations: 40.52 kB / 1.131 GB, free: 13.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003487/1.029, allocations: 393.7 kB / 1.131 GB, free: 13.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/1.029, allocations: 242.9 kB / 1.132 GB, free: 13.37 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/1.03, allocations: 13 kB / 1.132 GB, free: 13.37 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001819/1.03, allocations: 382.5 kB / 1.132 GB, free: 13.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/1.03, allocations: 259.7 kB / 1.132 GB, free: 13.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005553/1.031, allocations: 342.5 kB / 1.133 GB, free: 13 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/1.032, allocations: 0.5853 MB / 1.133 GB, free: 12.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.032, allocations: 4 kB / 1.133 GB, free: 12.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001987/1.034, allocations: 0.8118 MB / 1.134 GB, free: 12.83 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/1.034, allocations: 6.375 kB / 1.134 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.034, allocations: 0 / 1.134 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005948/1.035, allocations: 83.97 kB / 1.134 GB, free: 12.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006479/1.035, allocations: 151.8 kB / 1.134 GB, free: 12.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/1.037, allocations: 1.535 MB / 1.136 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007602/1.038, allocations: 92.47 kB / 1.136 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.617e-05/1.038, allocations: 32.98 kB / 1.136 GB, free: 11.47 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.0005865/1.039, allocations: 254.9 kB / 1.136 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/1.039, allocations: 82.5 kB / 1.136 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/1.041, allocations: 1.019 MB / 1.137 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/1.041, allocations: 9.219 kB / 1.137 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/1.041, allocations: 0 / 1.137 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/1.042, allocations: 8.297 kB / 1.137 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/1.043, allocations: 0.8787 MB / 1.138 GB, free: 10.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.043, allocations: 0 / 1.138 GB, free: 10.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006355/1.043, allocations: 152.1 kB / 1.138 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005379/1.044, allocations: 82.52 kB / 1.138 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.633e-05/1.044, allocations: 23.11 kB / 1.138 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/1.046, allocations: 1.565 MB / 1.14 GB, free: 9.598 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.046, allocations: 0.875 kB / 1.14 GB, free: 9.598 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/1.048, allocations: 0.874 MB / 1.141 GB, free: 9.398 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/1.049, allocations: 275.4 kB / 1.141 GB, free: 9.211 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/1.049, allocations: 16 kB / 1.141 GB, free: 9.211 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000577/1.049, allocations: 69.28 kB / 1.141 GB, free: 9.191 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/1.05, allocations: 66.19 kB / 1.141 GB, free: 9.164 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.108e-05/1.05, allocations: 30.33 kB / 1.141 GB, free: 9.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007762/1.051, allocations: 451.3 kB / 1.142 GB, free: 9.004 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.051, allocations: 0 / 1.142 GB, free: 9.004 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001028/1.052, allocations: 280.5 kB / 1.142 GB, free: 8.949 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.001367/1.053, allocations: 0.5564 MB / 1.142 GB, free: 8.707 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002044/1.055, allocations: 0.7852 MB / 1.143 GB, free: 8.473 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/1.055, allocations: 5.188 kB / 1.143 GB, free: 8.469 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/1.056, allocations: 0.4894 MB / 1.144 GB, free: 8.289 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/1.057, allocations: 256.9 kB / 1.144 GB, free: 8.211 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004626/1.062, allocations: 2.164 MB / 1.146 GB, free: 7.023 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006915/1.063, allocations: 1.016 MB / 1.147 GB, free: 6.191 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001112/1.064, allocations: 261 kB / 1.147 GB, free: 6.059 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/1.064, allocations: 94.45 kB / 1.147 GB, free: 6.039 MB / 0.698 GB Notification: Performance of SimCode: time 2.355e-06/1.064, allocations: 0 / 1.147 GB, free: 6.039 MB / 0.698 GB Notification: Performance of Templates: time 0.02595/1.09, allocations: 12.93 MB / 1.16 GB, free: 15.55 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)