Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.76/1.76, allocations: 288.4 MB / 303.7 MB, free: 8 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.001247/0.001247, allocations: 179.3 kB / 372.3 MB, free: 10.13 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.581/1.581, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.0007389/0.0007389, allocations: 104.5 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005191/0.0005193, allocations: 15.23 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2777, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004029/0.2818, allocations: 3.514 MB / 0.9836 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6431/0.9249, allocations: 136.4 MB / 1.117 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008162/0.9257, allocations: 14.94 kB / 1.117 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005387/0.9263, allocations: 127.9 kB / 1.117 GB, free: 2.332 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.001516/0.9278, allocations: 343.5 kB / 1.117 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.9297, allocations: 0.5897 MB / 1.118 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001192/0.9309, allocations: 1.023 MB / 1.119 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007772/0.9317, allocations: 0.5667 MB / 1.119 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005041/0.9322, allocations: 282.1 kB / 1.12 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003976/0.9327, allocations: 305.9 kB / 1.12 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.591e-05/0.9327, allocations: 21.72 kB / 1.12 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007857/0.9335, allocations: 279.2 kB / 1.12 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.9337, allocations: 158 kB / 1.12 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004634/0.9342, allocations: 385.1 kB / 1.121 GB, free: 17.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.9356, allocations: 1.024 MB / 1.122 GB, free: 17.44 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.9356, allocations: 0 / 1.122 GB, free: 17.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.903e-06/0.9356, allocations: 0 / 1.122 GB, free: 17.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.9356, allocations: 0 / 1.122 GB, free: 17.44 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002002/0.9376, allocations: 1.09 MB / 1.123 GB, free: 16.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.155e-05/0.9377, allocations: 9.75 kB / 1.123 GB, free: 16.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009041/0.9386, allocations: 182.6 kB / 1.123 GB, free: 16.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.9396, allocations: 0.6964 MB / 1.124 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.177e-05/0.9397, allocations: 56.84 kB / 1.124 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.9398, allocations: 73.81 kB / 1.124 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.9413, allocations: 0.8382 MB / 1.125 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.9414, allocations: 0 / 1.125 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-05/0.9415, allocations: 33.16 kB / 1.125 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.9415, allocations: 18.22 kB / 1.125 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.9435, allocations: 1.052 MB / 1.126 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004279/0.9478, allocations: 2.399 MB / 1.128 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.9491, allocations: 0.7245 MB / 1.129 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005514/0.9497, allocations: 282.6 kB / 1.129 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-05/0.9498, allocations: 26.03 kB / 1.129 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009363/0.9508, allocations: 423.4 kB / 1.129 GB, free: 15.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 2.535e-06/0.9508, allocations: 4 kB / 1.129 GB, free: 15.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.00281/0.9536, allocations: 1.084 MB / 1.13 GB, free: 15.03 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.9537, allocations: 194.1 kB / 1.131 GB, free: 14.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007451/0.9545, allocations: 0.5576 MB / 1.131 GB, free: 14.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.55e-05/0.9546, allocations: 39.62 kB / 1.131 GB, free: 14.65 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.9549, allocations: 363.8 kB / 1.132 GB, free: 14.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.9551, allocations: 235.6 kB / 1.132 GB, free: 14.33 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.9551, allocations: 17.12 kB / 1.132 GB, free: 14.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.9553, allocations: 376.7 kB / 1.132 GB, free: 14.01 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.9557, allocations: 237.2 kB / 1.132 GB, free: 14.01 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004998/0.9562, allocations: 334.2 kB / 1.133 GB, free: 13.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009696/0.9572, allocations: 0.5536 MB / 1.133 GB, free: 13.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.9572, allocations: 0 / 1.133 GB, free: 13.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001744/0.959, allocations: 0.7664 MB / 1.134 GB, free: 13.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.959, allocations: 5.5 kB / 1.134 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.959, allocations: 3.578 kB / 1.134 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005959/0.9596, allocations: 84.16 kB / 1.134 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.9603, allocations: 148.1 kB / 1.134 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.9626, allocations: 1.531 MB / 1.136 GB, free: 12.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007904/0.9634, allocations: 92.8 kB / 1.136 GB, free: 12.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.059e-05/0.9635, allocations: 34.78 kB / 1.136 GB, free: 12.34 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 (81): * Single equations (assignments): 80 * 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.0005405/0.9641, allocations: 258.6 kB / 1.136 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.9642, allocations: 70.75 kB / 1.136 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002304/0.9665, allocations: 0.9965 MB / 1.137 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.9665, allocations: 12.25 kB / 1.137 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.9665, allocations: 1.031 kB / 1.137 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.9666, allocations: 3.984 kB / 1.137 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.9677, allocations: 0.8329 MB / 1.138 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.9677, allocations: 0 / 1.138 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005723/0.9682, allocations: 140.3 kB / 1.138 GB, free: 11.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005144/0.9688, allocations: 82.41 kB / 1.138 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.339e-05/0.9688, allocations: 25.7 kB / 1.138 GB, free: 11.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.9707, allocations: 1.558 MB / 1.14 GB, free: 10.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.9707, allocations: 1.094 kB / 1.14 GB, free: 10.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.9726, allocations: 0.8332 MB / 1.141 GB, free: 9.785 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004055/0.973, allocations: 265.7 kB / 1.141 GB, free: 9.602 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.9731, allocations: 18.41 kB / 1.141 GB, free: 9.598 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005223/0.9736, allocations: 64.19 kB / 1.141 GB, free: 9.582 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.9738, allocations: 59.58 kB / 1.141 GB, free: 9.555 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-05/0.9739, allocations: 38.95 kB / 1.141 GB, free: 9.543 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000597/0.9745, allocations: 414.2 kB / 1.141 GB, free: 9.387 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9745, allocations: 0 / 1.141 GB, free: 9.387 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001606/0.9761, allocations: 264.5 kB / 1.142 GB, free: 9.336 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.00176/0.9779, allocations: 0.5582 MB / 1.142 GB, free: 9.066 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002349/0.9803, allocations: 0.7594 MB / 1.143 GB, free: 8.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.9803, allocations: 1.906 kB / 1.143 GB, free: 8.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.9816, allocations: 481.5 kB / 1.143 GB, free: 8.664 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.9836, allocations: 245.8 kB / 1.144 GB, free: 8.594 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00599/0.9896, allocations: 2.012 MB / 1.146 GB, free: 7.484 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009819/0.9906, allocations: 0.9973 MB / 1.147 GB, free: 6.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001395/0.992, allocations: 248.2 kB / 1.147 GB, free: 6.539 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/0.9923, allocations: 93.83 kB / 1.147 GB, free: 6.52 MB / 0.698 GB Notification: Performance of SimCode: time 1.042e-06/0.9924, allocations: 0.9688 kB / 1.147 GB, free: 6.52 MB / 0.698 GB Notification: Performance of Templates: time 0.03443/1.027, allocations: 12.64 MB / 1.159 GB, free: 200 kB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)