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.683/1.683, allocations: 288.4 MB / 304.3 MB, free: 8.023 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.000949/0.0009491, allocations: 184.5 kB / 372.9 MB, free: 10.15 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.531/1.531, allocations: 205.4 MB / 0.6316 GB, free: 9.898 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.0009501/0.00095, allocations: 98.22 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.000409, allocations: 15.06 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2099, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004138/0.2141, allocations: 3.506 MB / 0.9841 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5717/0.7859, allocations: 136.4 MB / 1.117 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004693/0.7864, allocations: 19.06 kB / 1.117 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004481/0.7868, allocations: 123.9 kB / 1.118 GB, free: 2.316 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.00103/0.7879, allocations: 357.2 kB / 1.118 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.7896, allocations: 0.5833 MB / 1.118 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0008705/0.7904, allocations: 1.021 MB / 1.119 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006924/0.7911, allocations: 0.5633 MB / 1.12 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003573/0.7915, allocations: 284.5 kB / 1.12 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003391/0.7918, allocations: 304.7 kB / 1.121 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.462e-05/0.7919, allocations: 19.44 kB / 1.121 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005605/0.7925, allocations: 274.3 kB / 1.121 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.7927, allocations: 163.2 kB / 1.121 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000329/0.793, allocations: 381.1 kB / 1.121 GB, free: 17.51 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008959/0.7939, allocations: 1.028 MB / 1.122 GB, free: 17.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7939, allocations: 4 kB / 1.122 GB, free: 17.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7939, allocations: 0 / 1.122 GB, free: 17.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.7939, allocations: 0 / 1.122 GB, free: 17.42 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.001684/0.7956, allocations: 1.089 MB / 1.123 GB, free: 16.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.7957, allocations: 6.406 kB / 1.123 GB, free: 16.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008082/0.7965, allocations: 183 kB / 1.124 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008997/0.7974, allocations: 0.6977 MB / 1.124 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.067e-05/0.7975, allocations: 56.56 kB / 1.124 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.7976, allocations: 74.06 kB / 1.124 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.799, allocations: 0.8434 MB / 1.125 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.799, allocations: 0 / 1.125 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.526e-05/0.7991, allocations: 34.05 kB / 1.125 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.7991, allocations: 19.31 kB / 1.125 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.8007, allocations: 1.053 MB / 1.126 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003477/0.8042, allocations: 2.396 MB / 1.129 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.8055, allocations: 0.7197 MB / 1.129 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000439/0.8059, allocations: 278.1 kB / 1.13 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.968e-05/0.806, allocations: 34.31 kB / 1.13 GB, free: 15.28 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006617/0.8067, allocations: 432.9 kB / 1.13 GB, free: 15.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 2.605e-06/0.8067, allocations: 1.859 kB / 1.13 GB, free: 15.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.002626/0.8093, allocations: 1.084 MB / 1.131 GB, free: 15 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.8094, allocations: 193 kB / 1.131 GB, free: 14.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008641/0.8103, allocations: 0.5611 MB / 1.132 GB, free: 14.65 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.523e-05/0.8104, allocations: 39.89 kB / 1.132 GB, free: 14.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.8107, allocations: 362.3 kB / 1.132 GB, free: 14.44 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/0.8109, allocations: 229.6 kB / 1.132 GB, free: 14.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.811, allocations: 14.47 kB / 1.132 GB, free: 14.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002128/0.8112, allocations: 376.4 kB / 1.133 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004813/0.8117, allocations: 237.5 kB / 1.133 GB, free: 13.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/0.8123, allocations: 331.3 kB / 1.133 GB, free: 13.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.8133, allocations: 0.5581 MB / 1.134 GB, free: 13.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.8133, allocations: 0 / 1.134 GB, free: 13.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001882/0.8152, allocations: 0.7674 MB / 1.135 GB, free: 13.78 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.8153, allocations: 9.031 kB / 1.135 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.8153, allocations: 1 kB / 1.135 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/0.8159, allocations: 86.61 kB / 1.135 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006432/0.8165, allocations: 145.7 kB / 1.135 GB, free: 13.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.8186, allocations: 1.527 MB / 1.136 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006624/0.8193, allocations: 92.55 kB / 1.136 GB, free: 12.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.408e-05/0.8193, allocations: 35.97 kB / 1.136 GB, free: 12.33 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.0004431/0.8198, allocations: 251.5 kB / 1.137 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.8199, allocations: 78.11 kB / 1.137 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/0.8221, allocations: 0.9894 MB / 1.138 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.8221, allocations: 7.922 kB / 1.138 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.8221, allocations: 0.8438 kB / 1.138 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003541/0.8225, allocations: 263.9 kB / 1.138 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.567e-05/0.8226, allocations: 14.84 kB / 1.138 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004951/0.8231, allocations: 73.86 kB / 1.138 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.8232, allocations: 55.17 kB / 1.138 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001711/0.825, allocations: 0.8734 MB / 1.139 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001927/0.8269, allocations: 1.273 MB / 1.14 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005401/0.8274, allocations: 312.7 kB / 1.141 GB, free: 10.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006229/0.8281, allocations: 420.6 kB / 1.141 GB, free: 10.75 MB / 0.698 GB Notification: Performance of Backend: time 7.11e-07/0.8281, allocations: 1.859 kB / 1.141 GB, free: 10.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003027/0.8311, allocations: 1.124 MB / 1.142 GB, free: 10.3 MB / 0.698 GB Notification: Performance of SimCode: time 0.003613/0.8348, allocations: 2.217 MB / 1.144 GB, free: 8.773 MB / 0.698 GB Notification: Performance of Templates: time 0.02562/0.8604, allocations: 13.62 MB / 1.158 GB, free: 1.949 MB / 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)