Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.346/1.346, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008775/0.0008775, allocations: 179.5 kB / 326.5 MB, free: 2.719 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205 MB / 0.5767 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007556/0.0007556, allocations: 95.91 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002842/0.0002841, allocations: 11.94 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1518, allocations: 105.4 MB / 0.8968 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.004032/0.1559, allocations: 4.128 MB / 0.9008 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1285/0.2844, allocations: 148.3 MB / 1.046 GB, free: 11.18 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004553/0.2849, allocations: 15.94 kB / 1.046 GB, free: 11.17 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005357/0.2854, allocations: 166.8 kB / 1.046 GB, free: 11 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.001079/0.2865, allocations: 426.7 kB / 1.046 GB, free: 10.59 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.288, allocations: 0.6811 MB / 1.047 GB, free: 9.914 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009183/0.2889, allocations: 1.125 MB / 1.048 GB, free: 8.781 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007684/0.2897, allocations: 0.5982 MB / 1.049 GB, free: 8.16 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003633/0.2901, allocations: 314.3 kB / 1.049 GB, free: 7.852 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003658/0.2904, allocations: 338 kB / 1.049 GB, free: 7.52 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.415e-05/0.2905, allocations: 20 kB / 1.049 GB, free: 7.5 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000525/0.2911, allocations: 315.7 kB / 1.049 GB, free: 7.191 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.2912, allocations: 175.1 kB / 1.05 GB, free: 7.02 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000304/0.2915, allocations: 409.2 kB / 1.05 GB, free: 6.617 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.2927, allocations: 1.366 MB / 1.051 GB, free: 5.246 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2927, allocations: 0 / 1.051 GB, free: 5.246 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2927, allocations: 7.938 kB / 1.051 GB, free: 5.238 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.2927, allocations: 0 / 1.051 GB, free: 5.238 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.001784/0.2945, allocations: 1.155 MB / 1.053 GB, free: 4.035 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.2946, allocations: 8.031 kB / 1.053 GB, free: 4.027 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008335/0.2954, allocations: 195.4 kB / 1.053 GB, free: 3.836 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009469/0.2964, allocations: 0.7352 MB / 1.053 GB, free: 3.059 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.1e-05/0.2964, allocations: 58 kB / 1.053 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.854e-05/0.2965, allocations: 80 kB / 1.054 GB, free: 2.922 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.2979, allocations: 0.8754 MB / 1.054 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.2979, allocations: 0 / 1.054 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.987e-05/0.298, allocations: 36 kB / 1.054 GB, free: 1.973 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.298, allocations: 16 kB / 1.054 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.2996, allocations: 1.093 MB / 1.056 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3328/0.6324, allocations: 2.45 MB / 1.058 GB, free: 159.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.6337, allocations: 0.751 MB / 1.059 GB, free: 159.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004219/0.6342, allocations: 292.5 kB / 1.059 GB, free: 159.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.6343, allocations: 119.8 kB / 1.059 GB, free: 159.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006629/0.635, allocations: 446.7 kB / 1.059 GB, free: 159.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.076e-06/0.635, allocations: 2.5 kB / 1.059 GB, free: 159.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.00273/0.6377, allocations: 1.144 MB / 1.061 GB, free: 159.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.6378, allocations: 190.2 kB / 1.061 GB, free: 158.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006415/0.6385, allocations: 0.6264 MB / 1.061 GB, free: 158.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.6385, allocations: 38.73 kB / 1.061 GB, free: 158.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/0.6387, allocations: 396 kB / 1.062 GB, free: 158.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.6389, allocations: 235.3 kB / 1.062 GB, free: 158.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.606e-05/0.639, allocations: 67.73 kB / 1.062 GB, free: 158.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.6391, allocations: 386.1 kB / 1.062 GB, free: 158.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000452/0.6395, allocations: 257.1 kB / 1.063 GB, free: 158.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005237/0.6401, allocations: 347.8 kB / 1.063 GB, free: 158.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009989/0.6411, allocations: 0.5911 MB / 1.064 GB, free: 158 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6411, allocations: 0.8438 kB / 1.064 GB, free: 158 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001832/0.6429, allocations: 0.8174 MB / 1.064 GB, free: 157.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.6429, allocations: 4.812 kB / 1.064 GB, free: 157.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.643, allocations: 2.484 kB / 1.064 GB, free: 157.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005688/0.6435, allocations: 84.38 kB / 1.065 GB, free: 157.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006148/0.6442, allocations: 153.7 kB / 1.065 GB, free: 157.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.6459, allocations: 1.541 MB / 1.066 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005762/0.6465, allocations: 84.5 kB / 1.066 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-05/0.6465, allocations: 31.47 kB / 1.066 GB, free: 156.6 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003355/0.6469, allocations: 261.6 kB / 1.067 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.647, allocations: 82.59 kB / 1.067 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.6494, allocations: 1.017 MB / 1.068 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.6494, allocations: 4.75 kB / 1.068 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6494, allocations: 0.5625 kB / 1.068 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002936/0.6497, allocations: 266 kB / 1.068 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.6498, allocations: 16.69 kB / 1.068 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005349/0.6503, allocations: 77.09 kB / 1.068 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.6505, allocations: 57.47 kB / 1.068 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001906/0.6524, allocations: 0.923 MB / 1.069 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002196/0.6546, allocations: 1.339 MB / 1.07 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000562/0.6552, allocations: 335.2 kB / 1.071 GB, free: 155.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005307/0.6557, allocations: 453.8 kB / 1.071 GB, free: 155.4 MB / 0.698 GB Notification: Performance of Backend: time 5.21e-07/0.6557, allocations: 4 kB / 1.071 GB, free: 155.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002697/0.6584, allocations: 1.163 MB / 1.072 GB, free: 154.9 MB / 0.698 GB Notification: Performance of SimCode: time 0.002643/0.6611, allocations: 2.408 MB / 1.074 GB, free: 153.3 MB / 0.698 GB Notification: Performance of Templates: time 0.02069/0.6818, allocations: 14.36 MB / 1.088 GB, free: 145.7 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)