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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.69/1.69, allocations: 288.4 MB / 303.3 MB, free: 8.062 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.0009998/0.001, allocations: 176.5 kB / 372 MB, free: 10.3 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.819/1.819, allocations: 205.4 MB / 0.6307 GB, free: 10.04 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.0008951/0.0008952, allocations: 93.58 kB / 0.744 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005747/0.0005752, allocations: 10.97 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2822, allocations: 115.3 MB / 0.9796 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004482/0.2867, allocations: 3.553 MB / 0.9831 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7563/1.043, allocations: 136.4 MB / 1.116 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000808/1.044, allocations: 18.56 kB / 1.116 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005326/1.045, allocations: 131.2 kB / 1.116 GB, free: 1.832 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.001456/1.046, allocations: 340.9 kB / 1.117 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002286/1.048, allocations: 0.5958 MB / 1.117 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001715/1.05, allocations: 1.004 MB / 1.118 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008781/1.051, allocations: 453.1 kB / 1.119 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007512/1.052, allocations: 293.4 kB / 1.119 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000534/1.052, allocations: 309.6 kB / 1.119 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.199e-05/1.052, allocations: 21.53 kB / 1.119 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009875/1.053, allocations: 265.4 kB / 1.12 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002279/1.054, allocations: 165.5 kB / 1.12 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002114/1.054, allocations: 181.4 kB / 1.12 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001489/1.055, allocations: 1.034 MB / 1.121 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/1.055, allocations: 1.031 kB / 1.121 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.394e-06/1.055, allocations: 4 kB / 1.121 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.961e-05/1.055, allocations: 0 / 1.121 GB, free: 1.086 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.002528/1.058, allocations: 1.113 MB / 1.122 GB, free: 16.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/1.058, allocations: 13.39 kB / 1.122 GB, free: 16.38 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001917/1.058, allocations: 127 kB / 1.122 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/1.059, allocations: 211 kB / 1.122 GB, free: 16.28 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/1.06, allocations: 0.6765 MB / 1.123 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.938e-05/1.06, allocations: 61.69 kB / 1.123 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/1.061, allocations: 77.22 kB / 1.123 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/1.062, allocations: 0.8627 MB / 1.124 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/1.062, allocations: 1.219 kB / 1.124 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.554e-05/1.062, allocations: 35.95 kB / 1.124 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/1.062, allocations: 19.16 kB / 1.124 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/1.065, allocations: 1.08 MB / 1.125 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004135/1.069, allocations: 2.415 MB / 1.128 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/1.071, allocations: 0.8175 MB / 1.128 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005534/1.071, allocations: 294.5 kB / 1.129 GB, free: 14.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.155e-05/1.072, allocations: 32.22 kB / 1.129 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008669/1.072, allocations: 454.3 kB / 1.129 GB, free: 14.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.376e-06/1.072, allocations: 0 / 1.129 GB, free: 14.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003109/1.076, allocations: 1.126 MB / 1.13 GB, free: 14.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/1.076, allocations: 192.8 kB / 1.13 GB, free: 14.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008987/1.077, allocations: 0.5589 MB / 1.131 GB, free: 14.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.239e-05/1.077, allocations: 40.02 kB / 1.131 GB, free: 14.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003675/1.077, allocations: 374.4 kB / 1.131 GB, free: 14.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000243/1.077, allocations: 242.6 kB / 1.132 GB, free: 13.94 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/1.077, allocations: 12.91 kB / 1.132 GB, free: 13.94 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001997/1.078, allocations: 378.6 kB / 1.132 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005555/1.078, allocations: 228.4 kB / 1.132 GB, free: 13.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006373/1.079, allocations: 339.8 kB / 1.132 GB, free: 13.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005642/1.079, allocations: 280.4 kB / 1.133 GB, free: 13.53 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.079, allocations: 0 / 1.133 GB, free: 13.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001857/1.081, allocations: 0.7516 MB / 1.133 GB, free: 13.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/1.081, allocations: 3.312 kB / 1.133 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/1.081, allocations: 3.312 kB / 1.133 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005931/1.082, allocations: 87.92 kB / 1.134 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005947/1.083, allocations: 141.8 kB / 1.134 GB, free: 13.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/1.085, allocations: 1.528 MB / 1.135 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008358/1.086, allocations: 90.27 kB / 1.135 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-05/1.086, allocations: 27.64 kB / 1.135 GB, free: 11.93 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 (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.0005738/1.086, allocations: 248.6 kB / 1.135 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/1.086, allocations: 81.97 kB / 1.136 GB, free: 11.76 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002504/1.089, allocations: 1.041 MB / 1.137 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/1.089, allocations: 8.594 kB / 1.137 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.089, allocations: 1.312 kB / 1.137 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/1.089, allocations: 3.984 kB / 1.137 GB, free: 11.44 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/1.09, allocations: 0.8592 MB / 1.137 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.09, allocations: 0 / 1.137 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006398/1.091, allocations: 150.9 kB / 1.138 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005629/1.092, allocations: 83.92 kB / 1.138 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.034e-05/1.092, allocations: 28.11 kB / 1.138 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/1.094, allocations: 1.543 MB / 1.139 GB, free: 9.598 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.094, allocations: 3.953 kB / 1.139 GB, free: 9.594 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/1.096, allocations: 0.8692 MB / 1.14 GB, free: 9.348 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004451/1.096, allocations: 282.8 kB / 1.14 GB, free: 9.148 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/1.096, allocations: 21.61 kB / 1.14 GB, free: 9.145 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006069/1.097, allocations: 74.66 kB / 1.14 GB, free: 9.121 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/1.097, allocations: 60.28 kB / 1.14 GB, free: 9.094 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.933e-05/1.097, allocations: 31.45 kB / 1.141 GB, free: 9.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007021/1.098, allocations: 422.6 kB / 1.141 GB, free: 8.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.098, allocations: 4 kB / 1.141 GB, free: 8.926 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001157/1.099, allocations: 258.5 kB / 1.141 GB, free: 8.879 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.004015/1.103, allocations: 1.868 MB / 1.143 GB, free: 7.945 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002059/1.105, allocations: 0.7551 MB / 1.144 GB, free: 7.711 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/1.105, allocations: 0 / 1.144 GB, free: 7.711 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/1.106, allocations: 0.4926 MB / 1.144 GB, free: 7.527 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/1.108, allocations: 258.3 kB / 1.144 GB, free: 7.453 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/1.119, allocations: 4.672 MB / 1.149 GB, free: 5.445 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007323/1.12, allocations: 0.9981 MB / 1.15 GB, free: 4.621 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001157/1.121, allocations: 254.5 kB / 1.15 GB, free: 4.496 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005353/1.121, allocations: 347.1 kB / 1.151 GB, free: 4.445 MB / 0.698 GB Notification: Performance of SimCode: time 1.783e-06/1.121, allocations: 0 / 1.151 GB, free: 4.445 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04745/1.169, allocations: 19.77 MB / 1.17 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/1.169, allocations: 306.7 kB / 1.17 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.918/4.087, allocations: 0 / 1.17 GB, free: 10.57 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)