Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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 2.103/2.103, allocations: 288.4 MB / 303.3 MB, free: 8.102 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.001027/0.001027, allocations: 182.4 kB / 372 MB, free: 10.26 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.692/1.692, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.0009813/0.0009814, allocations: 90.19 kB / 0.7441 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004057, allocations: 15.41 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2443, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.00406/0.2484, allocations: 3.619 MB / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8223/1.071, allocations: 136.5 MB / 1.117 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007816/1.072, allocations: 13.97 kB / 1.117 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005159/1.072, allocations: 133.1 kB / 1.117 GB, free: 1.812 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.001344/1.073, allocations: 356.7 kB / 1.117 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002149/1.076, allocations: 0.616 MB / 1.118 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001374/1.077, allocations: 1.042 MB / 1.119 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007975/1.078, allocations: 462.4 kB / 1.119 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005426/1.078, allocations: 320 kB / 1.119 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005105/1.079, allocations: 328.6 kB / 1.12 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.196e-05/1.079, allocations: 22.94 kB / 1.12 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008527/1.08, allocations: 287.1 kB / 1.12 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001977/1.08, allocations: 171.8 kB / 1.12 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000243/1.08, allocations: 176.5 kB / 1.12 GB, free: 17.11 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/1.081, allocations: 1.053 MB / 1.121 GB, free: 17.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/1.082, allocations: 1.859 kB / 1.121 GB, free: 17.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.863e-06/1.082, allocations: 0 / 1.121 GB, free: 17.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.342e-05/1.082, allocations: 0 / 1.121 GB, free: 17.02 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002246/1.084, allocations: 1.159 MB / 1.122 GB, free: 16.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/1.084, allocations: 9.281 kB / 1.122 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/1.084, allocations: 127.8 kB / 1.123 GB, free: 16.26 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000913/1.085, allocations: 187.6 kB / 1.123 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/1.086, allocations: 0.6888 MB / 1.123 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/1.086, allocations: 62.92 kB / 1.123 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/1.086, allocations: 79.25 kB / 1.124 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/1.088, allocations: 0.8809 MB / 1.124 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/1.088, allocations: 0 / 1.124 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.397e-05/1.088, allocations: 40.64 kB / 1.124 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/1.088, allocations: 18.88 kB / 1.124 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/1.09, allocations: 1.091 MB / 1.126 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003812/1.094, allocations: 2.441 MB / 1.128 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/1.095, allocations: 0.8771 MB / 1.129 GB, free: 14.76 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005036/1.096, allocations: 292.4 kB / 1.129 GB, free: 14.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.312e-05/1.096, allocations: 40.19 kB / 1.129 GB, free: 14.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008015/1.097, allocations: 450.5 kB / 1.13 GB, free: 14.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.354e-06/1.097, allocations: 0 / 1.13 GB, free: 14.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.003069/1.1, allocations: 1.142 MB / 1.131 GB, free: 14.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/1.1, allocations: 190.2 kB / 1.131 GB, free: 14.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000723/1.101, allocations: 0.5753 MB / 1.131 GB, free: 14.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.077e-05/1.101, allocations: 42.05 kB / 1.131 GB, free: 14.08 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/1.101, allocations: 384.8 kB / 1.132 GB, free: 13.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000197/1.101, allocations: 256.6 kB / 1.132 GB, free: 13.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/1.101, allocations: 12.5 kB / 1.132 GB, free: 13.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.102, allocations: 376.5 kB / 1.132 GB, free: 13.42 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004382/1.102, allocations: 231.7 kB / 1.133 GB, free: 13.42 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005595/1.103, allocations: 333.1 kB / 1.133 GB, free: 13.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005723/1.103, allocations: 275.3 kB / 1.133 GB, free: 13.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/1.103, allocations: 3.938 kB / 1.133 GB, free: 13.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001727/1.105, allocations: 0.7601 MB / 1.134 GB, free: 13.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.105, allocations: 6.375 kB / 1.134 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.105, allocations: 0 / 1.134 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006167/1.106, allocations: 81.06 kB / 1.134 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006289/1.106, allocations: 152.5 kB / 1.134 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/1.108, allocations: 1.517 MB / 1.136 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006642/1.109, allocations: 85.42 kB / 1.136 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.044e-05/1.109, allocations: 29.61 kB / 1.136 GB, free: 11.66 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 (79): * Single equations (assignments): 78 * 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.0004517/1.11, allocations: 250.4 kB / 1.136 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/1.11, allocations: 81.52 kB / 1.136 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/1.112, allocations: 1.091 MB / 1.137 GB, free: 11.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/1.112, allocations: 8.438 kB / 1.137 GB, free: 11.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/1.112, allocations: 1.594 kB / 1.137 GB, free: 11.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/1.112, allocations: 7.938 kB / 1.137 GB, free: 11.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003519/1.116, allocations: 1.954 MB / 1.139 GB, free: 10.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.116, allocations: 1.062 kB / 1.139 GB, free: 10.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006428/1.116, allocations: 157.8 kB / 1.139 GB, free: 10.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005219/1.117, allocations: 84.14 kB / 1.139 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.557e-05/1.117, allocations: 23.98 kB / 1.139 GB, free: 10.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/1.119, allocations: 1.543 MB / 1.141 GB, free: 8.965 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.119, allocations: 1.562 kB / 1.141 GB, free: 8.965 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/1.121, allocations: 0.963 MB / 1.142 GB, free: 8.648 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/1.121, allocations: 285.9 kB / 1.142 GB, free: 8.449 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/1.122, allocations: 25.38 kB / 1.142 GB, free: 8.441 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006381/1.122, allocations: 71.09 kB / 1.142 GB, free: 8.422 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/1.122, allocations: 71.52 kB / 1.142 GB, free: 8.391 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.643e-05/1.122, allocations: 40.61 kB / 1.142 GB, free: 8.379 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006739/1.123, allocations: 428 kB / 1.143 GB, free: 8.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/1.123, allocations: 0 / 1.143 GB, free: 8.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001068/1.124, allocations: 281.6 kB / 1.143 GB, free: 8.176 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 (93): * Single equations (assignments): 90 * 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.00352/1.128, allocations: 1.985 MB / 1.145 GB, free: 7.152 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001713/1.13, allocations: 0.7609 MB / 1.146 GB, free: 6.922 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.13, allocations: 7.078 kB / 1.146 GB, free: 6.918 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/1.131, allocations: 0.5105 MB / 1.146 GB, free: 6.727 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/1.132, allocations: 271.2 kB / 1.146 GB, free: 6.645 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/1.142, allocations: 4.786 MB / 1.151 GB, free: 4.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006202/1.143, allocations: 1.01 MB / 1.152 GB, free: 3.746 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001/1.144, allocations: 263.3 kB / 1.152 GB, free: 3.613 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004831/1.144, allocations: 372.1 kB / 1.153 GB, free: 3.562 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/1.144, allocations: 1.375 kB / 1.153 GB, free: 3.562 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04224/1.186, allocations: 20.17 MB / 1.172 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/1.187, allocations: 302 kB / 1.173 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.795/3.982, allocations: 0 / 1.173 GB, free: 9.5 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)