Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.594/1.594, allocations: 288.4 MB / 303.6 MB, free: 8.059 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.0009675/0.0009675, allocations: 174.8 kB / 372.3 MB, free: 10.14 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.609/1.609, allocations: 205.4 MB / 0.631 GB, free: 9.91 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.0007524/0.0007524, allocations: 97.2 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.000384, allocations: 16.31 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2179, allocations: 115.3 MB / 0.9801 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004242/0.2222, allocations: 3.865 MB / 0.9839 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5888/0.8111, allocations: 136.6 MB / 1.117 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008228/0.8119, allocations: 22.91 kB / 1.117 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005285/0.8125, allocations: 135.1 kB / 1.117 GB, free: 2.316 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.001325/0.8138, allocations: 371.8 kB / 1.118 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00201/0.8158, allocations: 0.6143 MB / 1.118 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001353/0.8172, allocations: 1.153 MB / 1.119 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.8182, allocations: 0.8474 MB / 1.12 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005652/0.8188, allocations: 332.4 kB / 1.121 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004237/0.8192, allocations: 370.9 kB / 1.121 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.503e-05/0.8193, allocations: 23.34 kB / 1.121 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008206/0.8201, allocations: 282.1 kB / 1.121 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.8203, allocations: 185.2 kB / 1.121 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003915/0.8207, allocations: 472.3 kB / 1.122 GB, free: 17.25 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.822, allocations: 1.265 MB / 1.123 GB, free: 17.16 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.822, allocations: 0.7188 kB / 1.123 GB, free: 17.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.414e-06/0.822, allocations: 0 / 1.123 GB, free: 17.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.194e-05/0.8221, allocations: 0 / 1.123 GB, free: 17.16 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.00283/0.8249, allocations: 1.307 MB / 1.124 GB, free: 16.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.825, allocations: 8.688 kB / 1.124 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009618/0.8259, allocations: 221 kB / 1.125 GB, free: 16.28 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.8272, allocations: 0.796 MB / 1.125 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.323e-05/0.8273, allocations: 82.12 kB / 1.125 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.8275, allocations: 109.9 kB / 1.126 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.8294, allocations: 1.112 MB / 1.127 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.8295, allocations: 0 / 1.127 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.099e-05/0.8296, allocations: 45.75 kB / 1.127 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/0.8296, allocations: 31.42 kB / 1.127 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.8316, allocations: 1.221 MB / 1.128 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004866/0.8365, allocations: 3.014 MB / 1.131 GB, free: 14.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.8379, allocations: 0.7751 MB / 1.132 GB, free: 14.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005084/0.8384, allocations: 297.6 kB / 1.132 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.825e-05/0.8385, allocations: 35.55 kB / 1.132 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008786/0.8394, allocations: 448.6 kB / 1.132 GB, free: 14.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 3.146e-06/0.8394, allocations: 0 / 1.132 GB, free: 14.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=78): time 0.003005/0.8424, allocations: 1.146 MB / 1.134 GB, free: 14.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.8426, allocations: 192.5 kB / 1.134 GB, free: 14.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008765/0.8435, allocations: 0.6631 MB / 1.134 GB, free: 13.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.816e-05/0.8435, allocations: 41.33 kB / 1.134 GB, free: 13.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.8439, allocations: 492.5 kB / 1.135 GB, free: 13.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.8441, allocations: 260.2 kB / 1.135 GB, free: 13.37 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.8441, allocations: 15.69 kB / 1.135 GB, free: 13.37 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.8443, allocations: 386.8 kB / 1.135 GB, free: 13.03 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004908/0.8448, allocations: 260.6 kB / 1.136 GB, free: 12.99 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005771/0.8454, allocations: 354.4 kB / 1.136 GB, free: 12.89 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.8464, allocations: 0.6051 MB / 1.137 GB, free: 12.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.8464, allocations: 3.016 kB / 1.137 GB, free: 12.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001866/0.8483, allocations: 0.8458 MB / 1.137 GB, free: 12.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.8484, allocations: 7.406 kB / 1.137 GB, free: 12.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.8484, allocations: 1.469 kB / 1.137 GB, free: 12.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005733/0.849, allocations: 84.11 kB / 1.138 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006751/0.8496, allocations: 163.7 kB / 1.138 GB, free: 12.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.8516, allocations: 1.518 MB / 1.139 GB, free: 11.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006855/0.8523, allocations: 92.42 kB / 1.139 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.595e-05/0.8524, allocations: 37.05 kB / 1.139 GB, free: 11.08 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 (92): * Single equations (assignments): 91 * 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.0004703/0.8528, allocations: 279.1 kB / 1.14 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.853, allocations: 88.39 kB / 1.14 GB, free: 10.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/0.8552, allocations: 1.032 MB / 1.141 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.8552, allocations: 12.8 kB / 1.141 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.8552, allocations: 0 / 1.141 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.8553, allocations: 9.297 kB / 1.141 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.8564, allocations: 0.9762 MB / 1.142 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.8564, allocations: 4.969 kB / 1.142 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006172/0.8571, allocations: 152.2 kB / 1.142 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005089/0.8576, allocations: 87.86 kB / 1.142 GB, free: 10.08 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.276e-05/0.8576, allocations: 25.11 kB / 1.142 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/0.8593, allocations: 1.536 MB / 1.143 GB, free: 8.711 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8594, allocations: 5.469 kB / 1.143 GB, free: 8.707 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.8612, allocations: 0.8889 MB / 1.144 GB, free: 8.457 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004062/0.8616, allocations: 282.1 kB / 1.145 GB, free: 8.262 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.8618, allocations: 17.12 kB / 1.145 GB, free: 8.262 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005609/0.8623, allocations: 73.16 kB / 1.145 GB, free: 8.238 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.8625, allocations: 55.98 kB / 1.145 GB, free: 8.219 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.888e-05/0.8626, allocations: 36.38 kB / 1.145 GB, free: 8.211 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006539/0.8632, allocations: 475.1 kB / 1.145 GB, free: 8.051 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8632, allocations: 1.859 kB / 1.145 GB, free: 8.051 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009668/0.8642, allocations: 323.1 kB / 1.146 GB, free: 7.973 MB / 0.698 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.001284/0.8655, allocations: 0.5617 MB / 1.146 GB, free: 7.703 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001683/0.8672, allocations: 0.8139 MB / 1.147 GB, free: 7.465 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8672, allocations: 1.312 kB / 1.147 GB, free: 7.465 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000899/0.8681, allocations: 0.494 MB / 1.147 GB, free: 7.289 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.8694, allocations: 258.8 kB / 1.148 GB, free: 7.223 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005287/0.8747, allocations: 2.439 MB / 1.15 GB, free: 5.844 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009421/0.8756, allocations: 1.083 MB / 1.151 GB, free: 4.984 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001108/0.8767, allocations: 258.3 kB / 1.151 GB, free: 4.855 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.877, allocations: 103.3 kB / 1.151 GB, free: 4.832 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/0.877, allocations: 4 kB / 1.151 GB, free: 4.828 MB / 0.698 GB Notification: Performance of Templates: time 0.02464/0.9017, allocations: 13.25 MB / 1.164 GB, free: 14.25 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)