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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.632/1.632, allocations: 288.4 MB / 303.4 MB, free: 8.066 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.0009657/0.0009658, allocations: 186.9 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.481/1.481, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.0009615/0.0009616, allocations: 92.58 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004177/0.0004177, allocations: 10.84 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.212, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005463/0.2176, allocations: 3.619 MB / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.659/0.8766, allocations: 136.5 MB / 1.116 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007675/0.8774, allocations: 15.06 kB / 1.116 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004856/0.8779, allocations: 128.5 kB / 1.117 GB, free: 2.164 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.001392/0.8793, allocations: 350 kB / 1.117 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.8814, allocations: 0.623 MB / 1.118 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001535/0.8829, allocations: 1.047 MB / 1.119 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008125/0.8837, allocations: 466 kB / 1.119 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006388/0.8844, allocations: 309.2 kB / 1.119 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004834/0.8849, allocations: 328.3 kB / 1.12 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.655e-05/0.885, allocations: 22.81 kB / 1.12 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000972/0.886, allocations: 288.1 kB / 1.12 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002184/0.8862, allocations: 169.8 kB / 1.12 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002884/0.8865, allocations: 182.8 kB / 1.12 GB, free: 17.46 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.8877, allocations: 1.048 MB / 1.121 GB, free: 17.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.8877, allocations: 1.438 kB / 1.121 GB, free: 17.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8877, allocations: 0 / 1.121 GB, free: 17.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.8878, allocations: 4 kB / 1.121 GB, free: 17.37 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.002216/0.89, allocations: 1.15 MB / 1.122 GB, free: 16.65 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.89, allocations: 12.61 kB / 1.122 GB, free: 16.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009894/0.891, allocations: 188.4 kB / 1.123 GB, free: 16.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000981/0.892, allocations: 0.6818 MB / 1.123 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.8921, allocations: 64.95 kB / 1.123 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.8923, allocations: 79.92 kB / 1.123 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.8939, allocations: 0.8829 MB / 1.124 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.8939, allocations: 0 / 1.124 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.755e-05/0.894, allocations: 37.02 kB / 1.124 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/0.894, allocations: 19.84 kB / 1.124 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.8959, allocations: 1.09 MB / 1.125 GB, free: 16.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003805/0.8997, allocations: 2.438 MB / 1.128 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.9017, allocations: 0.8798 MB / 1.129 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005998/0.9023, allocations: 296.5 kB / 1.129 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.672e-05/0.9024, allocations: 33.59 kB / 1.129 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008603/0.9033, allocations: 454.4 kB / 1.129 GB, free: 15.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.835e-06/0.9033, allocations: 0 / 1.129 GB, free: 15.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.003177/0.9065, allocations: 1.133 MB / 1.13 GB, free: 14.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.9066, allocations: 193.1 kB / 1.131 GB, free: 14.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008254/0.9075, allocations: 0.5782 MB / 1.131 GB, free: 14.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.832e-05/0.9076, allocations: 40.3 kB / 1.131 GB, free: 14.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003448/0.9079, allocations: 374.8 kB / 1.132 GB, free: 14.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.9081, allocations: 256.3 kB / 1.132 GB, free: 14.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.9082, allocations: 14.98 kB / 1.132 GB, free: 14.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.9084, allocations: 376.1 kB / 1.132 GB, free: 13.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005109/0.9089, allocations: 259.8 kB / 1.132 GB, free: 13.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006524/0.9095, allocations: 343 kB / 1.133 GB, free: 13.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006188/0.9102, allocations: 298.4 kB / 1.133 GB, free: 13.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.9102, allocations: 0 / 1.133 GB, free: 13.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00191/0.9121, allocations: 0.8193 MB / 1.134 GB, free: 13.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.9121, allocations: 5.219 kB / 1.134 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.9121, allocations: 3.375 kB / 1.134 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005804/0.9127, allocations: 82.36 kB / 1.134 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/0.9134, allocations: 154.5 kB / 1.134 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.9155, allocations: 1.52 MB / 1.136 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007201/0.9162, allocations: 86.89 kB / 1.136 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-05/0.9163, allocations: 37.19 kB / 1.136 GB, free: 12.04 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: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0004824/0.9168, allocations: 266.7 kB / 1.136 GB, free: 11.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.9169, allocations: 74.72 kB / 1.136 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/0.9194, allocations: 1.081 MB / 1.137 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.9194, allocations: 9.344 kB / 1.137 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.9194, allocations: 0 / 1.137 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.9194, allocations: 7.938 kB / 1.137 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00335/0.9228, allocations: 1.937 MB / 1.139 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.9228, allocations: 7.984 kB / 1.139 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006202/0.9234, allocations: 157.5 kB / 1.139 GB, free: 10.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005195/0.924, allocations: 86.14 kB / 1.139 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/0.924, allocations: 26.33 kB / 1.139 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/0.9258, allocations: 1.543 MB / 1.141 GB, free: 9.348 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9258, allocations: 4.062 kB / 1.141 GB, free: 9.344 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.9277, allocations: 0.9607 MB / 1.142 GB, free: 9.027 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004293/0.9282, allocations: 285.4 kB / 1.142 GB, free: 8.828 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.9284, allocations: 18.84 kB / 1.142 GB, free: 8.828 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006541/0.929, allocations: 85.66 kB / 1.142 GB, free: 8.801 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.9292, allocations: 67.09 kB / 1.142 GB, free: 8.773 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.275e-05/0.9292, allocations: 38.97 kB / 1.142 GB, free: 8.766 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005828/0.9298, allocations: 424.9 kB / 1.143 GB, free: 8.617 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9298, allocations: 4 kB / 1.143 GB, free: 8.613 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001034/0.9309, allocations: 287.9 kB / 1.143 GB, free: 8.559 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.001239/0.9321, allocations: 0.5766 MB / 1.143 GB, free: 8.297 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001669/0.9338, allocations: 0.8045 MB / 1.144 GB, free: 8.055 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.9338, allocations: 0 / 1.144 GB, free: 8.055 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008619/0.9347, allocations: 0.5058 MB / 1.145 GB, free: 7.875 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.9359, allocations: 248.8 kB / 1.145 GB, free: 7.805 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004945/0.9409, allocations: 2.124 MB / 1.147 GB, free: 6.621 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008301/0.9417, allocations: 1.017 MB / 1.148 GB, free: 5.793 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001046/0.9428, allocations: 254.5 kB / 1.148 GB, free: 5.668 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/0.9431, allocations: 104.6 kB / 1.148 GB, free: 5.645 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/0.9431, allocations: 0 / 1.148 GB, free: 5.645 MB / 0.698 GB Notification: Performance of Templates: time 0.02541/0.9686, allocations: 13 MB / 1.161 GB, free: 15.12 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (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 & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)