Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.233/2.233, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.001455/0.001454, allocations: 182.1 kB / 326.3 MB, free: 2.859 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.558/2.558, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.001443/0.001443, allocations: 94.3 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008089/0.0008091, allocations: 12.03 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2608, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005428/0.2663, allocations: 3.545 MB / 0.903 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2056/0.472, allocations: 136.4 MB / 1.036 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007897/0.4728, allocations: 19.88 kB / 1.036 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006514/0.4735, allocations: 119 kB / 1.036 GB, free: 5 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.001829/0.4753, allocations: 354 kB / 1.037 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002661/0.478, allocations: 0.6006 MB / 1.037 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002043/0.4801, allocations: 1.039 MB / 1.038 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.4814, allocations: 0.5459 MB / 1.039 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007981/0.4822, allocations: 298.6 kB / 1.039 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006932/0.4829, allocations: 315.9 kB / 1.039 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.483, allocations: 20 kB / 1.039 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009656/0.484, allocations: 263.7 kB / 1.04 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.4843, allocations: 159.3 kB / 1.04 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003015/0.4846, allocations: 185.1 kB / 1.04 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.4866, allocations: 1.006 MB / 1.041 GB, free: 240 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4866, allocations: 0 / 1.041 GB, free: 240 kB / 0.6823 GB Notification: Performance of FrontEnd: time 2.755e-06/0.4867, allocations: 0 / 1.041 GB, free: 240 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.565e-05/0.4867, allocations: 0 / 1.041 GB, free: 240 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.003164/0.4899, allocations: 1.108 MB / 1.042 GB, free: 15.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.4899, allocations: 8.031 kB / 1.042 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.4914, allocations: 183.6 kB / 1.042 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.4932, allocations: 0.6803 MB / 1.043 GB, free: 14.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.223e-05/0.4933, allocations: 61.98 kB / 1.043 GB, free: 14.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.4935, allocations: 72 kB / 1.043 GB, free: 14.03 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.496, allocations: 0.8481 MB / 1.044 GB, free: 13.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.4961, allocations: 0 / 1.044 GB, free: 13.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.4962, allocations: 32 kB / 1.044 GB, free: 13.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.4963, allocations: 20 kB / 1.044 GB, free: 13.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003101/0.4994, allocations: 1.057 MB / 1.045 GB, free: 12.03 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00679/0.5062, allocations: 2.365 MB / 1.047 GB, free: 9.598 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/0.5087, allocations: 0.8017 MB / 1.048 GB, free: 8.766 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009041/0.5096, allocations: 274.4 kB / 1.048 GB, free: 8.496 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.5098, allocations: 28.55 kB / 1.048 GB, free: 8.469 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001392/0.5112, allocations: 435.2 kB / 1.049 GB, free: 8.023 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 4.458e-06/0.5112, allocations: 0 / 1.049 GB, free: 8.023 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.005071/0.5163, allocations: 1.084 MB / 1.05 GB, free: 6.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.5165, allocations: 188.6 kB / 1.05 GB, free: 6.684 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.5177, allocations: 0.55 MB / 1.051 GB, free: 6.125 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001556/0.5178, allocations: 49.69 kB / 1.051 GB, free: 6.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/0.5183, allocations: 356.3 kB / 1.051 GB, free: 5.715 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003307/0.5186, allocations: 244.5 kB / 1.051 GB, free: 5.473 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.671e-05/0.5187, allocations: 12 kB / 1.051 GB, free: 5.461 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002261/0.5189, allocations: 374.8 kB / 1.052 GB, free: 5.086 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008527/0.5198, allocations: 237.9 kB / 1.052 GB, free: 4.855 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009656/0.5208, allocations: 326.8 kB / 1.052 GB, free: 4.523 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009481/0.5217, allocations: 291.1 kB / 1.052 GB, free: 4.238 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.5217, allocations: 0 / 1.052 GB, free: 4.238 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003057/0.5248, allocations: 0.7666 MB / 1.053 GB, free: 3.461 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.5249, allocations: 4 kB / 1.053 GB, free: 3.457 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.5249, allocations: 0 / 1.053 GB, free: 3.457 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009802/0.5259, allocations: 88.8 kB / 1.053 GB, free: 3.367 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.5271, allocations: 151.8 kB / 1.053 GB, free: 3.219 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/0.5302, allocations: 1.52 MB / 1.055 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.5315, allocations: 79.47 kB / 1.055 GB, free: 1.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.5317, allocations: 43.91 kB / 1.055 GB, free: 1.438 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.0006449/0.5323, allocations: 246.3 kB / 1.055 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.5325, allocations: 75.09 kB / 1.055 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003989/0.5365, allocations: 1.017 MB / 1.056 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/0.5366, allocations: 7.969 kB / 1.056 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.5366, allocations: 0 / 1.056 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.6225/1.159, allocations: 271.3 kB / 1.056 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/1.159, allocations: 17.7 kB / 1.056 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/1.16, allocations: 68.53 kB / 1.057 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/1.161, allocations: 60.59 kB / 1.057 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003098/1.164, allocations: 0.8848 MB / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003233/1.167, allocations: 1.289 MB / 1.059 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000895/1.168, allocations: 327.5 kB / 1.059 GB, free: 156 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007428/1.169, allocations: 415.7 kB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of Backend: time 7.92e-07/1.169, allocations: 0 / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004065/1.173, allocations: 1.114 MB / 1.061 GB, free: 155.6 MB / 0.698 GB Notification: Performance of SimCode: time 0.004328/1.177, allocations: 2.245 MB / 1.063 GB, free: 154.3 MB / 0.698 GB Notification: Performance of Templates: time 0.04917/1.226, allocations: 13.44 MB / 1.076 GB, free: 150.5 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)