Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.432/1.432, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009593/0.0009595, allocations: 182 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0007955/0.0007954, allocations: 96.16 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003355, allocations: 10.66 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2225, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.003954/0.2265, allocations: 3.839 MB / 0.9005 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1593/0.3858, allocations: 147.9 MB / 1.045 GB, free: 11.86 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007957/0.3866, allocations: 11.94 kB / 1.045 GB, free: 11.85 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005628/0.3872, allocations: 135 kB / 1.045 GB, free: 11.72 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.001269/0.3885, allocations: 363.4 kB / 1.045 GB, free: 11.37 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.3903, allocations: 0.6665 MB / 1.046 GB, free: 10.71 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.3913, allocations: 1.082 MB / 1.047 GB, free: 9.617 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007752/0.3921, allocations: 0.5764 MB / 1.048 GB, free: 9.031 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004764/0.3926, allocations: 302.5 kB / 1.048 GB, free: 8.734 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004067/0.393, allocations: 326.1 kB / 1.048 GB, free: 8.414 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.678e-05/0.3931, allocations: 27.94 kB / 1.048 GB, free: 8.387 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006331/0.3937, allocations: 295.7 kB / 1.049 GB, free: 8.098 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.3939, allocations: 163.2 kB / 1.049 GB, free: 7.938 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003449/0.3943, allocations: 389.4 kB / 1.049 GB, free: 7.555 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.3955, allocations: 1.3 MB / 1.05 GB, free: 6.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3955, allocations: 0 / 1.05 GB, free: 6.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3955, allocations: 0 / 1.05 GB, free: 6.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.3955, allocations: 0 / 1.05 GB, free: 6.25 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.001797/0.3973, allocations: 1.092 MB / 1.051 GB, free: 5.105 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3974, allocations: 8.031 kB / 1.051 GB, free: 5.098 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.3984, allocations: 215.5 kB / 1.052 GB, free: 4.887 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008853/0.3993, allocations: 0.6994 MB / 1.052 GB, free: 4.148 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.619e-05/0.3994, allocations: 58 kB / 1.052 GB, free: 4.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.444e-05/0.3995, allocations: 72 kB / 1.052 GB, free: 4.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.4008, allocations: 0.8754 MB / 1.053 GB, free: 3.105 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.4008, allocations: 0 / 1.053 GB, free: 3.105 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.079e-05/0.4009, allocations: 32 kB / 1.053 GB, free: 3.074 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.4009, allocations: 20 kB / 1.053 GB, free: 3.055 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00161/0.4025, allocations: 1.081 MB / 1.054 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4449/0.8475, allocations: 2.42 MB / 1.057 GB, free: 159.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.8497, allocations: 0.8275 MB / 1.058 GB, free: 159.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005028/0.8502, allocations: 294.4 kB / 1.058 GB, free: 159.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.119e-05/0.8503, allocations: 31.19 kB / 1.058 GB, free: 159.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007928/0.8511, allocations: 450.7 kB / 1.058 GB, free: 159.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 4.368e-06/0.8511, allocations: 0 / 1.058 GB, free: 159.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.002915/0.854, allocations: 1.132 MB / 1.059 GB, free: 159 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.8541, allocations: 189.5 kB / 1.06 GB, free: 158.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007568/0.8549, allocations: 0.5632 MB / 1.06 GB, free: 158.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.485e-05/0.8549, allocations: 41.58 kB / 1.06 GB, free: 158.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002821/0.8552, allocations: 366.3 kB / 1.061 GB, free: 158.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.8554, allocations: 243.6 kB / 1.061 GB, free: 158.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.305e-05/0.8555, allocations: 65.98 kB / 1.061 GB, free: 158.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.8556, allocations: 378.2 kB / 1.061 GB, free: 158 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004944/0.8561, allocations: 254.1 kB / 1.061 GB, free: 158 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000572/0.8567, allocations: 347.4 kB / 1.062 GB, free: 158 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.8578, allocations: 0.5954 MB / 1.062 GB, free: 157.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.8578, allocations: 1.75 kB / 1.062 GB, free: 157.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002008/0.8599, allocations: 0.8195 MB / 1.063 GB, free: 157.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.8599, allocations: 4.375 kB / 1.063 GB, free: 157.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.8599, allocations: 1.438 kB / 1.063 GB, free: 157.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006496/0.8606, allocations: 87.97 kB / 1.063 GB, free: 157.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/0.8613, allocations: 148.1 kB / 1.063 GB, free: 157.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.8633, allocations: 1.536 MB / 1.065 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006493/0.864, allocations: 86.47 kB / 1.065 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-05/0.8641, allocations: 36.83 kB / 1.065 GB, free: 156.5 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004549/0.8645, allocations: 254.8 kB / 1.065 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.8647, allocations: 70.89 kB / 1.065 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002651/0.8674, allocations: 1.039 MB / 1.066 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.8674, allocations: 8.375 kB / 1.066 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.8674, allocations: 1.578 kB / 1.066 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/0.8678, allocations: 256.1 kB / 1.067 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.97e-05/0.8679, allocations: 17.58 kB / 1.067 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005476/0.8684, allocations: 69.45 kB / 1.067 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.8686, allocations: 69 kB / 1.067 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002224/0.8708, allocations: 0.9099 MB / 1.068 GB, free: 155.9 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002603/0.8734, allocations: 1.331 MB / 1.069 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007672/0.8742, allocations: 342.8 kB / 1.069 GB, free: 155.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006426/0.8749, allocations: 419.8 kB / 1.07 GB, free: 155.5 MB / 0.698 GB Notification: Performance of Backend: time 6.41e-07/0.8749, allocations: 0 / 1.07 GB, free: 155.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003325/0.8782, allocations: 1.149 MB / 1.071 GB, free: 155.2 MB / 0.698 GB Notification: Performance of SimCode: time 0.003173/0.8814, allocations: 2.307 MB / 1.073 GB, free: 153.6 MB / 0.698 GB Notification: Performance of Templates: time 0.02717/0.9086, allocations: 14.24 MB / 1.087 GB, free: 146.9 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)