Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.733/1.733, allocations: 287.5 MB / 302.6 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.001266/0.001265, allocations: 181.6 kB / 371.2 MB, free: 10.82 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.461/1.461, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.000766/0.000766, allocations: 100.8 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003581, allocations: 11.72 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1806, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.003785/0.1844, allocations: 3.549 MB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5531/0.7375, allocations: 136.4 MB / 1.115 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004849/0.738, allocations: 22.69 kB / 1.115 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004339/0.7384, allocations: 124.7 kB / 1.116 GB, free: 1.613 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.001084/0.7395, allocations: 350.9 kB / 1.116 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.7412, allocations: 0.5989 MB / 1.116 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.7426, allocations: 1.038 MB / 1.117 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009439/0.7435, allocations: 0.5598 MB / 1.118 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007437/0.7443, allocations: 296.1 kB / 1.118 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000435/0.7447, allocations: 311 kB / 1.119 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.542e-05/0.7448, allocations: 22.06 kB / 1.119 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008137/0.7456, allocations: 269.1 kB / 1.119 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.7459, allocations: 162.4 kB / 1.119 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.7461, allocations: 177.9 kB / 1.119 GB, free: 16.9 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.7476, allocations: 1.009 MB / 1.12 GB, free: 16.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.7476, allocations: 7.25 kB / 1.12 GB, free: 16.81 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.595e-06/0.7476, allocations: 1.219 kB / 1.12 GB, free: 16.81 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.654e-05/0.7476, allocations: 0 / 1.12 GB, free: 16.81 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.001943/0.7496, allocations: 1.098 MB / 1.121 GB, free: 16.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.7496, allocations: 9.812 kB / 1.121 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008169/0.7505, allocations: 187.9 kB / 1.121 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.7515, allocations: 0.7036 MB / 1.122 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.811e-05/0.7516, allocations: 56.88 kB / 1.122 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.243e-05/0.7517, allocations: 77.06 kB / 1.122 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.7531, allocations: 0.8597 MB / 1.123 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.7531, allocations: 0 / 1.123 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.299e-05/0.7532, allocations: 32.25 kB / 1.123 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.7532, allocations: 20 kB / 1.123 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.7547, allocations: 1.061 MB / 1.124 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003464/0.7582, allocations: 2.38 MB / 1.127 GB, free: 14.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.7595, allocations: 0.8084 MB / 1.127 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005311/0.7601, allocations: 287.3 kB / 1.128 GB, free: 14.58 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.79e-05/0.7602, allocations: 32.58 kB / 1.128 GB, free: 14.58 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007293/0.7609, allocations: 424.6 kB / 1.128 GB, free: 14.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 2.675e-06/0.7609, allocations: 0 / 1.128 GB, free: 14.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.002822/0.7638, allocations: 1.092 MB / 1.129 GB, free: 14.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.23e-05/0.7639, allocations: 193.3 kB / 1.129 GB, free: 14.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006791/0.7645, allocations: 0.5559 MB / 1.13 GB, free: 13.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.848e-05/0.7646, allocations: 41.73 kB / 1.13 GB, free: 13.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.7649, allocations: 366.5 kB / 1.13 GB, free: 13.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.7651, allocations: 235.3 kB / 1.13 GB, free: 13.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.7651, allocations: 13.38 kB / 1.13 GB, free: 13.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.7653, allocations: 386.1 kB / 1.131 GB, free: 13.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000414/0.7657, allocations: 237.3 kB / 1.131 GB, free: 13.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004887/0.7662, allocations: 332.4 kB / 1.131 GB, free: 13.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008848/0.7671, allocations: 0.5582 MB / 1.132 GB, free: 13.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.7671, allocations: 2.375 kB / 1.132 GB, free: 13.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001706/0.7688, allocations: 0.7815 MB / 1.133 GB, free: 13.06 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.7689, allocations: 6.5 kB / 1.133 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.7689, allocations: 0 / 1.133 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005674/0.7695, allocations: 88.41 kB / 1.133 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005944/0.7701, allocations: 145.8 kB / 1.133 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/0.772, allocations: 1.526 MB / 1.134 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006421/0.7726, allocations: 87.53 kB / 1.134 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.304e-05/0.7727, allocations: 35.42 kB / 1.134 GB, free: 11.7 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.0004126/0.7731, allocations: 264 kB / 1.135 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.7732, allocations: 71 kB / 1.135 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/0.7754, allocations: 1.019 MB / 1.136 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.7754, allocations: 12.06 kB / 1.136 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.7754, allocations: 1.125 kB / 1.136 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.7754, allocations: 4.406 kB / 1.136 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/0.7783, allocations: 1.861 MB / 1.138 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.7783, allocations: 0 / 1.138 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007777/0.7791, allocations: 144.8 kB / 1.138 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007545/0.7798, allocations: 87.22 kB / 1.138 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.423e-05/0.7799, allocations: 28.8 kB / 1.138 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002324/0.7823, allocations: 1.551 MB / 1.139 GB, free: 9.672 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.7823, allocations: 0 / 1.139 GB, free: 9.672 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.7842, allocations: 0.9206 MB / 1.14 GB, free: 9.438 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003938/0.7846, allocations: 270.1 kB / 1.141 GB, free: 9.246 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.7847, allocations: 17.72 kB / 1.141 GB, free: 9.246 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005803/0.7853, allocations: 67.91 kB / 1.141 GB, free: 9.227 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.7855, allocations: 65.72 kB / 1.141 GB, free: 9.199 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.501e-05/0.7855, allocations: 31.14 kB / 1.141 GB, free: 9.195 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005387/0.7861, allocations: 418 kB / 1.141 GB, free: 9.035 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7861, allocations: 0 / 1.141 GB, free: 9.035 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008435/0.7869, allocations: 271.2 kB / 1.141 GB, free: 8.984 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.001165/0.7881, allocations: 0.5497 MB / 1.142 GB, free: 8.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.7896, allocations: 0.7655 MB / 1.143 GB, free: 8.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7896, allocations: 0 / 1.143 GB, free: 8.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008284/0.7904, allocations: 0.4912 MB / 1.143 GB, free: 8.332 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.7916, allocations: 248 kB / 1.143 GB, free: 8.258 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003914/0.7955, allocations: 2.055 MB / 1.145 GB, free: 7.125 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005851/0.7961, allocations: 1.003 MB / 1.146 GB, free: 6.301 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008851/0.797, allocations: 249 kB / 1.147 GB, free: 6.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/0.7973, allocations: 104.5 kB / 1.147 GB, free: 6.152 MB / 0.698 GB Notification: Performance of SimCode: time 3.7e-07/0.7973, allocations: 0 / 1.147 GB, free: 6.152 MB / 0.698 GB Notification: Performance of Templates: time 0.02114/0.8184, allocations: 12.51 MB / 1.159 GB, free: 15.88 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)