Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.613/2.613, allocations: 287.5 MB / 302.4 MB, free: 8.305 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.001312/0.001312, allocations: 170.1 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.000998/0.0009977, allocations: 106.8 kB / 0.743 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005226/0.000523, allocations: 18.19 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2308, allocations: 115.3 MB / 0.9783 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007669/0.2385, allocations: 5.225 MB / 0.9835 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9024/1.141, allocations: 137.3 MB / 1.118 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/1.143, allocations: 23.38 kB / 1.118 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/1.144, allocations: 174.5 kB / 1.118 GB, free: 1.5 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.00318/1.147, allocations: 469.3 kB / 1.118 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004553/1.152, allocations: 0.9145 MB / 1.119 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004676/1.156, allocations: 2.006 MB / 1.121 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002692/1.159, allocations: 1.111 MB / 1.122 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002049/1.161, allocations: 0.6608 MB / 1.123 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002402/1.164, allocations: 0.7752 MB / 1.124 GB, free: 436 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.00077/1.165, allocations: 53.84 kB / 1.124 GB, free: 436 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/1.167, allocations: 326.1 kB / 1.124 GB, free: 416 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007809/1.168, allocations: 343.8 kB / 1.124 GB, free: 336 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006909/1.168, allocations: 350.1 kB / 1.125 GB, free: 16.23 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004409/1.173, allocations: 2.298 MB / 1.127 GB, free: 16.08 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/1.173, allocations: 2.969 kB / 1.127 GB, free: 16.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.487e-06/1.173, allocations: 0 / 1.127 GB, free: 16.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001215/1.173, allocations: 0 / 1.127 GB, free: 16.08 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.008609/1.182, allocations: 2.07 MB / 1.129 GB, free: 15.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/1.182, allocations: 13.19 kB / 1.129 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02738/1.209, allocations: 2.188 MB / 1.131 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003772/1.213, allocations: 1.14 MB / 1.132 GB, free: 14.42 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/1.213, allocations: 165.4 kB / 1.132 GB, free: 14.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001194/1.214, allocations: 207 kB / 1.132 GB, free: 14.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0167/1.231, allocations: 3.09 MB / 1.135 GB, free: 13.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.062e-05/1.231, allocations: 1.125 kB / 1.135 GB, free: 13.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006076/1.232, allocations: 85.38 kB / 1.136 GB, free: 13.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.295e-05/1.232, allocations: 50.75 kB / 1.136 GB, free: 13.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02399/1.256, allocations: 4.072 MB / 1.14 GB, free: 12.39 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02819/1.284, allocations: 6.601 MB / 1.146 GB, free: 9.516 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01747/1.302, allocations: 2.738 MB / 1.149 GB, free: 8.957 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008125/1.31, allocations: 1.381 MB / 1.15 GB, free: 8.711 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/1.311, allocations: 0.5055 MB / 1.151 GB, free: 8.207 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009374/1.321, allocations: 1.63 MB / 1.152 GB, free: 7.652 MB / 0.698 GB Notification: Performance of pre-optimization done (n=192): time 9.858e-06/1.321, allocations: 4.094 kB / 1.152 GB, free: 7.648 MB / 0.698 GB Notification: Performance of matching and sorting (n=192): time 0.02738/1.348, allocations: 4.044 MB / 1.156 GB, free: 6.691 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/1.348, allocations: 200.7 kB / 1.156 GB, free: 6.469 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/1.35, allocations: 0.832 MB / 1.157 GB, free: 6.184 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008535/1.351, allocations: 62.05 kB / 1.157 GB, free: 6.148 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009013/1.352, allocations: 0.6884 MB / 1.158 GB, free: 5.727 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001494/1.354, allocations: 0.6147 MB / 1.158 GB, free: 5.273 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002914/1.354, allocations: 32.91 kB / 1.158 GB, free: 5.273 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002476/1.354, allocations: 380.1 kB / 1.159 GB, free: 4.938 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007472/1.362, allocations: 1.142 MB / 1.16 GB, free: 4.715 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007814/1.37, allocations: 1.306 MB / 1.161 GB, free: 4.395 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007652/1.377, allocations: 1.173 MB / 1.162 GB, free: 4.219 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.221e-05/1.377, allocations: 2.438 kB / 1.162 GB, free: 4.219 MB / 0.698 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.01884/1.396, allocations: 2.854 MB / 1.165 GB, free: 3.586 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/1.396, allocations: 7.969 kB / 1.165 GB, free: 3.586 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/1.396, allocations: 128 / 1.165 GB, free: 3.586 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/1.397, allocations: 84.72 kB / 1.165 GB, free: 3.555 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006904/1.404, allocations: 0.5547 MB / 1.166 GB, free: 3.391 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00318/1.407, allocations: 1.526 MB / 1.167 GB, free: 2.012 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005584/1.413, allocations: 322.8 kB / 1.168 GB, free: 1.867 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006949/1.414, allocations: 93.14 kB / 1.168 GB, free: 1.84 MB / 0.698 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.001961/1.416, allocations: 403.9 kB / 1.168 GB, free: 1.641 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000702/1.417, allocations: 140.3 kB / 1.168 GB, free: 1.566 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02043/1.437, allocations: 3.387 MB / 1.171 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/1.437, allocations: 23.56 kB / 1.171 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.437, allocations: 3.953 kB / 1.172 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.709e-05/1.437, allocations: 9.828 kB / 1.172 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02547/1.463, allocations: 5.573 MB / 1.177 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/1.463, allocations: 0 / 1.177 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00683/1.47, allocations: 0.5266 MB / 1.177 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009857/1.471, allocations: 92.72 kB / 1.178 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006869/1.471, allocations: 67.92 kB / 1.178 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002895/1.474, allocations: 1.551 MB / 1.179 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.474, allocations: 0 / 1.179 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01774/1.492, allocations: 2.945 MB / 1.182 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001945/1.494, allocations: 0.5218 MB / 1.183 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006641/1.495, allocations: 36 kB / 1.183 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005179/1.5, allocations: 244.9 kB / 1.183 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005543/1.5, allocations: 129.8 kB / 1.183 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004382/1.501, allocations: 81.78 kB / 1.183 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001516/1.502, allocations: 0.6107 MB / 1.184 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.21e-07/1.502, allocations: 0 / 1.184 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003091/1.506, allocations: 0.5685 MB / 1.184 GB, free: 3.914 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002288/1.508, allocations: 0.6068 MB / 1.185 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01701/1.525, allocations: 2.872 MB / 1.188 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/1.525, allocations: 4.125 kB / 1.188 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.008933/1.534, allocations: 1.603 MB / 1.189 GB, free: 15 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003299/1.537, allocations: 327.5 kB / 1.189 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/1.555, allocations: 4.672 MB / 1.194 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/1.557, allocations: 1.353 MB / 1.195 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005969/1.563, allocations: 0.5424 MB / 1.196 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001885/1.564, allocations: 211.2 kB / 1.196 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of SimCode: time 1.272e-06/1.564, allocations: 1.859 kB / 1.196 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of Templates: time 0.07522/1.64, allocations: 25.05 MB / 1.22 GB, free: 14.89 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)