Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.746/1.746, allocations: 288.4 MB / 303.3 MB, free: 8.195 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.00108/0.00108, allocations: 179.2 kB / 372 MB, free: 10.27 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.791/1.791, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0008449/0.0008449, allocations: 106.8 kB / 0.744 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.0004481, allocations: 15.19 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2552, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004996/0.2603, allocations: 3.549 MB / 0.9831 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7584/1.019, allocations: 136.4 MB / 1.116 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008863/1.02, allocations: 14.03 kB / 1.116 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005245/1.02, allocations: 133.4 kB / 1.116 GB, free: 1.848 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.001466/1.022, allocations: 348 kB / 1.117 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002229/1.024, allocations: 0.5955 MB / 1.117 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001536/1.025, allocations: 1.012 MB / 1.118 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008789/1.026, allocations: 452.3 kB / 1.119 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006704/1.027, allocations: 298.1 kB / 1.119 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004949/1.028, allocations: 313.5 kB / 1.119 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.238e-05/1.028, allocations: 20.84 kB / 1.119 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/1.029, allocations: 267.3 kB / 1.12 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002554/1.029, allocations: 165.2 kB / 1.12 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00031/1.029, allocations: 179.5 kB / 1.12 GB, free: 17.19 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00153/1.031, allocations: 1.019 MB / 1.121 GB, free: 17.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/1.031, allocations: 0 / 1.121 GB, free: 17.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.575e-06/1.031, allocations: 1.438 kB / 1.121 GB, free: 17.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.472e-05/1.031, allocations: 0 / 1.121 GB, free: 17.1 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002326/1.033, allocations: 1.109 MB / 1.122 GB, free: 16.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/1.033, allocations: 15.2 kB / 1.122 GB, free: 16.39 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001858/1.034, allocations: 128 kB / 1.122 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009585/1.035, allocations: 186.2 kB / 1.122 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/1.036, allocations: 0.6696 MB / 1.123 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/1.036, allocations: 62.27 kB / 1.123 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/1.036, allocations: 74.09 kB / 1.123 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/1.037, allocations: 0.858 MB / 1.124 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/1.037, allocations: 0 / 1.124 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.049e-05/1.038, allocations: 37.83 kB / 1.124 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/1.038, allocations: 23.25 kB / 1.124 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/1.039, allocations: 1.06 MB / 1.125 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004235/1.044, allocations: 2.388 MB / 1.127 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/1.045, allocations: 0.7979 MB / 1.128 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004923/1.046, allocations: 283 kB / 1.128 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.517e-05/1.046, allocations: 27.48 kB / 1.129 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008517/1.047, allocations: 437.2 kB / 1.129 GB, free: 14.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.798e-06/1.047, allocations: 0 / 1.129 GB, free: 14.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.002997/1.05, allocations: 1.087 MB / 1.13 GB, free: 14.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/1.05, allocations: 197.4 kB / 1.13 GB, free: 14.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007596/1.051, allocations: 0.5629 MB / 1.131 GB, free: 14.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.693e-05/1.051, allocations: 42.36 kB / 1.131 GB, free: 14.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/1.051, allocations: 370.7 kB / 1.131 GB, free: 14.01 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/1.051, allocations: 238 kB / 1.131 GB, free: 13.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/1.051, allocations: 14.19 kB / 1.131 GB, free: 13.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002158/1.051, allocations: 378.3 kB / 1.132 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004984/1.052, allocations: 213.7 kB / 1.132 GB, free: 13.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005788/1.053, allocations: 323.6 kB / 1.132 GB, free: 13.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005132/1.053, allocations: 267.3 kB / 1.132 GB, free: 13.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.053, allocations: 0 / 1.132 GB, free: 13.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001785/1.055, allocations: 0.7241 MB / 1.133 GB, free: 13.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/1.055, allocations: 5.75 kB / 1.133 GB, free: 13.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/1.055, allocations: 0 / 1.133 GB, free: 13.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006008/1.056, allocations: 88.53 kB / 1.133 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005736/1.056, allocations: 137.6 kB / 1.133 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/1.058, allocations: 1.515 MB / 1.135 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000656/1.059, allocations: 89.23 kB / 1.135 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-05/1.059, allocations: 28.98 kB / 1.135 GB, free: 11.96 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.0004907/1.06, allocations: 246.3 kB / 1.135 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/1.06, allocations: 76.22 kB / 1.135 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/1.062, allocations: 1.033 MB / 1.136 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/1.062, allocations: 9.844 kB / 1.136 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.062, allocations: 0 / 1.136 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/1.062, allocations: 5.844 kB / 1.136 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00349/1.065, allocations: 1.877 MB / 1.138 GB, free: 10.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.066, allocations: 4 kB / 1.138 GB, free: 10.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006287/1.066, allocations: 148.4 kB / 1.138 GB, free: 10.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005454/1.067, allocations: 82.62 kB / 1.138 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.466e-05/1.067, allocations: 22.45 kB / 1.138 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/1.069, allocations: 1.538 MB / 1.14 GB, free: 9.312 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/1.069, allocations: 10.72 kB / 1.14 GB, free: 9.305 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002942/1.072, allocations: 0.9163 MB / 1.141 GB, free: 8.992 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005563/1.072, allocations: 264.4 kB / 1.141 GB, free: 8.809 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/1.073, allocations: 22.17 kB / 1.141 GB, free: 8.805 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006357/1.073, allocations: 67.78 kB / 1.141 GB, free: 8.789 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/1.073, allocations: 69.52 kB / 1.141 GB, free: 8.758 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.86e-05/1.074, allocations: 32.11 kB / 1.141 GB, free: 8.754 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008094/1.074, allocations: 420.2 kB / 1.142 GB, free: 8.605 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/1.074, allocations: 0 / 1.142 GB, free: 8.605 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001197/1.076, allocations: 275.2 kB / 1.142 GB, free: 8.543 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 (87): * Single equations (assignments): 84 * 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.003903/1.079, allocations: 1.924 MB / 1.144 GB, free: 7.531 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001802/1.081, allocations: 0.7284 MB / 1.145 GB, free: 7.309 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/1.081, allocations: 1.062 kB / 1.145 GB, free: 7.309 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009514/1.082, allocations: 0.4934 MB / 1.145 GB, free: 7.117 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/1.084, allocations: 251.2 kB / 1.145 GB, free: 7.043 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/1.095, allocations: 4.618 MB / 1.15 GB, free: 5.039 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008031/1.096, allocations: 0.9968 MB / 1.151 GB, free: 4.219 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001199/1.097, allocations: 252 kB / 1.151 GB, free: 4.098 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005553/1.098, allocations: 354.9 kB / 1.151 GB, free: 4.047 MB / 0.698 GB Notification: Performance of SimCode: time 1.333e-06/1.098, allocations: 0 / 1.151 GB, free: 4.047 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0456/1.143, allocations: 19.46 MB / 1.17 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003097/1.144, allocations: 292.8 kB / 1.171 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.73/3.874, allocations: 0 / 1.171 GB, free: 10.35 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)