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.933/1.933, allocations: 288.4 MB / 303.4 MB, free: 8.141 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.00116/0.00116, allocations: 186.4 kB / 372 MB, free: 10.28 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.693/1.693, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.000994/0.000994, allocations: 94.97 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004145, allocations: 15.44 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.221, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.003667/0.2247, allocations: 3.553 MB / 0.983 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6776/0.9023, allocations: 136.4 MB / 1.116 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008957/0.9033, allocations: 14.66 kB / 1.116 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006968/0.904, allocations: 128 kB / 1.116 GB, free: 2.184 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.001829/0.9059, allocations: 349.3 kB / 1.117 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.9086, allocations: 0.598 MB / 1.117 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001878/0.9105, allocations: 1.006 MB / 1.118 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.9116, allocations: 457.2 kB / 1.119 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007765/0.9124, allocations: 294.2 kB / 1.119 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000786/0.9132, allocations: 307.7 kB / 1.119 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002851/0.9135, allocations: 21.59 kB / 1.119 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.9146, allocations: 264.7 kB / 1.12 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003595/0.915, allocations: 160.8 kB / 1.12 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004108/0.9154, allocations: 177.3 kB / 1.12 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.917, allocations: 1.03 MB / 1.121 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.917, allocations: 5.562 kB / 1.121 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.554e-06/0.917, allocations: 6.234 kB / 1.121 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.757e-05/0.9171, allocations: 0 / 1.121 GB, free: 1.43 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.00289/0.92, allocations: 1.108 MB / 1.122 GB, free: 16.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.92, allocations: 13.08 kB / 1.122 GB, free: 16.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.9215, allocations: 211.9 kB / 1.122 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.923, allocations: 0.6752 MB / 1.123 GB, free: 16.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.261e-05/0.9231, allocations: 57.03 kB / 1.123 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.9233, allocations: 74.53 kB / 1.123 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.9255, allocations: 0.865 MB / 1.124 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.86e-05/0.9256, allocations: 1.25 kB / 1.124 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.9257, allocations: 41.52 kB / 1.124 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-05/0.9258, allocations: 25.34 kB / 1.124 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.9279, allocations: 1.076 MB / 1.125 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003995/0.9319, allocations: 2.411 MB / 1.127 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.9339, allocations: 0.8225 MB / 1.128 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00051/0.9344, allocations: 293.5 kB / 1.128 GB, free: 15.31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.032e-05/0.9345, allocations: 27.27 kB / 1.128 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000816/0.9354, allocations: 447.9 kB / 1.129 GB, free: 15.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 2.585e-06/0.9354, allocations: 0 / 1.129 GB, free: 15.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.002839/0.9382, allocations: 1.131 MB / 1.13 GB, free: 15.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.9383, allocations: 192.2 kB / 1.13 GB, free: 14.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006714/0.939, allocations: 0.56 MB / 1.131 GB, free: 14.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.503e-05/0.9391, allocations: 40.92 kB / 1.131 GB, free: 14.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.9394, allocations: 362.8 kB / 1.131 GB, free: 14.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.9396, allocations: 245.1 kB / 1.131 GB, free: 14.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.9396, allocations: 14.75 kB / 1.131 GB, free: 14.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.9398, allocations: 376 kB / 1.132 GB, free: 14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/0.9403, allocations: 256.4 kB / 1.132 GB, free: 14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/0.9408, allocations: 344.8 kB / 1.132 GB, free: 13.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005165/0.9413, allocations: 298.1 kB / 1.133 GB, free: 13.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.9413, allocations: 0 / 1.133 GB, free: 13.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001761/0.9431, allocations: 0.8124 MB / 1.133 GB, free: 13.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.9431, allocations: 7.094 kB / 1.133 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.9432, allocations: 0 / 1.133 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006033/0.9438, allocations: 84.06 kB / 1.133 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000643/0.9444, allocations: 156.2 kB / 1.134 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.9466, allocations: 1.53 MB / 1.135 GB, free: 12.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007305/0.9473, allocations: 81.36 kB / 1.135 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-05/0.9474, allocations: 35.72 kB / 1.135 GB, free: 12.31 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.0004924/0.9479, allocations: 263.1 kB / 1.135 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.9481, allocations: 76.66 kB / 1.136 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002584/0.9507, allocations: 1.028 MB / 1.137 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.9507, allocations: 8.781 kB / 1.137 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.9507, allocations: 4 kB / 1.137 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.9507, allocations: 5.734 kB / 1.137 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.9521, allocations: 0.8507 MB / 1.137 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.9521, allocations: 0 / 1.137 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006745/0.9528, allocations: 152.4 kB / 1.138 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005808/0.9534, allocations: 87.81 kB / 1.138 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.823e-05/0.9535, allocations: 22.83 kB / 1.138 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/0.9558, allocations: 1.561 MB / 1.139 GB, free: 9.965 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9558, allocations: 0 / 1.139 GB, free: 9.965 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.958, allocations: 0.8663 MB / 1.14 GB, free: 9.715 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004588/0.9585, allocations: 275.5 kB / 1.14 GB, free: 9.523 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.9587, allocations: 21.23 kB / 1.14 GB, free: 9.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000681/0.9594, allocations: 72.34 kB / 1.14 GB, free: 9.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.9595, allocations: 60.44 kB / 1.14 GB, free: 9.477 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/0.9596, allocations: 30.58 kB / 1.14 GB, free: 9.473 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006193/0.9602, allocations: 410.3 kB / 1.141 GB, free: 9.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9602, allocations: 0.9688 kB / 1.141 GB, free: 9.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009502/0.9612, allocations: 266.8 kB / 1.141 GB, free: 9.273 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.001346/0.9625, allocations: 0.5582 MB / 1.142 GB, free: 9.016 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001755/0.9643, allocations: 0.7966 MB / 1.142 GB, free: 8.773 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.9643, allocations: 1.094 kB / 1.142 GB, free: 8.773 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009902/0.9653, allocations: 0.4885 MB / 1.143 GB, free: 8.594 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.9666, allocations: 252.1 kB / 1.143 GB, free: 8.523 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004104/0.9707, allocations: 2.04 MB / 1.145 GB, free: 7.402 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000839/0.9715, allocations: 0.9981 MB / 1.146 GB, free: 6.578 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00097/0.9725, allocations: 254.1 kB / 1.146 GB, free: 6.453 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.9728, allocations: 100.2 kB / 1.146 GB, free: 6.43 MB / 0.698 GB Notification: Performance of SimCode: time 3.4e-07/0.9728, allocations: 4 kB / 1.146 GB, free: 6.426 MB / 0.698 GB Notification: Performance of Templates: time 0.02559/0.9984, allocations: 12.76 MB / 1.159 GB, free: 36 kB / 0.698 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)