Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.615/1.615, allocations: 288.4 MB / 303.7 MB, free: 8.137 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.0009977/0.0009975, allocations: 187.4 kB / 372.3 MB, free: 10.12 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.389/1.389, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0008175/0.0008173, allocations: 94.3 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004086/0.0004088, allocations: 12.06 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1981, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.003525/0.2017, allocations: 3.557 MB / 0.9836 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5813/0.783, allocations: 136.4 MB / 1.117 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006501/0.7837, allocations: 14.94 kB / 1.117 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004481/0.7841, allocations: 127.9 kB / 1.117 GB, free: 2.332 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.00122/0.7854, allocations: 350.4 kB / 1.117 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.7871, allocations: 0.5918 MB / 1.118 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001181/0.7883, allocations: 1.031 MB / 1.119 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008403/0.7892, allocations: 0.5699 MB / 1.119 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005929/0.7898, allocations: 290.2 kB / 1.12 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003973/0.7902, allocations: 314.9 kB / 1.12 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.699e-05/0.7903, allocations: 26.12 kB / 1.12 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007308/0.791, allocations: 273.7 kB / 1.12 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.7912, allocations: 159.8 kB / 1.12 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003502/0.7916, allocations: 390.8 kB / 1.121 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.000956/0.7925, allocations: 1.034 MB / 1.122 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.7925, allocations: 3.375 kB / 1.122 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7925, allocations: 0 / 1.122 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.7926, allocations: 0 / 1.122 GB, free: 1.434 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.001756/0.7943, allocations: 1.098 MB / 1.123 GB, free: 16.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.7944, allocations: 8.719 kB / 1.123 GB, free: 16.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.7954, allocations: 209.9 kB / 1.123 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009366/0.7964, allocations: 0.699 MB / 1.124 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.183e-05/0.7964, allocations: 58.53 kB / 1.124 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.7965, allocations: 74.09 kB / 1.124 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.798, allocations: 0.8655 MB / 1.125 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.798, allocations: 0 / 1.125 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.19e-05/0.7981, allocations: 37 kB / 1.125 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.7981, allocations: 19 kB / 1.125 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.7999, allocations: 1.076 MB / 1.126 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003725/0.8036, allocations: 2.426 MB / 1.128 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/0.8056, allocations: 0.8155 MB / 1.129 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005029/0.8062, allocations: 294.4 kB / 1.129 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.607e-05/0.8063, allocations: 34.62 kB / 1.129 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007627/0.807, allocations: 444.3 kB / 1.13 GB, free: 15.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.376e-06/0.807, allocations: 4 kB / 1.13 GB, free: 15.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.002762/0.8098, allocations: 1.131 MB / 1.131 GB, free: 15 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.461e-05/0.8099, allocations: 192.3 kB / 1.131 GB, free: 14.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006839/0.8106, allocations: 0.5609 MB / 1.132 GB, free: 14.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.406e-05/0.8107, allocations: 39.55 kB / 1.132 GB, free: 14.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/0.8109, allocations: 371.1 kB / 1.132 GB, free: 14.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.8111, allocations: 242.5 kB / 1.132 GB, free: 14.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.8112, allocations: 15.5 kB / 1.132 GB, free: 14.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.8114, allocations: 376.2 kB / 1.133 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004776/0.8119, allocations: 249.8 kB / 1.133 GB, free: 13.97 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.8125, allocations: 344.2 kB / 1.133 GB, free: 13.92 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.8136, allocations: 0.59 MB / 1.134 GB, free: 13.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.8136, allocations: 0 / 1.134 GB, free: 13.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001944/0.8155, allocations: 0.8125 MB / 1.135 GB, free: 13.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.8156, allocations: 5.062 kB / 1.135 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.8156, allocations: 1.125 kB / 1.135 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005874/0.8162, allocations: 86.05 kB / 1.135 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006709/0.8169, allocations: 148.8 kB / 1.135 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.8189, allocations: 1.529 MB / 1.136 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008183/0.8197, allocations: 91.28 kB / 1.136 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.256e-05/0.8198, allocations: 39.09 kB / 1.136 GB, free: 12.21 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.0005053/0.8203, allocations: 261.8 kB / 1.137 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.8204, allocations: 78.42 kB / 1.137 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/0.8227, allocations: 1.032 MB / 1.138 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.8228, allocations: 8.688 kB / 1.138 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.8228, allocations: 0 / 1.138 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.8228, allocations: 5.391 kB / 1.138 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.8239, allocations: 0.8418 MB / 1.139 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.8239, allocations: 1.375 kB / 1.139 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/0.8245, allocations: 147.5 kB / 1.139 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000524/0.8251, allocations: 85.97 kB / 1.139 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.15e-05/0.8251, allocations: 27.48 kB / 1.139 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.8269, allocations: 1.566 MB / 1.14 GB, free: 9.875 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.8269, allocations: 3.938 kB / 1.14 GB, free: 9.871 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.8288, allocations: 0.8712 MB / 1.141 GB, free: 9.617 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003932/0.8292, allocations: 269.9 kB / 1.141 GB, free: 9.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.8294, allocations: 18.28 kB / 1.141 GB, free: 9.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005701/0.8299, allocations: 69.62 kB / 1.142 GB, free: 9.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.8301, allocations: 57.36 kB / 1.142 GB, free: 9.391 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.8301, allocations: 35 kB / 1.142 GB, free: 9.379 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005465/0.8307, allocations: 414.2 kB / 1.142 GB, free: 9.227 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8307, allocations: 0 / 1.142 GB, free: 9.227 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009127/0.8316, allocations: 272.9 kB / 1.142 GB, free: 9.176 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 (85): * Single equations (assignments): 82 * 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.001292/0.8329, allocations: 0.56 MB / 1.143 GB, free: 8.918 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001796/0.8347, allocations: 0.7916 MB / 1.144 GB, free: 8.676 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.8348, allocations: 1.156 kB / 1.144 GB, free: 8.676 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009317/0.8357, allocations: 0.4921 MB / 1.144 GB, free: 8.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.8369, allocations: 244.8 kB / 1.144 GB, free: 8.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/0.8412, allocations: 2.053 MB / 1.146 GB, free: 7.309 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006376/0.8419, allocations: 0.9926 MB / 1.147 GB, free: 6.488 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009496/0.8428, allocations: 253.8 kB / 1.148 GB, free: 6.363 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.8431, allocations: 104.2 kB / 1.148 GB, free: 6.336 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/0.8431, allocations: 0 / 1.148 GB, free: 6.336 MB / 0.698 GB Notification: Performance of Templates: time 0.02232/0.8654, allocations: 12.95 MB / 1.16 GB, free: 15.84 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)