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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.493/1.493, allocations: 252 MB / 267.3 MB, free: 10.84 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.001091/0.001092, allocations: 167 kB / 327 MB, free: 2.086 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.06/2.06, allocations: 205.4 MB / 0.578 GB, free: 20.15 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.0009333/0.0009333, allocations: 84.91 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.000491, allocations: 8.938 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2524, allocations: 106.4 MB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004438/0.2569, allocations: 3.745 MB / 0.9046 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.184/0.4409, allocations: 146.3 MB / 1.047 GB, free: 8.586 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008824/0.4418, allocations: 19.94 kB / 1.047 GB, free: 8.566 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005417/0.4424, allocations: 135 kB / 1.048 GB, free: 8.434 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.001499/0.4439, allocations: 361.1 kB / 1.048 GB, free: 8.082 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.4459, allocations: 0.67 MB / 1.049 GB, free: 7.422 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.4472, allocations: 1.086 MB / 1.05 GB, free: 6.328 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008803/0.4481, allocations: 0.5787 MB / 1.05 GB, free: 5.738 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004993/0.4486, allocations: 294.5 kB / 1.05 GB, free: 5.449 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004523/0.4491, allocations: 330.1 kB / 1.051 GB, free: 5.125 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.177e-05/0.4492, allocations: 20 kB / 1.051 GB, free: 5.105 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007698/0.4499, allocations: 303.7 kB / 1.051 GB, free: 4.809 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.4502, allocations: 171.1 kB / 1.051 GB, free: 4.641 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000415/0.4506, allocations: 415.1 kB / 1.052 GB, free: 4.227 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.4521, allocations: 1.296 MB / 1.053 GB, free: 2.926 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4521, allocations: 0 / 1.053 GB, free: 2.926 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4521, allocations: 0 / 1.053 GB, free: 2.926 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.4521, allocations: 0 / 1.053 GB, free: 2.926 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.002232/0.4544, allocations: 1.096 MB / 1.054 GB, free: 1.777 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.4544, allocations: 12.03 kB / 1.054 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001935/0.4546, allocations: 131 kB / 1.054 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.4558, allocations: 207.5 kB / 1.054 GB, free: 1.426 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.4569, allocations: 0.6993 MB / 1.055 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.549e-05/0.457, allocations: 65.92 kB / 1.055 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.4571, allocations: 76 kB / 1.055 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5465/1.004, allocations: 0.8626 MB / 1.056 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/1.004, allocations: 1.969 kB / 1.056 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/1.004, allocations: 31.72 kB / 1.056 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/1.004, allocations: 19.88 kB / 1.056 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/1.006, allocations: 1.084 MB / 1.057 GB, free: 155.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004134/1.01, allocations: 2.419 MB / 1.059 GB, free: 154.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/1.012, allocations: 0.8235 MB / 1.06 GB, free: 154.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005455/1.013, allocations: 295.3 kB / 1.061 GB, free: 154.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.619e-05/1.013, allocations: 31.69 kB / 1.061 GB, free: 154.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008942/1.014, allocations: 449.2 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 4.408e-06/1.014, allocations: 1.078 kB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.00319/1.017, allocations: 1.136 MB / 1.062 GB, free: 154.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.506e-05/1.017, allocations: 191.3 kB / 1.062 GB, free: 154.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008903/1.018, allocations: 0.5608 MB / 1.063 GB, free: 154.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.517e-05/1.018, allocations: 42.62 kB / 1.063 GB, free: 154.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/1.019, allocations: 373.7 kB / 1.063 GB, free: 154 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/1.019, allocations: 243.2 kB / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/1.019, allocations: 13.12 kB / 1.064 GB, free: 153.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001841/1.019, allocations: 376.7 kB / 1.064 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005239/1.02, allocations: 233.9 kB / 1.064 GB, free: 153.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005896/1.02, allocations: 335.7 kB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/1.021, allocations: 0.5668 MB / 1.065 GB, free: 153.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.021, allocations: 0 / 1.065 GB, free: 153.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002158/1.023, allocations: 0.7615 MB / 1.066 GB, free: 153.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/1.024, allocations: 4.75 kB / 1.066 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.024, allocations: 1.594 kB / 1.066 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006839/1.024, allocations: 88.41 kB / 1.066 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007595/1.025, allocations: 141.6 kB / 1.066 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002457/1.027, allocations: 1.532 MB / 1.067 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008145/1.028, allocations: 78.41 kB / 1.068 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.028, allocations: 30.66 kB / 1.068 GB, free: 152 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0006702/1.029, allocations: 253.3 kB / 1.068 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/1.029, allocations: 75.45 kB / 1.068 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003098/1.032, allocations: 1.036 MB / 1.069 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/1.032, allocations: 10.03 kB / 1.069 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.032, allocations: 5.625 kB / 1.069 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.876e-05/1.032, allocations: 4.219 kB / 1.069 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/1.034, allocations: 0.8542 MB / 1.07 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.034, allocations: 0 / 1.07 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007972/1.035, allocations: 150.5 kB / 1.07 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005957/1.036, allocations: 87.81 kB / 1.07 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.852e-05/1.036, allocations: 25.45 kB / 1.07 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/1.038, allocations: 1.563 MB / 1.071 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.038, allocations: 0 / 1.071 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/1.04, allocations: 0.8772 MB / 1.072 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005148/1.041, allocations: 271.1 kB / 1.073 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/1.041, allocations: 16.64 kB / 1.073 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006359/1.042, allocations: 69.59 kB / 1.073 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/1.042, allocations: 61.08 kB / 1.073 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.874e-05/1.042, allocations: 33.05 kB / 1.073 GB, free: 149.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007411/1.043, allocations: 419.4 kB / 1.073 GB, free: 149.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/1.043, allocations: 0.8125 kB / 1.073 GB, free: 149.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001071/1.044, allocations: 267.2 kB / 1.073 GB, free: 149.7 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 (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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003837/1.048, allocations: 1.889 MB / 1.075 GB, free: 148.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001912/1.05, allocations: 0.7562 MB / 1.076 GB, free: 148.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.05, allocations: 0 / 1.076 GB, free: 148.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/1.051, allocations: 0.4968 MB / 1.076 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/1.052, allocations: 259.6 kB / 1.077 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/1.065, allocations: 6.449 MB / 1.083 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/1.065, allocations: 1.001 MB / 1.084 GB, free: 144.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000972/1.066, allocations: 251.7 kB / 1.084 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004571/1.067, allocations: 354 kB / 1.085 GB, free: 144.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.192e-06/1.067, allocations: 0 / 1.085 GB, free: 144.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03972/1.107, allocations: 18.66 MB / 1.103 GB, free: 128.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002837/1.107, allocations: 327.8 kB / 1.103 GB, free: 128.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.999/4.106, allocations: 0 / 1.103 GB, free: 128.1 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)