Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.4/1.4, allocations: 288.4 MB / 303.6 MB, free: 8.027 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.0008629/0.0008629, allocations: 176.5 kB / 372.2 MB, free: 10.08 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.059/1.059, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.000645/0.0006451, allocations: 94.23 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003105/0.0003106, allocations: 11.78 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1352, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.002859/0.138, allocations: 3.542 MB / 0.9837 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.3957/0.5338, allocations: 136.4 MB / 1.117 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.534, allocations: 18.72 kB / 1.117 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.5344, allocations: 123 kB / 1.117 GB, free: 2.344 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.0007246/0.5351, allocations: 357.8 kB / 1.117 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009869/0.5361, allocations: 0.5865 MB / 1.118 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006706/0.5368, allocations: 1.03 MB / 1.119 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005518/0.5374, allocations: 0.5619 MB / 1.119 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.5376, allocations: 289.7 kB / 1.12 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.5379, allocations: 314.2 kB / 1.12 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.133e-05/0.538, allocations: 23.62 kB / 1.12 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003917/0.5384, allocations: 274.7 kB / 1.12 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.5385, allocations: 159.1 kB / 1.12 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002664/0.5388, allocations: 390.7 kB / 1.121 GB, free: 17.53 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000655/0.5395, allocations: 1.012 MB / 1.122 GB, free: 17.45 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.5395, allocations: 4 kB / 1.122 GB, free: 17.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5395, allocations: 0 / 1.122 GB, free: 17.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.5395, allocations: 3.375 kB / 1.122 GB, free: 17.45 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.001378/0.5409, allocations: 1.097 MB / 1.123 GB, free: 16.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.5409, allocations: 8.844 kB / 1.123 GB, free: 16.74 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.541, allocations: 126.2 kB / 1.123 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006877/0.5417, allocations: 192.4 kB / 1.123 GB, free: 16.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007201/0.5425, allocations: 0.7014 MB / 1.124 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.5425, allocations: 56.94 kB / 1.124 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.038e-05/0.5426, allocations: 78.47 kB / 1.124 GB, free: 16.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.5438, allocations: 0.8428 MB / 1.125 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.5438, allocations: 1.312 kB / 1.125 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.401e-05/0.5439, allocations: 38.19 kB / 1.125 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.5439, allocations: 17.81 kB / 1.125 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.5452, allocations: 1.061 MB / 1.126 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00281/0.5481, allocations: 2.384 MB / 1.128 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.5491, allocations: 0.796 MB / 1.129 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/0.5495, allocations: 279.1 kB / 1.129 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.815e-05/0.5495, allocations: 33 kB / 1.129 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005893/0.5501, allocations: 423.2 kB / 1.13 GB, free: 15.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 1.663e-06/0.5502, allocations: 0 / 1.13 GB, free: 15.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.002242/0.5524, allocations: 1.085 MB / 1.131 GB, free: 14.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.5525, allocations: 190.3 kB / 1.131 GB, free: 14.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004962/0.553, allocations: 0.5643 MB / 1.132 GB, free: 14.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.553, allocations: 40.55 kB / 1.132 GB, free: 14.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.5532, allocations: 366.5 kB / 1.132 GB, free: 14.33 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.5534, allocations: 236.6 kB / 1.132 GB, free: 14.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.5534, allocations: 14.39 kB / 1.132 GB, free: 14.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.5535, allocations: 379.7 kB / 1.133 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/0.5539, allocations: 218.1 kB / 1.133 GB, free: 13.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/0.5543, allocations: 318.7 kB / 1.133 GB, free: 13.78 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007901/0.5551, allocations: 0.5283 MB / 1.134 GB, free: 13.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5551, allocations: 0 / 1.134 GB, free: 13.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001406/0.5565, allocations: 0.7264 MB / 1.134 GB, free: 13.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.5565, allocations: 6.125 kB / 1.134 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5565, allocations: 0 / 1.134 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004979/0.557, allocations: 85.53 kB / 1.134 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005117/0.5576, allocations: 139.3 kB / 1.135 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3105/0.8681, allocations: 1.523 MB / 1.136 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008626/0.869, allocations: 87.45 kB / 1.136 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.347e-05/0.869, allocations: 32.88 kB / 1.136 GB, free: 12.18 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 (75): * Single equations (assignments): 74 * 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.000398/0.8694, allocations: 246.5 kB / 1.136 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.8696, allocations: 74.84 kB / 1.136 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/0.8716, allocations: 1.014 MB / 1.137 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.8716, allocations: 11.09 kB / 1.137 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.8716, allocations: 0 / 1.137 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.8716, allocations: 9.109 kB / 1.137 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002537/0.8741, allocations: 1.855 MB / 1.139 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.8742, allocations: 3.938 kB / 1.139 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005058/0.8747, allocations: 148 kB / 1.139 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004432/0.8751, allocations: 83.41 kB / 1.139 GB, free: 10.92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.655e-05/0.8752, allocations: 26.97 kB / 1.14 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/0.8766, allocations: 1.546 MB / 1.141 GB, free: 9.527 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.8766, allocations: 0 / 1.141 GB, free: 9.527 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.8781, allocations: 0.9268 MB / 1.142 GB, free: 9.211 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.8784, allocations: 261.3 kB / 1.142 GB, free: 9.027 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.074e-05/0.8785, allocations: 15.59 kB / 1.142 GB, free: 9.027 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005105/0.879, allocations: 70.75 kB / 1.142 GB, free: 9.008 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.8791, allocations: 62.58 kB / 1.142 GB, free: 8.984 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.489e-05/0.8792, allocations: 30.11 kB / 1.142 GB, free: 8.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003942/0.8796, allocations: 419.4 kB / 1.143 GB, free: 8.832 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8796, allocations: 1.25 kB / 1.143 GB, free: 8.832 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006311/0.8802, allocations: 262.3 kB / 1.143 GB, free: 8.781 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 (86): * Single equations (assignments): 83 * 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.002665/0.8829, allocations: 1.921 MB / 1.145 GB, free: 7.777 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001203/0.8841, allocations: 0.7338 MB / 1.146 GB, free: 7.555 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.8841, allocations: 0 / 1.146 GB, free: 7.555 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007076/0.8848, allocations: 497.3 kB / 1.146 GB, free: 7.367 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.8859, allocations: 242.1 kB / 1.146 GB, free: 7.301 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007526/0.8934, allocations: 4.602 MB / 1.151 GB, free: 5.293 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000533/0.894, allocations: 0.999 MB / 1.152 GB, free: 4.473 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006771/0.8947, allocations: 255 kB / 1.152 GB, free: 4.348 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003891/0.8951, allocations: 345.5 kB / 1.152 GB, free: 4.305 MB / 0.698 GB Notification: Performance of SimCode: time 2.91e-07/0.8951, allocations: 4 kB / 1.152 GB, free: 4.301 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.19/2.085, allocations: 19.56 MB / 1.171 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/2.086, allocations: 285.8 kB / 1.172 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.366/4.452, allocations: 0 / 1.172 GB, free: 10.52 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)