Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.518/1.518, allocations: 252 MB / 267 MB, free: 10.97 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.00106/0.00106, allocations: 182.1 kB / 326.6 MB, free: 2.23 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.864/1.864, allocations: 205.4 MB / 0.5776 GB, free: 20.27 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.0007903/0.0007904, allocations: 96.06 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004191/0.0004192, allocations: 7.188 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2662, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.004535/0.2708, allocations: 3.724 MB / 0.9039 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.17/0.4408, allocations: 136.6 MB / 1.037 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.442, allocations: 19.88 kB / 1.037 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006341/0.4427, allocations: 130.9 kB / 1.037 GB, free: 2.984 MB / 0.6823 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.001881/0.4446, allocations: 384.2 kB / 1.038 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.4469, allocations: 0.6129 MB / 1.038 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001828/0.4487, allocations: 1.082 MB / 1.039 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009324/0.4496, allocations: 0.5304 MB / 1.04 GB, free: 372 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007285/0.4504, allocations: 330.4 kB / 1.04 GB, free: 40 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005828/0.451, allocations: 346.1 kB / 1.041 GB, free: 15.7 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.259e-05/0.4511, allocations: 24 kB / 1.041 GB, free: 15.68 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008749/0.4519, allocations: 287.7 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002421/0.4522, allocations: 183.1 kB / 1.041 GB, free: 15.21 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.4525, allocations: 197.1 kB / 1.041 GB, free: 15.02 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.4539, allocations: 1.142 MB / 1.042 GB, free: 13.87 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4539, allocations: 0 / 1.042 GB, free: 13.87 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4539, allocations: 0 / 1.042 GB, free: 13.87 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.827e-05/0.4539, allocations: 0 / 1.042 GB, free: 13.87 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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.002727/0.4567, allocations: 1.194 MB / 1.044 GB, free: 12.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.4567, allocations: 8.031 kB / 1.044 GB, free: 12.62 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002429/0.457, allocations: 151.7 kB / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000976/0.458, allocations: 198.4 kB / 1.044 GB, free: 12.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.4592, allocations: 0.7186 MB / 1.045 GB, free: 11.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.433e-05/0.4593, allocations: 66 kB / 1.045 GB, free: 11.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.4594, allocations: 88 kB / 1.045 GB, free: 11.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.4613, allocations: 0.9729 MB / 1.046 GB, free: 10.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.4614, allocations: 0 / 1.046 GB, free: 10.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.291e-05/0.4615, allocations: 36 kB / 1.046 GB, free: 10.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.4615, allocations: 27.95 kB / 1.046 GB, free: 10.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.4635, allocations: 1.155 MB / 1.047 GB, free: 9.125 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004924/0.4684, allocations: 2.636 MB / 1.049 GB, free: 6.418 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.4698, allocations: 0.7664 MB / 1.05 GB, free: 5.645 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000539/0.4704, allocations: 306.7 kB / 1.051 GB, free: 5.344 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.502e-05/0.4705, allocations: 32.61 kB / 1.051 GB, free: 5.309 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009164/0.4714, allocations: 471.2 kB / 1.051 GB, free: 4.832 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 6.272e-06/0.4714, allocations: 0 / 1.051 GB, free: 4.832 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.003191/0.4746, allocations: 1.159 MB / 1.052 GB, free: 3.645 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.4748, allocations: 200.5 kB / 1.052 GB, free: 3.406 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009286/0.4757, allocations: 0.598 MB / 1.053 GB, free: 2.805 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.345e-05/0.4758, allocations: 41.7 kB / 1.053 GB, free: 2.758 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004363/0.4763, allocations: 416.1 kB / 1.053 GB, free: 2.344 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.4766, allocations: 268.1 kB / 1.054 GB, free: 2.078 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.4766, allocations: 16 kB / 1.054 GB, free: 2.062 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.4768, allocations: 378.8 kB / 1.054 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.4773, allocations: 245.9 kB / 1.054 GB, free: 1.441 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005895/0.4779, allocations: 346.6 kB / 1.055 GB, free: 1.074 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005772/0.4785, allocations: 294.9 kB / 1.055 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.4785, allocations: 0 / 1.055 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.5787/1.057, allocations: 0.7977 MB / 1.056 GB, free: 154.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.829e-05/1.057, allocations: 8.031 kB / 1.056 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/1.057, allocations: 1.781 kB / 1.056 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007027/1.058, allocations: 88.16 kB / 1.056 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008643/1.059, allocations: 153.3 kB / 1.056 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/1.061, allocations: 1.512 MB / 1.057 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009088/1.062, allocations: 91.03 kB / 1.057 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.041e-05/1.062, allocations: 33.5 kB / 1.057 GB, free: 152.9 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 (85): * Single equations (assignments): 84 * 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.0005662/1.063, allocations: 262 kB / 1.058 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/1.063, allocations: 85.86 kB / 1.058 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/1.065, allocations: 1.103 MB / 1.059 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/1.065, allocations: 8.656 kB / 1.059 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/1.065, allocations: 2.812 kB / 1.059 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/1.065, allocations: 9 kB / 1.059 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003428/1.069, allocations: 2.002 MB / 1.061 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.069, allocations: 0.5625 kB / 1.061 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006319/1.069, allocations: 158.3 kB / 1.061 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005442/1.07, allocations: 86.28 kB / 1.061 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.495e-05/1.07, allocations: 28.08 kB / 1.061 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/1.072, allocations: 1.544 MB / 1.063 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.072, allocations: 4.375 kB / 1.063 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/1.074, allocations: 0.9709 MB / 1.064 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005241/1.075, allocations: 289.5 kB / 1.064 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/1.075, allocations: 21.14 kB / 1.064 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006523/1.075, allocations: 65.36 kB / 1.064 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/1.076, allocations: 71.3 kB / 1.064 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.442e-05/1.076, allocations: 32.69 kB / 1.064 GB, free: 150.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000705/1.076, allocations: 447.2 kB / 1.064 GB, free: 150.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.3e-07/1.076, allocations: 0 / 1.064 GB, free: 150.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001054/1.077, allocations: 303.8 kB / 1.065 GB, free: 150.5 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 91 * 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.003512/1.081, allocations: 1.991 MB / 1.067 GB, free: 149.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002057/1.083, allocations: 0.7833 MB / 1.067 GB, free: 149.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.083, allocations: 0.9688 kB / 1.067 GB, free: 149.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/1.084, allocations: 0.517 MB / 1.068 GB, free: 149.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/1.086, allocations: 259.9 kB / 1.068 GB, free: 149.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/1.101, allocations: 5.033 MB / 1.073 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/1.102, allocations: 1.039 MB / 1.074 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001467/1.103, allocations: 263.7 kB / 1.074 GB, free: 147 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007095/1.104, allocations: 398.8 kB / 1.075 GB, free: 147 MB / 0.698 GB Notification: Performance of SimCode: time 9.32e-07/1.104, allocations: 0 / 1.075 GB, free: 147 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05186/1.156, allocations: 21.05 MB / 1.095 GB, free: 134.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/1.156, allocations: 308.4 kB / 1.096 GB, free: 133.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.013/4.169, allocations: 2.812 kB / 1.096 GB, free: 133.9 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)