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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.725/1.725, allocations: 288.4 MB / 303.4 MB, free: 8.016 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.001317/0.001317, allocations: 175.3 kB / 372 MB, free: 10.22 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.626/1.626, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.0007292/0.0007293, allocations: 101.2 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003854, allocations: 14.97 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1796, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.003534/0.1832, allocations: 3.549 MB / 0.983 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6311/0.8143, allocations: 136.4 MB / 1.116 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.8154, allocations: 22.28 kB / 1.116 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007883/0.8162, allocations: 127.8 kB / 1.116 GB, free: 2.18 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.002019/0.8182, allocations: 348.9 kB / 1.117 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002916/0.8212, allocations: 0.5944 MB / 1.117 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001852/0.823, allocations: 1.008 MB / 1.118 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.8242, allocations: 460.7 kB / 1.119 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007978/0.825, allocations: 294.6 kB / 1.119 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005913/0.8256, allocations: 317.2 kB / 1.119 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.8258, allocations: 21.12 kB / 1.119 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.8269, allocations: 262.5 kB / 1.12 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002386/0.8271, allocations: 159.5 kB / 1.12 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002938/0.8274, allocations: 174.5 kB / 1.12 GB, free: 17.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.8289, allocations: 1.024 MB / 1.121 GB, free: 17.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.8289, allocations: 1.031 kB / 1.121 GB, free: 17.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8289, allocations: 0 / 1.121 GB, free: 17.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.829, allocations: 0 / 1.121 GB, free: 17.43 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.002764/0.8317, allocations: 1.11 MB / 1.122 GB, free: 16.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.8318, allocations: 12.23 kB / 1.122 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.8332, allocations: 188.7 kB / 1.122 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.8346, allocations: 0.6756 MB / 1.123 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.366e-05/0.8347, allocations: 58.03 kB / 1.123 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.8349, allocations: 78.28 kB / 1.123 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/0.8372, allocations: 0.8561 MB / 1.124 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.8372, allocations: 1.656 kB / 1.124 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.8373, allocations: 31.81 kB / 1.124 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/0.8374, allocations: 26.41 kB / 1.124 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002988/0.8404, allocations: 1.064 MB / 1.125 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005899/0.8463, allocations: 2.381 MB / 1.127 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002082/0.8484, allocations: 0.8072 MB / 1.128 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007787/0.8492, allocations: 281 kB / 1.128 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.8494, allocations: 35.53 kB / 1.128 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00118/0.8506, allocations: 427.6 kB / 1.129 GB, free: 15.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 4.598e-06/0.8506, allocations: 0 / 1.129 GB, free: 15.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.004734/0.8554, allocations: 1.09 MB / 1.13 GB, free: 14.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/0.8555, allocations: 188.9 kB / 1.13 GB, free: 14.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.8569, allocations: 0.5577 MB / 1.131 GB, free: 14.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.8571, allocations: 38.45 kB / 1.131 GB, free: 14.56 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004625/0.8575, allocations: 369.4 kB / 1.131 GB, free: 14.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/0.8579, allocations: 234.4 kB / 1.131 GB, free: 14.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/0.8579, allocations: 19.5 kB / 1.131 GB, free: 14.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002222/0.8582, allocations: 379.2 kB / 1.132 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007479/0.8589, allocations: 232.8 kB / 1.132 GB, free: 13.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009708/0.8599, allocations: 334.4 kB / 1.132 GB, free: 13.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009365/0.8609, allocations: 280.1 kB / 1.132 GB, free: 13.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.8609, allocations: 1.859 kB / 1.132 GB, free: 13.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002956/0.8639, allocations: 0.7872 MB / 1.133 GB, free: 13.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.8639, allocations: 7.031 kB / 1.133 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.864, allocations: 3.938 kB / 1.133 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009828/0.865, allocations: 81.88 kB / 1.133 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.866, allocations: 152.4 kB / 1.133 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/0.8692, allocations: 1.513 MB / 1.135 GB, free: 12.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.8704, allocations: 82.61 kB / 1.135 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.8706, allocations: 34.66 kB / 1.135 GB, free: 12.29 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 (84): * Single equations (assignments): 83 * 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.0008004/0.8714, allocations: 261.4 kB / 1.135 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003151/0.8717, allocations: 79.55 kB / 1.135 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003933/0.8757, allocations: 1.016 MB / 1.136 GB, free: 11.81 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.8757, allocations: 8.125 kB / 1.136 GB, free: 11.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.8758, allocations: 0.9375 kB / 1.136 GB, free: 11.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.132e-05/0.8758, allocations: 3.984 kB / 1.136 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005987/0.8818, allocations: 1.872 MB / 1.138 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.8819, allocations: 0 / 1.138 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.8829, allocations: 149 kB / 1.138 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009159/0.8839, allocations: 91.77 kB / 1.138 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-05/0.884, allocations: 22.95 kB / 1.138 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002984/0.887, allocations: 1.544 MB / 1.14 GB, free: 9.641 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.887, allocations: 1.938 kB / 1.14 GB, free: 9.641 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003351/0.8904, allocations: 0.9181 MB / 1.141 GB, free: 9.328 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007724/0.8912, allocations: 272.1 kB / 1.141 GB, free: 9.137 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002831/0.8915, allocations: 21.47 kB / 1.141 GB, free: 9.133 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.8927, allocations: 64.94 kB / 1.141 GB, free: 9.117 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.8929, allocations: 60.52 kB / 1.141 GB, free: 9.094 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.893, allocations: 36.53 kB / 1.141 GB, free: 9.086 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001042/0.8941, allocations: 415.6 kB / 1.142 GB, free: 8.934 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.71e-07/0.8941, allocations: 0 / 1.142 GB, free: 8.934 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001588/0.8957, allocations: 268 kB / 1.142 GB, free: 8.883 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.002116/0.8979, allocations: 0.5694 MB / 1.142 GB, free: 8.613 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002815/0.9007, allocations: 0.7668 MB / 1.143 GB, free: 8.379 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.9007, allocations: 3.016 kB / 1.143 GB, free: 8.379 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001591/0.9023, allocations: 497.9 kB / 1.144 GB, free: 8.199 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/0.9046, allocations: 239.1 kB / 1.144 GB, free: 8.141 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006852/0.9115, allocations: 2.055 MB / 1.146 GB, free: 7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.9126, allocations: 0.9934 MB / 1.147 GB, free: 6.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001766/0.9144, allocations: 257.3 kB / 1.147 GB, free: 6.051 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004358/0.9148, allocations: 106.5 kB / 1.147 GB, free: 6.023 MB / 0.698 GB Notification: Performance of SimCode: time 1.863e-06/0.9149, allocations: 0 / 1.147 GB, free: 6.023 MB / 0.698 GB Notification: Performance of Templates: time 0.03459/0.9495, allocations: 12.5 MB / 1.159 GB, free: 15.78 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (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 & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)