Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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.694/1.694, allocations: 288.4 MB / 303.4 MB, free: 8.203 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.001083/0.001083, allocations: 181.8 kB / 372 MB, free: 10.3 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.606/1.606, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0009213/0.0009211, allocations: 95.8 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003991, allocations: 11.56 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2245, allocations: 115.3 MB / 0.9796 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.003687/0.2283, allocations: 3.526 MB / 0.983 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6432/0.8715, allocations: 136.4 MB / 1.116 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005808/0.8722, allocations: 18.94 kB / 1.116 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004921/0.8727, allocations: 116.7 kB / 1.116 GB, free: 2.195 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.001233/0.8739, allocations: 345.7 kB / 1.117 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.8759, allocations: 0.58 MB / 1.117 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001241/0.8772, allocations: 0.9876 MB / 1.118 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008082/0.878, allocations: 447.1 kB / 1.119 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005281/0.8785, allocations: 284.8 kB / 1.119 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004245/0.8789, allocations: 302.3 kB / 1.119 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.712e-05/0.879, allocations: 26.08 kB / 1.119 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007892/0.8798, allocations: 267.4 kB / 1.119 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.8801, allocations: 159.4 kB / 1.12 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002722/0.8803, allocations: 175 kB / 1.12 GB, free: 17.54 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.8816, allocations: 1.008 MB / 1.121 GB, free: 17.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.8816, allocations: 1.562 kB / 1.121 GB, free: 17.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8816, allocations: 0 / 1.121 GB, free: 17.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.453e-05/0.8816, allocations: 0 / 1.121 GB, free: 17.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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002088/0.8837, allocations: 1.101 MB / 1.122 GB, free: 16.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.8838, allocations: 13.42 kB / 1.122 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008547/0.8846, allocations: 183.5 kB / 1.122 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009767/0.8856, allocations: 0.6682 MB / 1.123 GB, free: 16.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.337e-05/0.8857, allocations: 61.69 kB / 1.123 GB, free: 16.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.8858, allocations: 76.42 kB / 1.123 GB, free: 16.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.8873, allocations: 0.8442 MB / 1.124 GB, free: 16.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.8874, allocations: 0 / 1.124 GB, free: 16.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.561e-05/0.8874, allocations: 33 kB / 1.124 GB, free: 16.24 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/0.8875, allocations: 22.92 kB / 1.124 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.8891, allocations: 1.056 MB / 1.125 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003435/0.8926, allocations: 2.348 MB / 1.127 GB, free: 15.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.8937, allocations: 0.7092 MB / 1.128 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004143/0.8941, allocations: 270.8 kB / 1.128 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.06e-05/0.8942, allocations: 34.62 kB / 1.128 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007346/0.8949, allocations: 422.5 kB / 1.128 GB, free: 15.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=71): time 2.054e-06/0.895, allocations: 0 / 1.128 GB, free: 15.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=71): time 0.002658/0.8976, allocations: 1.07 MB / 1.129 GB, free: 15.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.343e-05/0.8977, allocations: 191.6 kB / 1.13 GB, free: 14.85 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006059/0.8983, allocations: 0.5593 MB / 1.13 GB, free: 14.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.286e-05/0.8984, allocations: 39.95 kB / 1.13 GB, free: 14.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.8987, allocations: 365.5 kB / 1.131 GB, free: 14.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.8989, allocations: 239.7 kB / 1.131 GB, free: 14.37 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.8989, allocations: 14.03 kB / 1.131 GB, free: 14.37 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.8991, allocations: 381.8 kB / 1.131 GB, free: 14.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004216/0.8995, allocations: 233.7 kB / 1.131 GB, free: 14.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000495/0.9, allocations: 324.2 kB / 1.132 GB, free: 14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004529/0.9005, allocations: 274.8 kB / 1.132 GB, free: 13.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.9005, allocations: 0 / 1.132 GB, free: 13.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001545/0.902, allocations: 0.7702 MB / 1.133 GB, free: 13.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.9021, allocations: 12.09 kB / 1.133 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.9021, allocations: 0 / 1.133 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006205/0.9027, allocations: 84.91 kB / 1.133 GB, free: 13.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005614/0.9033, allocations: 143.6 kB / 1.133 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.9052, allocations: 1.508 MB / 1.134 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006125/0.9058, allocations: 91.3 kB / 1.135 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.9059, allocations: 39.66 kB / 1.135 GB, free: 12.52 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 (83): * Single equations (assignments): 82 * 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.0003576/0.9063, allocations: 248.2 kB / 1.135 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.9064, allocations: 86.44 kB / 1.135 GB, free: 12.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/0.9084, allocations: 0.9645 MB / 1.136 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.9084, allocations: 10.38 kB / 1.136 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.9084, allocations: 3.938 kB / 1.136 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.9084, allocations: 3.984 kB / 1.136 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009567/0.9094, allocations: 0.8149 MB / 1.137 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.9094, allocations: 1.156 kB / 1.137 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005218/0.91, allocations: 139.8 kB / 1.137 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005022/0.9105, allocations: 88.91 kB / 1.137 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.667e-05/0.9106, allocations: 22.23 kB / 1.137 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/0.9123, allocations: 1.542 MB / 1.138 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.9123, allocations: 0 / 1.138 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.9141, allocations: 0.8302 MB / 1.139 GB, free: 9.965 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004833/0.9146, allocations: 267.8 kB / 1.139 GB, free: 9.773 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.9148, allocations: 21.23 kB / 1.139 GB, free: 9.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006397/0.9154, allocations: 67.86 kB / 1.14 GB, free: 9.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.9156, allocations: 66.84 kB / 1.14 GB, free: 9.723 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.591e-05/0.9157, allocations: 26.33 kB / 1.14 GB, free: 9.719 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007969/0.9165, allocations: 411.8 kB / 1.14 GB, free: 9.566 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9165, allocations: 0 / 1.14 GB, free: 9.566 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001268/0.9178, allocations: 261.8 kB / 1.14 GB, free: 9.52 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 (82): * Single equations (assignments): 79 * 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.001436/0.9193, allocations: 0.5589 MB / 1.141 GB, free: 9.246 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001765/0.921, allocations: 0.7504 MB / 1.142 GB, free: 9.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.9211, allocations: 1.188 kB / 1.142 GB, free: 9.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.9221, allocations: 488.4 kB / 1.142 GB, free: 8.832 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.9234, allocations: 240.5 kB / 1.142 GB, free: 8.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/0.9281, allocations: 1.987 MB / 1.144 GB, free: 7.672 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007871/0.9289, allocations: 0.9877 MB / 1.145 GB, free: 6.852 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000962/0.9299, allocations: 255.7 kB / 1.145 GB, free: 6.723 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.9302, allocations: 97.36 kB / 1.145 GB, free: 6.699 MB / 0.698 GB Notification: Performance of SimCode: time 7.62e-07/0.9302, allocations: 0 / 1.145 GB, free: 6.699 MB / 0.698 GB Notification: Performance of Templates: time 0.02879/0.959, allocations: 12.25 MB / 1.157 GB, free: 0.5625 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)