Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.312/2.312, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001357/0.001357, allocations: 174.6 kB / 325.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.554/2.554, allocations: 205.4 MB / 0.5767 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009643/0.0009641, allocations: 88.92 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004638, allocations: 8.781 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2063, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006448/0.2128, allocations: 3.564 MB / 0.9025 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2489/0.4618, allocations: 136.5 MB / 1.036 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009051/0.4627, allocations: 15.88 kB / 1.036 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008058/0.4636, allocations: 123 kB / 1.036 GB, free: 4.844 MB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.002479/0.4661, allocations: 343 kB / 1.036 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002856/0.469, allocations: 0.5966 MB / 1.037 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0022/0.4712, allocations: 1.035 MB / 1.038 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.4726, allocations: 0.5576 MB / 1.038 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008071/0.4735, allocations: 290.6 kB / 1.039 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000665/0.4742, allocations: 314.3 kB / 1.039 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.4743, allocations: 24 kB / 1.039 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009715/0.4753, allocations: 267.7 kB / 1.039 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.4756, allocations: 159.2 kB / 1.039 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002826/0.4759, allocations: 177.2 kB / 1.04 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.4778, allocations: 1.033 MB / 1.041 GB, free: 68 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.918e-06/0.4778, allocations: 0 / 1.041 GB, free: 68 kB / 0.6823 GB Notification: Performance of FrontEnd: time 3.076e-06/0.4778, allocations: 3.938 kB / 1.041 GB, free: 64 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.101e-05/0.4779, allocations: 0 / 1.041 GB, free: 64 kB / 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.00322/0.4811, allocations: 1.1 MB / 1.042 GB, free: 14.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.4812, allocations: 8.031 kB / 1.042 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.483, allocations: 211.5 kB / 1.042 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/0.4847, allocations: 0.6765 MB / 1.043 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-05/0.4848, allocations: 58 kB / 1.043 GB, free: 13.92 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.485, allocations: 72 kB / 1.043 GB, free: 13.85 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002489/0.4875, allocations: 0.8676 MB / 1.043 GB, free: 12.94 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.4876, allocations: 0 / 1.043 GB, free: 12.94 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.4878, allocations: 36 kB / 1.044 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/0.4878, allocations: 20 kB / 1.044 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003174/0.491, allocations: 1.081 MB / 1.045 GB, free: 11.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007061/0.4981, allocations: 2.418 MB / 1.047 GB, free: 9.312 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004107/0.5022, allocations: 0.8116 MB / 1.048 GB, free: 8.492 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.5033, allocations: 294.7 kB / 1.048 GB, free: 8.199 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.5035, allocations: 32.67 kB / 1.048 GB, free: 8.168 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001368/0.5049, allocations: 447.2 kB / 1.048 GB, free: 7.711 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.697e-06/0.5049, allocations: 4 kB / 1.048 GB, free: 7.707 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.00548/0.5104, allocations: 1.123 MB / 1.05 GB, free: 6.559 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.5106, allocations: 196.5 kB / 1.05 GB, free: 6.324 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.5118, allocations: 0.5539 MB / 1.05 GB, free: 5.762 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.512, allocations: 37.7 kB / 1.05 GB, free: 5.719 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004495/0.5125, allocations: 368.3 kB / 1.051 GB, free: 5.352 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/0.5129, allocations: 248.4 kB / 1.051 GB, free: 5.105 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.463e-05/0.513, allocations: 16 kB / 1.051 GB, free: 5.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.5132, allocations: 378.8 kB / 1.051 GB, free: 4.711 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.5143, allocations: 245.9 kB / 1.052 GB, free: 4.473 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.5156, allocations: 347.1 kB / 1.052 GB, free: 4.121 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.5168, allocations: 294.9 kB / 1.052 GB, free: 3.832 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.5168, allocations: 0 / 1.052 GB, free: 3.832 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003709/0.5205, allocations: 0.8098 MB / 1.053 GB, free: 3.012 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/0.5206, allocations: 4 kB / 1.053 GB, free: 3.008 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.531e-05/0.5207, allocations: 4.094 kB / 1.053 GB, free: 3.004 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/0.5222, allocations: 84.77 kB / 1.053 GB, free: 2.918 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.5237, allocations: 155.8 kB / 1.053 GB, free: 2.766 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003396/0.5272, allocations: 1.529 MB / 1.055 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.5286, allocations: 96.08 kB / 1.055 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.5288, allocations: 35.91 kB / 1.055 GB, free: 0.9648 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.0007165/0.5295, allocations: 259.8 kB / 1.055 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/0.5298, allocations: 79.06 kB / 1.055 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6603/1.19, allocations: 1.029 MB / 1.056 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/1.19, allocations: 10.03 kB / 1.056 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.19, allocations: 0.5 kB / 1.056 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.105e-05/1.19, allocations: 5.891 kB / 1.056 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/1.192, allocations: 0.8468 MB / 1.057 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/1.192, allocations: 3.906 kB / 1.057 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/1.193, allocations: 149.2 kB / 1.057 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008837/1.194, allocations: 83.09 kB / 1.057 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.157e-05/1.194, allocations: 27.28 kB / 1.057 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002407/1.197, allocations: 1.554 MB / 1.059 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.197, allocations: 9.969 kB / 1.059 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003076/1.2, allocations: 0.8706 MB / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004751/1.2, allocations: 266.5 kB / 1.06 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/1.2, allocations: 19.94 kB / 1.06 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/1.201, allocations: 68 kB / 1.06 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/1.202, allocations: 61.64 kB / 1.06 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.406e-05/1.202, allocations: 32.53 kB / 1.06 GB, free: 154.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000761/1.202, allocations: 415.6 kB / 1.06 GB, free: 154.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.2e-07/1.202, allocations: 0 / 1.06 GB, free: 154.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009966/1.203, allocations: 271.3 kB / 1.061 GB, free: 154.3 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.00161/1.205, allocations: 0.5505 MB / 1.061 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002455/1.208, allocations: 0.7943 MB / 1.062 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.208, allocations: 0.875 kB / 1.062 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001372/1.209, allocations: 0.4955 MB / 1.062 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/1.211, allocations: 262.6 kB / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005878/1.217, allocations: 2.04 MB / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007216/1.217, allocations: 0.9973 MB / 1.066 GB, free: 152.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001591/1.219, allocations: 256.1 kB / 1.066 GB, free: 152.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004709/1.22, allocations: 97.03 kB / 1.066 GB, free: 152.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.593e-06/1.22, allocations: 0 / 1.066 GB, free: 152.2 MB / 0.698 GB Notification: Performance of Templates: time 0.04065/1.26, allocations: 12.77 MB / 1.079 GB, free: 148.1 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)