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.818/1.818, allocations: 288.4 MB / 303.7 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.0009522/0.0009523, allocations: 183.3 kB / 372.3 MB, free: 10.12 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.562/1.562, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.001059/0.001059, allocations: 96.55 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004798, allocations: 20.31 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1995, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.003574/0.2031, allocations: 3.623 MB / 0.9837 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5533/0.7564, allocations: 136.5 MB / 1.117 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005159/0.757, allocations: 18.88 kB / 1.117 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004501/0.7574, allocations: 125.6 kB / 1.117 GB, free: 2.289 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.00106/0.7585, allocations: 365.2 kB / 1.117 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.7602, allocations: 0.6208 MB / 1.118 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0009903/0.7612, allocations: 1.063 MB / 1.119 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007818/0.762, allocations: 0.5779 MB / 1.12 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004319/0.7624, allocations: 309.7 kB / 1.12 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.7628, allocations: 333.7 kB / 1.12 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.743e-05/0.7629, allocations: 21.59 kB / 1.12 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006409/0.7635, allocations: 298.9 kB / 1.121 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.7637, allocations: 165.5 kB / 1.121 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003183/0.764, allocations: 405.9 kB / 1.121 GB, free: 17.43 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008522/0.7649, allocations: 1.049 MB / 1.122 GB, free: 17.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.7649, allocations: 2.391 kB / 1.122 GB, free: 17.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.542e-06/0.7649, allocations: 0 / 1.122 GB, free: 17.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.7649, allocations: 0 / 1.122 GB, free: 17.34 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.0017/0.7666, allocations: 1.135 MB / 1.123 GB, free: 16.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.7667, allocations: 9.125 kB / 1.123 GB, free: 16.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008213/0.7675, allocations: 191 kB / 1.123 GB, free: 16.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008788/0.7684, allocations: 0.7126 MB / 1.124 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.289e-05/0.7685, allocations: 67.11 kB / 1.124 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.623e-05/0.7686, allocations: 76.34 kB / 1.124 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.77, allocations: 0.8827 MB / 1.125 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.77, allocations: 5.344 kB / 1.125 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.48e-05/0.7701, allocations: 32.5 kB / 1.125 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.7701, allocations: 19.31 kB / 1.125 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.7718, allocations: 1.095 MB / 1.126 GB, free: 16.04 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003565/0.7753, allocations: 2.45 MB / 1.129 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.7771, allocations: 0.8727 MB / 1.13 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005231/0.7776, allocations: 300.9 kB / 1.13 GB, free: 15.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.613e-05/0.7777, allocations: 35.03 kB / 1.13 GB, free: 15.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008599/0.7786, allocations: 446.6 kB / 1.13 GB, free: 14.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.527e-06/0.7786, allocations: 0 / 1.13 GB, free: 14.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.003121/0.7817, allocations: 1.138 MB / 1.131 GB, free: 14.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.7819, allocations: 193.5 kB / 1.132 GB, free: 14.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000772/0.7827, allocations: 0.5749 MB / 1.132 GB, free: 14.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.98e-05/0.7827, allocations: 39.83 kB / 1.132 GB, free: 14.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/0.783, allocations: 376.1 kB / 1.133 GB, free: 14.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.7832, allocations: 256.1 kB / 1.133 GB, free: 14.06 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.7833, allocations: 14.97 kB / 1.133 GB, free: 14.06 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002251/0.7835, allocations: 379.3 kB / 1.133 GB, free: 13.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005335/0.784, allocations: 249 kB / 1.133 GB, free: 13.74 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006356/0.7847, allocations: 345 kB / 1.134 GB, free: 13.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.7859, allocations: 0.5881 MB / 1.134 GB, free: 13.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.786, allocations: 1.25 kB / 1.134 GB, free: 13.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0019/0.7879, allocations: 0.8172 MB / 1.135 GB, free: 13.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.7879, allocations: 7.344 kB / 1.135 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7879, allocations: 4 kB / 1.135 GB, free: 13.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/0.7885, allocations: 86.64 kB / 1.135 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007079/0.7892, allocations: 153 kB / 1.135 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.7912, allocations: 1.513 MB / 1.137 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007091/0.792, allocations: 91.61 kB / 1.137 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.855e-05/0.7921, allocations: 40.47 kB / 1.137 GB, free: 11.88 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.0004119/0.7925, allocations: 264.9 kB / 1.137 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.7926, allocations: 80.34 kB / 1.137 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/0.7952, allocations: 1.069 MB / 1.138 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.7952, allocations: 13.22 kB / 1.138 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7952, allocations: 1.219 kB / 1.138 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.7952, allocations: 7.922 kB / 1.138 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003248/0.7985, allocations: 1.945 MB / 1.14 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.7985, allocations: 1.25 kB / 1.14 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006219/0.7991, allocations: 161.5 kB / 1.14 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005042/0.7996, allocations: 87.88 kB / 1.14 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.036e-05/0.7997, allocations: 21.39 kB / 1.141 GB, free: 10.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.8014, allocations: 1.546 MB / 1.142 GB, free: 9.191 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8015, allocations: 0 / 1.142 GB, free: 9.191 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.8033, allocations: 0.9729 MB / 1.143 GB, free: 8.863 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/0.8037, allocations: 275.5 kB / 1.143 GB, free: 8.672 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.8039, allocations: 20.83 kB / 1.143 GB, free: 8.668 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005997/0.8045, allocations: 72.56 kB / 1.143 GB, free: 8.648 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.8046, allocations: 69.5 kB / 1.143 GB, free: 8.621 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.779e-05/0.8047, allocations: 31.17 kB / 1.143 GB, free: 8.617 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005614/0.8053, allocations: 432.2 kB / 1.144 GB, free: 8.465 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8053, allocations: 0 / 1.144 GB, free: 8.465 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008619/0.8062, allocations: 301.8 kB / 1.144 GB, free: 8.398 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.001194/0.8074, allocations: 0.5723 MB / 1.145 GB, free: 8.121 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001627/0.809, allocations: 0.8091 MB / 1.145 GB, free: 7.875 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.809, allocations: 0 / 1.145 GB, free: 7.875 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009985/0.81, allocations: 0.5058 MB / 1.146 GB, free: 7.699 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.8112, allocations: 256.3 kB / 1.146 GB, free: 7.621 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.8151, allocations: 2.12 MB / 1.148 GB, free: 6.449 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006047/0.8157, allocations: 1.011 MB / 1.149 GB, free: 5.617 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008745/0.8166, allocations: 264 kB / 1.15 GB, free: 5.484 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.8169, allocations: 98.27 kB / 1.15 GB, free: 5.465 MB / 0.698 GB Notification: Performance of SimCode: time 5.01e-07/0.8169, allocations: 0.9688 kB / 1.15 GB, free: 5.465 MB / 0.698 GB Notification: Performance of Templates: time 0.02138/0.8383, allocations: 13.18 MB / 1.162 GB, free: 14.86 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)