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.664/1.664, allocations: 288.4 MB / 304.3 MB, free: 8.137 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.0009716/0.0009716, allocations: 190.9 kB / 372.9 MB, free: 10.11 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.352/1.352, allocations: 205.4 MB / 0.6316 GB, free: 9.855 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.0008806/0.0008807, allocations: 98.3 kB / 0.745 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004322, allocations: 16.19 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2042, allocations: 115.3 MB / 0.9807 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.004048/0.2083, allocations: 3.826 MB / 0.9845 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5798/0.7881, allocations: 136.8 MB / 1.118 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005843/0.7887, allocations: 18.72 kB / 1.118 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004825/0.7892, allocations: 156.4 kB / 1.118 GB, free: 2.262 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.00138/0.7906, allocations: 417.4 kB / 1.119 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.7926, allocations: 0.6022 MB / 1.119 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001068/0.7936, allocations: 1.076 MB / 1.12 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007809/0.7944, allocations: 0.589 MB / 1.121 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004262/0.7949, allocations: 306.7 kB / 1.121 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003691/0.7952, allocations: 325.1 kB / 1.121 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.894e-05/0.7953, allocations: 21.78 kB / 1.121 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006489/0.796, allocations: 297.4 kB / 1.122 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.7962, allocations: 167.6 kB / 1.122 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003513/0.7965, allocations: 412 kB / 1.122 GB, free: 17.36 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008943/0.7974, allocations: 1.08 MB / 1.123 GB, free: 17.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7974, allocations: 0 / 1.123 GB, free: 17.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7974, allocations: 0 / 1.123 GB, free: 17.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.7975, allocations: 0 / 1.123 GB, free: 17.27 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.00177/0.7992, allocations: 1.157 MB / 1.125 GB, free: 16.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.7993, allocations: 11.72 kB / 1.125 GB, free: 16.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008269/0.8001, allocations: 195.4 kB / 1.125 GB, free: 16.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000906/0.801, allocations: 0.7345 MB / 1.125 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/0.8011, allocations: 59 kB / 1.125 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.772e-05/0.8012, allocations: 77.55 kB / 1.126 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.8026, allocations: 0.8662 MB / 1.126 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.8026, allocations: 5.312 kB / 1.126 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.021e-05/0.8027, allocations: 34.55 kB / 1.126 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.8027, allocations: 21.22 kB / 1.126 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.8043, allocations: 1.084 MB / 1.128 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/0.8078, allocations: 2.458 MB / 1.13 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.8089, allocations: 0.7393 MB / 1.131 GB, free: 15.09 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004731/0.8094, allocations: 303.5 kB / 1.131 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/0.8096, allocations: 115.6 kB / 1.131 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007386/0.8104, allocations: 448.4 kB / 1.131 GB, free: 14.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 2.645e-06/0.8104, allocations: 3.062 kB / 1.131 GB, free: 14.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.002749/0.8131, allocations: 1.128 MB / 1.133 GB, free: 14.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.56e-05/0.8132, allocations: 192.3 kB / 1.133 GB, free: 14.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007496/0.814, allocations: 0.6303 MB / 1.133 GB, free: 14.33 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/0.8141, allocations: 37.39 kB / 1.133 GB, free: 14.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.8143, allocations: 388.7 kB / 1.134 GB, free: 14.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.8145, allocations: 249.1 kB / 1.134 GB, free: 13.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.8146, allocations: 14.22 kB / 1.134 GB, free: 13.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.8148, allocations: 383 kB / 1.134 GB, free: 13.65 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005098/0.8153, allocations: 253.1 kB / 1.135 GB, free: 13.65 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005928/0.8159, allocations: 338.9 kB / 1.135 GB, free: 13.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.817, allocations: 0.5927 MB / 1.136 GB, free: 13.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.817, allocations: 4 kB / 1.136 GB, free: 13.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001818/0.8188, allocations: 0.8108 MB / 1.136 GB, free: 13.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.8188, allocations: 9.438 kB / 1.136 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.8189, allocations: 1.219 kB / 1.136 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005947/0.8195, allocations: 82.61 kB / 1.136 GB, free: 13.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/0.8201, allocations: 151.8 kB / 1.137 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.8221, allocations: 1.535 MB / 1.138 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006621/0.8228, allocations: 86.03 kB / 1.138 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-05/0.8229, allocations: 34.62 kB / 1.138 GB, free: 11.82 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.000452/0.8233, allocations: 264.2 kB / 1.138 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.8235, allocations: 85.92 kB / 1.139 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.8257, allocations: 1.022 MB / 1.14 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.8257, allocations: 3.984 kB / 1.14 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.8257, allocations: 0 / 1.14 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003835/0.8261, allocations: 273.9 kB / 1.14 GB, free: 11.15 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.8262, allocations: 16.34 kB / 1.14 GB, free: 11.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005438/0.8268, allocations: 69.47 kB / 1.14 GB, free: 11.13 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.8269, allocations: 61.81 kB / 1.14 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001795/0.8287, allocations: 0.9118 MB / 1.141 GB, free: 10.84 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002627/0.8314, allocations: 1.331 MB / 1.142 GB, free: 10.42 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006579/0.832, allocations: 336.1 kB / 1.142 GB, free: 10.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008221/0.8329, allocations: 450.6 kB / 1.143 GB, free: 10.2 MB / 0.698 GB Notification: Performance of Backend: time 2.926e-06/0.8329, allocations: 1.375 kB / 1.143 GB, free: 10.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003997/0.8369, allocations: 1.157 MB / 1.144 GB, free: 9.742 MB / 0.698 GB Notification: Performance of SimCode: time 0.004723/0.8417, allocations: 2.376 MB / 1.146 GB, free: 8.113 MB / 0.698 GB Notification: Performance of Templates: time 0.04462/0.8863, allocations: 14.15 MB / 1.16 GB, free: 1.02 MB / 0.698 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)