Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.247/2.247, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001355/0.001354, allocations: 176.8 kB / 326.3 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.467/2.467, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009307/0.0009307, allocations: 98.05 kB / 0.6817 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006882/0.0006883, allocations: 8.812 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2286, allocations: 106.3 MB / 0.8995 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005225/0.2339, allocations: 3.526 MB / 0.9029 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2019/0.4359, allocations: 136.4 MB / 1.036 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006949/0.4367, allocations: 19.88 kB / 1.036 GB, free: 5.094 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005854/0.4373, allocations: 130.9 kB / 1.036 GB, free: 4.965 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1/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 7.0.1/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 7.0.1/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.001647/0.4389, allocations: 338.1 kB / 1.037 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002483/0.4414, allocations: 0.5905 MB / 1.037 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001781/0.4432, allocations: 1.02 MB / 1.038 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.4444, allocations: 0.5575 MB / 1.039 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006588/0.4451, allocations: 278.7 kB / 1.039 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005693/0.4457, allocations: 306.4 kB / 1.039 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.4458, allocations: 20 kB / 1.039 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000908/0.4467, allocations: 267.7 kB / 1.04 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.447, allocations: 155.3 kB / 1.04 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.4472, allocations: 177.2 kB / 1.04 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.4489, allocations: 1.021 MB / 1.041 GB, free: 256 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4489, allocations: 4 kB / 1.041 GB, free: 252 kB / 0.6823 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4489, allocations: 0 / 1.041 GB, free: 252 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.449, allocations: 4 kB / 1.041 GB, free: 248 kB / 0.6823 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.004189/0.4532, allocations: 1.092 MB / 1.042 GB, free: 15.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.945e-05/0.4533, allocations: 8.031 kB / 1.042 GB, free: 15.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002738/0.456, allocations: 195.5 kB / 1.042 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002958/0.459, allocations: 0.6688 MB / 1.043 GB, free: 14.19 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.4592, allocations: 61.98 kB / 1.043 GB, free: 14.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000238/0.4595, allocations: 75.94 kB / 1.043 GB, free: 14.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003671/0.4631, allocations: 0.8403 MB / 1.044 GB, free: 13.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/0.4632, allocations: 3.938 kB / 1.044 GB, free: 13.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/0.4634, allocations: 32 kB / 1.044 GB, free: 13.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/0.4634, allocations: 20 kB / 1.044 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/0.4663, allocations: 1.046 MB / 1.045 GB, free: 12.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00615/0.4725, allocations: 2.383 MB / 1.047 GB, free: 9.613 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/0.4748, allocations: 0.7215 MB / 1.048 GB, free: 8.879 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000841/0.4756, allocations: 274.4 kB / 1.048 GB, free: 8.609 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.4758, allocations: 32.58 kB / 1.048 GB, free: 8.578 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/0.4769, allocations: 429.8 kB / 1.049 GB, free: 8.137 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.997e-06/0.477, allocations: 0 / 1.049 GB, free: 8.137 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.004868/0.4818, allocations: 1.085 MB / 1.05 GB, free: 7.023 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.482, allocations: 184.5 kB / 1.05 GB, free: 6.801 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.4831, allocations: 0.5617 MB / 1.05 GB, free: 6.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.4832, allocations: 37.7 kB / 1.05 GB, free: 6.188 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004102/0.4837, allocations: 360.3 kB / 1.051 GB, free: 5.828 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.484, allocations: 236.6 kB / 1.051 GB, free: 5.594 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.717e-05/0.4841, allocations: 16 kB / 1.051 GB, free: 5.578 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.4843, allocations: 378.8 kB / 1.051 GB, free: 5.199 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008379/0.4851, allocations: 237.8 kB / 1.052 GB, free: 4.969 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009827/0.4861, allocations: 334.8 kB / 1.052 GB, free: 4.629 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009248/0.4871, allocations: 275.1 kB / 1.052 GB, free: 4.359 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4871, allocations: 0 / 1.052 GB, free: 4.359 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00308/0.4902, allocations: 0.7743 MB / 1.053 GB, free: 3.574 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.4902, allocations: 4 kB / 1.053 GB, free: 3.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.4903, allocations: 4 kB / 1.053 GB, free: 3.566 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000983/0.4912, allocations: 84.86 kB / 1.053 GB, free: 3.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.4925, allocations: 147.8 kB / 1.053 GB, free: 3.336 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003022/0.4955, allocations: 1.538 MB / 1.055 GB, free: 1.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.4967, allocations: 83.5 kB / 1.055 GB, free: 1.578 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.893e-05/0.4968, allocations: 31.97 kB / 1.055 GB, free: 1.547 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.0006229/0.4975, allocations: 254.7 kB / 1.055 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.4977, allocations: 79.14 kB / 1.055 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003767/0.5014, allocations: 0.9934 MB / 1.056 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.5015, allocations: 4.078 kB / 1.056 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.5015, allocations: 4 kB / 1.056 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.5677/1.069, allocations: 266.8 kB / 1.056 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002611/1.07, allocations: 17.62 kB / 1.056 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.071, allocations: 67.98 kB / 1.056 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/1.071, allocations: 57.27 kB / 1.056 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003064/1.074, allocations: 0.8735 MB / 1.057 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003058/1.077, allocations: 1.272 MB / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008612/1.078, allocations: 322.1 kB / 1.059 GB, free: 155.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000727/1.079, allocations: 413 kB / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of Backend: time 7.32e-07/1.079, allocations: 2.594 kB / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003958/1.083, allocations: 1.117 MB / 1.06 GB, free: 155.5 MB / 0.698 GB Notification: Performance of SimCode: time 0.004152/1.087, allocations: 2.211 MB / 1.062 GB, free: 154.2 MB / 0.698 GB Notification: Performance of Templates: time 0.04165/1.129, allocations: 13.47 MB / 1.076 GB, free: 150.4 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)