Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.287/2.287, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001292/0.001292, allocations: 177.7 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.336/2.336, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0008437/0.0008431, allocations: 86.36 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004714, allocations: 11.91 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1914, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005837/0.1973, allocations: 3.837 MB / 0.9032 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2045/0.4018, allocations: 136.8 MB / 1.037 GB, free: 4.418 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008671/0.4027, allocations: 15.94 kB / 1.037 GB, free: 4.402 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0007536/0.4035, allocations: 158.8 kB / 1.037 GB, free: 4.246 MB / 0.6824 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1/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.1/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.1/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.002134/0.4056, allocations: 417.9 kB / 1.037 GB, free: 3.84 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.002898/0.4086, allocations: 0.6015 MB / 1.038 GB, free: 3.246 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.002101/0.4107, allocations: 1.074 MB / 1.039 GB, free: 2.164 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.412, allocations: 0.5774 MB / 1.04 GB, free: 1.57 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007755/0.4128, allocations: 302.5 kB / 1.04 GB, free: 1.273 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000632/0.4134, allocations: 326.2 kB / 1.04 GB, free: 0.9531 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.4136, allocations: 23.94 kB / 1.04 GB, free: 0.9297 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009631/0.4145, allocations: 287.7 kB / 1.041 GB, free: 0.6484 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.0002471/0.4148, allocations: 167.2 kB / 1.041 GB, free: 496 kB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 0.0002694/0.4151, allocations: 185.1 kB / 1.041 GB, free: 304 kB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.417, allocations: 1.079 MB / 1.042 GB, free: 15.21 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.4171, allocations: 0 / 1.042 GB, free: 15.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.625e-06/0.4171, allocations: 3.938 kB / 1.042 GB, free: 15.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.624e-05/0.4171, allocations: 0 / 1.042 GB, free: 15.21 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.003213/0.4203, allocations: 1.17 MB / 1.043 GB, free: 13.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.4204, allocations: 8.031 kB / 1.043 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/0.4219, allocations: 195.4 kB / 1.043 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/0.4237, allocations: 0.7084 MB / 1.044 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.556e-05/0.4238, allocations: 62 kB / 1.044 GB, free: 12.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.424, allocations: 76 kB / 1.044 GB, free: 12.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.4265, allocations: 0.8637 MB / 1.045 GB, free: 12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.4266, allocations: 0 / 1.045 GB, free: 12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.4267, allocations: 36 kB / 1.045 GB, free: 11.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-05/0.4268, allocations: 27.94 kB / 1.045 GB, free: 11.94 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003064/0.4298, allocations: 1.077 MB / 1.046 GB, free: 10.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006713/0.4366, allocations: 2.459 MB / 1.048 GB, free: 8.332 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002346/0.439, allocations: 0.7464 MB / 1.049 GB, free: 7.578 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009553/0.44, allocations: 290.7 kB / 1.049 GB, free: 7.289 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/0.4403, allocations: 113.8 kB / 1.05 GB, free: 7.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/0.4416, allocations: 447.1 kB / 1.05 GB, free: 6.707 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.967e-06/0.4417, allocations: 4 kB / 1.05 GB, free: 6.703 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.005309/0.447, allocations: 1.135 MB / 1.051 GB, free: 5.539 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.4472, allocations: 192.6 kB / 1.051 GB, free: 5.309 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.4485, allocations: 0.6215 MB / 1.052 GB, free: 4.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002365/0.4488, allocations: 37.7 kB / 1.052 GB, free: 4.637 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005255/0.4493, allocations: 396.3 kB / 1.052 GB, free: 4.242 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004166/0.4497, allocations: 236.5 kB / 1.053 GB, free: 4.008 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.271e-05/0.4498, allocations: 16 kB / 1.053 GB, free: 3.992 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002727/0.4501, allocations: 386.8 kB / 1.053 GB, free: 3.605 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.4512, allocations: 249.9 kB / 1.053 GB, free: 3.363 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.4524, allocations: 347.1 kB / 1.053 GB, free: 3.008 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.4536, allocations: 290.9 kB / 1.054 GB, free: 2.727 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.4536, allocations: 0 / 1.054 GB, free: 2.727 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003494/0.4571, allocations: 0.8175 MB / 1.055 GB, free: 1.898 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.4572, allocations: 4 kB / 1.055 GB, free: 1.895 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.4572, allocations: 4 kB / 1.055 GB, free: 1.891 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009873/0.4582, allocations: 84.81 kB / 1.055 GB, free: 1.805 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.4595, allocations: 155.8 kB / 1.055 GB, free: 1.652 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5582/1.018, allocations: 1.53 MB / 1.056 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/1.019, allocations: 82.36 kB / 1.056 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/1.019, allocations: 35.23 kB / 1.056 GB, free: 155.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 ($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.0006336/1.02, allocations: 257.7 kB / 1.057 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/1.02, allocations: 85.52 kB / 1.057 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00392/1.024, allocations: 1.029 MB / 1.058 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/1.024, allocations: 3.188 kB / 1.058 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.024, allocations: 3.969 kB / 1.058 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006198/1.025, allocations: 277.1 kB / 1.058 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/1.025, allocations: 16.31 kB / 1.058 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/1.026, allocations: 76.27 kB / 1.058 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/1.026, allocations: 61.8 kB / 1.058 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003147/1.029, allocations: 0.9103 MB / 1.059 GB, free: 155.2 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003332/1.033, allocations: 1.33 MB / 1.06 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008929/1.034, allocations: 336.8 kB / 1.061 GB, free: 154.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008293/1.035, allocations: 448.8 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of Backend: time 1.172e-06/1.035, allocations: 1.312 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004293/1.039, allocations: 1.131 MB / 1.062 GB, free: 154.5 MB / 0.698 GB Notification: Performance of SimCode: time 0.004857/1.044, allocations: 2.391 MB / 1.065 GB, free: 153.1 MB / 0.698 GB Notification: Performance of Templates: time 0.04257/1.086, allocations: 13.98 MB / 1.078 GB, free: 148.7 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)