Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.881/1.881, allocations: 288.4 MB / 304.3 MB, free: 8.137 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.001255/0.001255, allocations: 186.2 kB / 372.9 MB, free: 10.16 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.484/1.484, allocations: 205.4 MB / 0.6316 GB, free: 9.93 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.001039/0.001039, allocations: 84.77 kB / 0.745 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.0004059, allocations: 12.06 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2156, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.003488/0.2192, allocations: 3.53 MB / 0.9842 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6961/0.9153, allocations: 136.4 MB / 1.117 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006833/0.9161, allocations: 18.72 kB / 1.117 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004565/0.9165, allocations: 127 kB / 1.118 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.001368/0.9179, allocations: 351.4 kB / 1.118 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.9199, allocations: 0.591 MB / 1.118 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001183/0.9211, allocations: 1.029 MB / 1.119 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007436/0.9218, allocations: 0.5652 MB / 1.12 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005898/0.9224, allocations: 286.8 kB / 1.12 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004224/0.9229, allocations: 313.1 kB / 1.121 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.642e-05/0.923, allocations: 21.88 kB / 1.121 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007806/0.9237, allocations: 278.7 kB / 1.121 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.9239, allocations: 163 kB / 1.121 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004007/0.9243, allocations: 383.2 kB / 1.121 GB, free: 17.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.9254, allocations: 1.017 MB / 1.122 GB, free: 17.44 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.9254, allocations: 0 / 1.122 GB, free: 17.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9254, allocations: 1.75 kB / 1.122 GB, free: 17.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.9254, 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.001734/0.9272, allocations: 1.096 MB / 1.123 GB, free: 16.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.9272, allocations: 8.75 kB / 1.123 GB, free: 16.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008458/0.9281, allocations: 187.9 kB / 1.124 GB, free: 16.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008569/0.9289, allocations: 0.7013 MB / 1.124 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/0.929, allocations: 56.75 kB / 1.124 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.579e-05/0.9291, allocations: 78.75 kB / 1.124 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.9303, allocations: 0.8432 MB / 1.125 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.9304, allocations: 0 / 1.125 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.515e-05/0.9304, allocations: 34 kB / 1.125 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.9305, allocations: 20.77 kB / 1.125 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.932, allocations: 1.061 MB / 1.126 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003898/0.936, allocations: 2.371 MB / 1.129 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.9374, allocations: 0.7921 MB / 1.129 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000514/0.938, allocations: 296.9 kB / 1.13 GB, free: 15.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.838e-05/0.9381, allocations: 32.11 kB / 1.13 GB, free: 15.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007917/0.9389, allocations: 421.1 kB / 1.13 GB, free: 15.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 2.715e-06/0.9389, allocations: 0 / 1.13 GB, free: 15.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.003255/0.9421, allocations: 1.083 MB / 1.131 GB, free: 14.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.9423, allocations: 194.2 kB / 1.131 GB, free: 14.69 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008212/0.9431, allocations: 0.5589 MB / 1.132 GB, free: 14.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.319e-05/0.9432, allocations: 37.95 kB / 1.132 GB, free: 14.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003568/0.9435, allocations: 360 kB / 1.132 GB, free: 14.37 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/0.9438, allocations: 238.8 kB / 1.133 GB, free: 14.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.9439, allocations: 14.12 kB / 1.133 GB, free: 14.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.9441, allocations: 382.1 kB / 1.133 GB, free: 13.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000511/0.9446, allocations: 238.7 kB / 1.133 GB, free: 13.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006259/0.9452, allocations: 324.6 kB / 1.133 GB, free: 13.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.9464, allocations: 0.5551 MB / 1.134 GB, free: 13.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.9464, allocations: 5.188 kB / 1.134 GB, free: 13.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002027/0.9485, allocations: 0.7698 MB / 1.135 GB, free: 13.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.9485, allocations: 5.438 kB / 1.135 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.9485, allocations: 0.9688 kB / 1.135 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006197/0.9491, allocations: 85.61 kB / 1.135 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006745/0.9498, allocations: 149.4 kB / 1.135 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.952, allocations: 1.518 MB / 1.137 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007603/0.9528, allocations: 90.3 kB / 1.137 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.945e-05/0.9529, allocations: 30.89 kB / 1.137 GB, free: 12.24 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 (83): * Single equations (assignments): 82 * 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.0005655/0.9535, allocations: 257.9 kB / 1.137 GB, free: 12.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.9536, allocations: 74.36 kB / 1.137 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.9559, allocations: 1.005 MB / 1.138 GB, free: 11.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.9559, allocations: 7.984 kB / 1.138 GB, free: 11.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.956, allocations: 0 / 1.138 GB, free: 11.76 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003965/0.9564, allocations: 268.2 kB / 1.138 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.9565, allocations: 21.64 kB / 1.138 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005235/0.957, allocations: 66.17 kB / 1.138 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.9572, allocations: 62.06 kB / 1.138 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001951/0.9591, allocations: 0.8849 MB / 1.139 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002085/0.9612, allocations: 1.29 MB / 1.14 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006044/0.9618, allocations: 324.4 kB / 1.141 GB, free: 10.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006579/0.9625, allocations: 419.1 kB / 1.141 GB, free: 10.64 MB / 0.698 GB Notification: Performance of Backend: time 9.72e-07/0.9625, allocations: 0 / 1.141 GB, free: 10.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003265/0.9658, allocations: 1.129 MB / 1.142 GB, free: 10.17 MB / 0.698 GB Notification: Performance of SimCode: time 0.003367/0.9692, allocations: 2.243 MB / 1.144 GB, free: 8.625 MB / 0.698 GB Notification: Performance of Templates: time 0.02825/0.9974, allocations: 13.61 MB / 1.158 GB, free: 1.789 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)