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.664/1.664, allocations: 287.4 MB / 303.2 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.00118/0.001181, allocations: 190.6 kB / 371.8 MB, free: 10.82 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.365/1.365, allocations: 205.4 MB / 0.6304 GB, free: 10.58 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.0007378/0.0007377, allocations: 87.41 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.0003962, allocations: 10.97 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1719, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.00378/0.1757, allocations: 3.814 MB / 0.983 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.4868/0.6625, allocations: 136.8 MB / 1.117 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006737/0.6632, allocations: 20.58 kB / 1.117 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005805/0.6638, allocations: 162.5 kB / 1.117 GB, free: 1.547 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.001473/0.6653, allocations: 408.3 kB / 1.117 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.667, allocations: 0.6007 MB / 1.118 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001164/0.6682, allocations: 1.078 MB / 1.119 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007417/0.6689, allocations: 0.5893 MB / 1.119 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004477/0.6694, allocations: 301.8 kB / 1.12 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004959/0.6699, allocations: 328.2 kB / 1.12 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.6701, allocations: 21.47 kB / 1.12 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007162/0.6708, allocations: 285.2 kB / 1.12 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.671, allocations: 169.4 kB / 1.12 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002349/0.6712, allocations: 185.9 kB / 1.121 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.6725, allocations: 1.082 MB / 1.122 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6726, allocations: 0.9844 kB / 1.122 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6726, allocations: 0 / 1.122 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.964e-05/0.6726, allocations: 1.859 kB / 1.122 GB, free: 0.6758 MB / 0.6823 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.001872/0.6745, allocations: 1.159 MB / 1.123 GB, free: 15.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.6745, allocations: 10.41 kB / 1.123 GB, free: 15.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007777/0.6753, allocations: 195.4 kB / 1.123 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000912/0.6762, allocations: 0.7405 MB / 1.124 GB, free: 15.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.6763, allocations: 58.69 kB / 1.124 GB, free: 15.53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.031e-05/0.6764, allocations: 76.45 kB / 1.124 GB, free: 15.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.6777, allocations: 0.8616 MB / 1.125 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.6777, allocations: 0 / 1.125 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/0.6778, allocations: 41.39 kB / 1.125 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.6778, allocations: 21.72 kB / 1.125 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.6793, allocations: 1.083 MB / 1.126 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00327/0.6826, allocations: 2.448 MB / 1.128 GB, free: 14.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.6838, allocations: 0.7562 MB / 1.129 GB, free: 14.49 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000449/0.6842, allocations: 291.8 kB / 1.129 GB, free: 14.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000171/0.6844, allocations: 109 kB / 1.129 GB, free: 14.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006823/0.6851, allocations: 445.1 kB / 1.13 GB, free: 14.31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 2.395e-06/0.6851, allocations: 0 / 1.13 GB, free: 14.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.002717/0.6878, allocations: 1.138 MB / 1.131 GB, free: 14.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.18e-05/0.6879, allocations: 189.9 kB / 1.131 GB, free: 13.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006246/0.6886, allocations: 0.6223 MB / 1.132 GB, free: 13.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.958e-05/0.6886, allocations: 40.77 kB / 1.132 GB, free: 13.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.6889, allocations: 389.6 kB / 1.132 GB, free: 13.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.6891, allocations: 252.9 kB / 1.132 GB, free: 13.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.6891, allocations: 11.03 kB / 1.132 GB, free: 13.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.6893, allocations: 385.2 kB / 1.133 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004657/0.6897, allocations: 249.3 kB / 1.133 GB, free: 13.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005161/0.6903, allocations: 346.5 kB / 1.133 GB, free: 13.01 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009626/0.6912, allocations: 0.5872 MB / 1.134 GB, free: 12.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.6912, allocations: 1.281 kB / 1.134 GB, free: 12.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001698/0.6929, allocations: 0.8128 MB / 1.135 GB, free: 12.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.693, allocations: 7.5 kB / 1.135 GB, free: 12.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.693, allocations: 1.156 kB / 1.135 GB, free: 12.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005682/0.6936, allocations: 85.14 kB / 1.135 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/0.6942, allocations: 148.5 kB / 1.135 GB, free: 12.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.6961, allocations: 1.539 MB / 1.136 GB, free: 11.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005981/0.6967, allocations: 88.42 kB / 1.136 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-05/0.6967, allocations: 36.47 kB / 1.136 GB, free: 11.48 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.0003562/0.6971, allocations: 259.5 kB / 1.137 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.6972, allocations: 83.34 kB / 1.137 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.6994, allocations: 1.014 MB / 1.138 GB, free: 11.17 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.6994, allocations: 5.016 kB / 1.138 GB, free: 11.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6994, allocations: 0 / 1.138 GB, free: 11.17 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/0.6998, allocations: 282.1 kB / 1.138 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.6999, allocations: 15.78 kB / 1.138 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/0.7004, allocations: 72.45 kB / 1.138 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.7006, allocations: 66.06 kB / 1.138 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001798/0.7024, allocations: 0.9075 MB / 1.139 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002061/0.7044, allocations: 1.334 MB / 1.14 GB, free: 10.56 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005782/0.705, allocations: 334.3 kB / 1.141 GB, free: 10.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006041/0.7057, allocations: 444.5 kB / 1.141 GB, free: 10.38 MB / 0.698 GB Notification: Performance of Backend: time 6.11e-07/0.7057, allocations: 4 kB / 1.141 GB, free: 10.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002768/0.7084, allocations: 1.146 MB / 1.142 GB, free: 9.953 MB / 0.698 GB Notification: Performance of SimCode: time 0.003096/0.7115, allocations: 2.39 MB / 1.145 GB, free: 8.305 MB / 0.698 GB Notification: Performance of Templates: time 0.02375/0.7353, allocations: 14 MB / 1.158 GB, free: 1.281 MB / 0.698 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)