Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.258/2.258, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.002318/0.002318, allocations: 183.8 kB / 326.3 MB, free: 2.836 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.353/2.353, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.0008973/0.000897, allocations: 90.36 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006314/0.0006316, allocations: 11.56 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2104, allocations: 106.3 MB / 0.8995 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005381/0.2159, allocations: 3.479 MB / 0.9029 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2105/0.4265, allocations: 136.4 MB / 1.036 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008898/0.4274, allocations: 19.88 kB / 1.036 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007101/0.4281, allocations: 119 kB / 1.036 GB, free: 5.035 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.002019/0.4302, allocations: 342.1 kB / 1.037 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002844/0.433, allocations: 0.5895 MB / 1.037 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002289/0.4354, allocations: 1.004 MB / 1.038 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.4369, allocations: 0.5302 MB / 1.039 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008864/0.4378, allocations: 282.7 kB / 1.039 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007659/0.4386, allocations: 298.4 kB / 1.039 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.4388, allocations: 20 kB / 1.039 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.4399, allocations: 275.7 kB / 1.04 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000273/0.4402, allocations: 155.3 kB / 1.04 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003216/0.4406, allocations: 169.2 kB / 1.04 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002058/0.4426, allocations: 0.9901 MB / 1.041 GB, free: 408 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.4427, allocations: 3.938 kB / 1.041 GB, free: 404 kB / 0.6823 GB Notification: Performance of FrontEnd: time 7.134e-06/0.4427, allocations: 7.984 kB / 1.041 GB, free: 396 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.246e-05/0.4428, allocations: 0 / 1.041 GB, free: 396 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.003288/0.4461, allocations: 1.088 MB / 1.042 GB, free: 15.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.4461, allocations: 8.031 kB / 1.042 GB, free: 15.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.4478, allocations: 187.5 kB / 1.042 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/0.4498, allocations: 0.6687 MB / 1.043 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.993e-05/0.4499, allocations: 58 kB / 1.043 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.4501, allocations: 72 kB / 1.043 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002525/0.4527, allocations: 0.8247 MB / 1.044 GB, free: 13.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/0.4528, allocations: 0 / 1.044 GB, free: 13.35 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.4529, allocations: 32 kB / 1.044 GB, free: 13.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.698e-05/0.4529, allocations: 20 kB / 1.044 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003094/0.4561, allocations: 1.046 MB / 1.045 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006639/0.4627, allocations: 2.332 MB / 1.047 GB, free: 9.848 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/0.4653, allocations: 0.7787 MB / 1.048 GB, free: 9.039 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009036/0.4663, allocations: 266.4 kB / 1.048 GB, free: 8.777 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.4664, allocations: 36.58 kB / 1.048 GB, free: 8.742 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/0.4677, allocations: 413.7 kB / 1.048 GB, free: 8.316 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.767e-06/0.4677, allocations: 0 / 1.048 GB, free: 8.316 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.004994/0.4727, allocations: 1.062 MB / 1.049 GB, free: 7.227 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.4729, allocations: 188.5 kB / 1.05 GB, free: 7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.4741, allocations: 0.5537 MB / 1.05 GB, free: 6.438 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001979/0.4743, allocations: 45.64 kB / 1.05 GB, free: 6.387 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000447/0.4748, allocations: 360.4 kB / 1.051 GB, free: 6.027 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000358/0.4752, allocations: 232.6 kB / 1.051 GB, free: 5.797 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.496e-05/0.4753, allocations: 12 kB / 1.051 GB, free: 5.785 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002256/0.4755, allocations: 374.8 kB / 1.051 GB, free: 5.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.4765, allocations: 233.9 kB / 1.051 GB, free: 5.184 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.4776, allocations: 318.8 kB / 1.052 GB, free: 4.859 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000966/0.4786, allocations: 267.1 kB / 1.052 GB, free: 4.598 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.4786, allocations: 4 kB / 1.052 GB, free: 4.594 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003088/0.4817, allocations: 0.7587 MB / 1.053 GB, free: 3.824 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.4818, allocations: 4 kB / 1.053 GB, free: 3.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.4818, allocations: 0 / 1.053 GB, free: 3.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009965/0.4828, allocations: 84.88 kB / 1.053 GB, free: 3.734 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.4841, allocations: 143.8 kB / 1.053 GB, free: 3.594 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003224/0.4873, allocations: 1.52 MB / 1.054 GB, free: 1.934 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.4886, allocations: 84.52 kB / 1.054 GB, free: 1.852 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.4888, allocations: 32.05 kB / 1.054 GB, free: 1.82 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.0006862/0.4895, allocations: 254.3 kB / 1.055 GB, free: 1.562 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/0.4897, allocations: 71.06 kB / 1.055 GB, free: 1.492 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003869/0.4936, allocations: 0.9664 MB / 1.056 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-05/0.4937, allocations: 7.922 kB / 1.056 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.4937, allocations: 0 / 1.056 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006916/0.4944, allocations: 259.8 kB / 1.056 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/0.4946, allocations: 28 kB / 1.056 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.4956, allocations: 67.88 kB / 1.056 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.4959, allocations: 52.92 kB / 1.056 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.5981/1.094, allocations: 0.8537 MB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003029/1.097, allocations: 1.25 MB / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008077/1.098, allocations: 310.1 kB / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007119/1.099, allocations: 399.6 kB / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of Backend: time 8.61e-07/1.099, allocations: 0 / 1.059 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003895/1.103, allocations: 1.106 MB / 1.06 GB, free: 155.7 MB / 0.698 GB Notification: Performance of SimCode: time 0.003952/1.107, allocations: 2.197 MB / 1.062 GB, free: 154.4 MB / 0.698 GB Notification: Performance of Templates: time 0.04164/1.148, allocations: 13.16 MB / 1.075 GB, free: 150.8 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)