Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.121/2.121, allocations: 251.1 MB / 266.7 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001363/0.001362, allocations: 180.1 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.531/2.531, allocations: 205.4 MB / 0.5772 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009657/0.0009654, allocations: 91.58 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007046/0.000705, allocations: 8.938 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2417, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005432/0.2471, allocations: 3.565 MB / 0.903 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2044/0.4516, allocations: 136.5 MB / 1.036 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009263/0.4526, allocations: 19.88 kB / 1.036 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007894/0.4534, allocations: 119 kB / 1.036 GB, free: 4.973 MB / 0.6823 GB [/home/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‘. [/home/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‘. [/home/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‘. [/home/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.002075/0.4556, allocations: 353.9 kB / 1.037 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002793/0.4584, allocations: 0.5895 MB / 1.037 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002146/0.4605, allocations: 1.035 MB / 1.038 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.462, allocations: 0.5692 MB / 1.039 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009314/0.463, allocations: 290.7 kB / 1.039 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000842/0.4639, allocations: 310.3 kB / 1.039 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002098/0.4641, allocations: 24 kB / 1.039 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.4652, allocations: 259.8 kB / 1.04 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003266/0.4656, allocations: 167.2 kB / 1.04 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.4659, allocations: 177.2 kB / 1.04 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002187/0.4681, allocations: 1.033 MB / 1.041 GB, free: 188 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4682, allocations: 0 / 1.041 GB, free: 188 kB / 0.6823 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4682, allocations: 0 / 1.041 GB, free: 188 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.705e-05/0.4682, allocations: 0 / 1.041 GB, free: 188 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.00337/0.4716, allocations: 1.1 MB / 1.042 GB, free: 15.03 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.4717, allocations: 12.03 kB / 1.042 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.4737, allocations: 207.5 kB / 1.042 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/0.4756, allocations: 0.6805 MB / 1.043 GB, free: 14.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.388e-05/0.4757, allocations: 54 kB / 1.043 GB, free: 14.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.476, allocations: 76 kB / 1.043 GB, free: 13.96 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/0.4789, allocations: 0.8676 MB / 1.044 GB, free: 13.06 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.4789, allocations: 0 / 1.044 GB, free: 13.06 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.4791, allocations: 32 kB / 1.044 GB, free: 13.03 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/0.4791, allocations: 20 kB / 1.044 GB, free: 13.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003505/0.4826, allocations: 1.085 MB / 1.045 GB, free: 11.92 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00732/0.49, allocations: 2.408 MB / 1.047 GB, free: 9.441 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004143/0.4942, allocations: 0.8205 MB / 1.048 GB, free: 8.613 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.4953, allocations: 290.7 kB / 1.048 GB, free: 8.324 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.4955, allocations: 36.67 kB / 1.049 GB, free: 8.289 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.497, allocations: 447.2 kB / 1.049 GB, free: 7.832 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 4.579e-06/0.4971, allocations: 0 / 1.049 GB, free: 7.832 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.005543/0.5026, allocations: 1.123 MB / 1.05 GB, free: 6.684 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/0.5028, allocations: 192.5 kB / 1.05 GB, free: 6.453 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.5041, allocations: 0.5656 MB / 1.051 GB, free: 5.879 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002136/0.5044, allocations: 37.7 kB / 1.051 GB, free: 5.836 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004668/0.5049, allocations: 368.3 kB / 1.051 GB, free: 5.469 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004015/0.5053, allocations: 240.4 kB / 1.051 GB, free: 5.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.789e-05/0.5054, allocations: 16 kB / 1.051 GB, free: 5.215 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002615/0.5056, allocations: 374.8 kB / 1.052 GB, free: 4.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.5067, allocations: 257.8 kB / 1.052 GB, free: 4.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.5079, allocations: 347 kB / 1.052 GB, free: 4.238 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.5091, allocations: 294.9 kB / 1.053 GB, free: 3.949 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.5092, allocations: 0 / 1.053 GB, free: 3.949 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003872/0.513, allocations: 0.8098 MB / 1.053 GB, free: 3.129 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.5131, allocations: 4 kB / 1.053 GB, free: 3.125 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.5132, allocations: 0 / 1.053 GB, free: 3.125 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.5146, allocations: 84.86 kB / 1.054 GB, free: 3.039 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/0.5165, allocations: 159.8 kB / 1.054 GB, free: 2.883 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004524/0.5211, allocations: 1.538 MB / 1.055 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/0.523, allocations: 85.52 kB / 1.055 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002751/0.5233, allocations: 35.91 kB / 1.055 GB, free: 1.086 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.001134/0.5245, allocations: 266.3 kB / 1.056 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003823/0.5249, allocations: 75.06 kB / 1.056 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.79/1.315, allocations: 1.027 MB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.803e-05/1.315, allocations: 5.906 kB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.315, allocations: 0.875 kB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009183/1.316, allocations: 270.4 kB / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002652/1.316, allocations: 13.72 kB / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/1.318, allocations: 72.5 kB / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00028/1.318, allocations: 61.19 kB / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004315/1.322, allocations: 0.9118 MB / 1.058 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004702/1.327, allocations: 1.327 MB / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001295/1.328, allocations: 335.1 kB / 1.06 GB, free: 155.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001/1.33, allocations: 414.4 kB / 1.06 GB, free: 155.7 MB / 0.698 GB Notification: Performance of Backend: time 1.122e-06/1.33, allocations: 3 kB / 1.06 GB, free: 155.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005637/1.335, allocations: 1.14 MB / 1.061 GB, free: 155.5 MB / 0.698 GB Notification: Performance of SimCode: time 0.005767/1.341, allocations: 2.24 MB / 1.063 GB, free: 154.1 MB / 0.698 GB Notification: Performance of Templates: time 0.05368/1.395, allocations: 13.89 MB / 1.077 GB, free: 150 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)