Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.636/1.636, allocations: 288.4 MB / 304.3 MB, free: 8.008 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.0009828/0.0009829, allocations: 180.5 kB / 372.9 MB, free: 10.15 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.557/1.557, allocations: 205.4 MB / 0.6316 GB, free: 9.906 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.0009829/0.0009831, allocations: 108.1 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004125/0.0004127, allocations: 12.59 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2325, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005595/0.2382, allocations: 5.21 MB / 0.9858 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6432/0.8814, allocations: 137.3 MB / 1.12 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.8829, allocations: 24.53 kB / 1.12 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008646/0.8838, allocations: 171.6 kB / 1.12 GB, free: 2.258 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.002513/0.8863, allocations: 473.2 kB / 1.121 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003281/0.8896, allocations: 0.9138 MB / 1.121 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003187/0.8928, allocations: 2.042 MB / 1.123 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001974/0.8948, allocations: 1.419 MB / 1.125 GB, free: 17.4 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.8963, allocations: 0.6585 MB / 1.125 GB, free: 17.23 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.8974, allocations: 0.7739 MB / 1.126 GB, free: 17.02 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002113/0.8976, allocations: 55.84 kB / 1.126 GB, free: 17.02 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.8986, allocations: 335.2 kB / 1.127 GB, free: 17 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003294/0.899, allocations: 342.3 kB / 1.127 GB, free: 16.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008568/0.8999, allocations: 0.8118 MB / 1.128 GB, free: 16.61 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.9022, allocations: 2.3 MB / 1.13 GB, free: 16.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.9022, allocations: 0 / 1.13 GB, free: 16.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9022, allocations: 0 / 1.13 GB, free: 16.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.75e-05/0.9023, allocations: 3.469 kB / 1.13 GB, free: 16.46 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: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.004777/0.9071, allocations: 2.048 MB / 1.132 GB, free: 15.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.9071, allocations: 6.719 kB / 1.132 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01425/0.9214, allocations: 2.197 MB / 1.134 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00283/0.9242, allocations: 1.18 MB / 1.135 GB, free: 13.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.9244, allocations: 160 kB / 1.135 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004934/0.9249, allocations: 201.1 kB / 1.136 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008632/0.9335, allocations: 3.094 MB / 1.139 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.907e-05/0.9336, allocations: 0 / 1.139 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002404/0.9339, allocations: 86.56 kB / 1.139 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.994e-05/0.9339, allocations: 51 kB / 1.139 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01364/0.9476, allocations: 4.071 MB / 1.143 GB, free: 11.92 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01879/0.9664, allocations: 6.617 MB / 1.149 GB, free: 9.023 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/0.977, allocations: 2.734 MB / 1.152 GB, free: 8.465 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005034/0.9821, allocations: 1.378 MB / 1.153 GB, free: 8.227 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009247/0.983, allocations: 0.5027 MB / 1.154 GB, free: 7.723 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005659/0.9887, allocations: 1.634 MB / 1.155 GB, free: 7.168 MB / 0.698 GB Notification: Performance of pre-optimization done (n=192): time 5.891e-06/0.9888, allocations: 4 kB / 1.155 GB, free: 7.164 MB / 0.698 GB Notification: Performance of matching and sorting (n=192): time 0.01309/1.002, allocations: 4.037 MB / 1.159 GB, free: 6.211 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/1.002, allocations: 202 kB / 1.159 GB, free: 5.988 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/1.003, allocations: 0.8378 MB / 1.16 GB, free: 5.699 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002182/1.004, allocations: 58.42 kB / 1.16 GB, free: 5.668 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005896/1.004, allocations: 0.6823 MB / 1.161 GB, free: 5.246 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005902/1.005, allocations: 0.6302 MB / 1.162 GB, free: 4.785 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/1.005, allocations: 29.22 kB / 1.162 GB, free: 4.785 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.005, allocations: 370.5 kB / 1.162 GB, free: 4.461 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003548/1.009, allocations: 1.135 MB / 1.163 GB, free: 4.238 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00368/1.012, allocations: 1.316 MB / 1.164 GB, free: 3.906 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00732/1.02, allocations: 2.404 MB / 1.167 GB, free: 3.285 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/1.02, allocations: 0 / 1.167 GB, free: 3.285 MB / 0.698 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.009053/1.029, allocations: 2.85 MB / 1.17 GB, free: 1.863 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/1.029, allocations: 5.188 kB / 1.17 GB, free: 1.863 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.029, allocations: 0 / 1.17 GB, free: 1.863 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005734/1.029, allocations: 90.39 kB / 1.17 GB, free: 1.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003615/1.033, allocations: 0.5466 MB / 1.17 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/1.035, allocations: 1.53 MB / 1.172 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003476/1.039, allocations: 322.7 kB / 1.172 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003672/1.039, allocations: 89.33 kB / 1.172 GB, free: 15.94 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (212): * Single equations (assignments): 211 * 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.001236/1.04, allocations: 403.5 kB / 1.172 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003866/1.041, allocations: 142.5 kB / 1.173 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/1.051, allocations: 3.369 MB / 1.176 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.707e-05/1.051, allocations: 7.969 kB / 1.176 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/1.051, allocations: 0 / 1.176 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/1.052, allocations: 0.5269 MB / 1.176 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003047/1.053, allocations: 34.28 kB / 1.176 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002513/1.055, allocations: 248.8 kB / 1.177 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003625/1.056, allocations: 126.3 kB / 1.177 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01089/1.067, allocations: 3.128 MB / 1.18 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01341/1.08, allocations: 4.568 MB / 1.184 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004174/1.084, allocations: 1.37 MB / 1.186 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001115/1.085, allocations: 0.6146 MB / 1.186 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of Backend: time 6.41e-07/1.085, allocations: 0 / 1.186 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007727/1.093, allocations: 2.343 MB / 1.189 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of SimCode: time 0.006427/1.1, allocations: 4.004 MB / 1.192 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of Templates: time 0.05779/1.157, allocations: 33.42 MB / 1.225 GB, free: 11.86 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)