Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.345/1.345, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0009248/0.000925, allocations: 179.7 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205 MB / 0.5766 GB, free: 21.05 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.0007379/0.0007379, allocations: 91.64 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000301/0.0003011, allocations: 12.05 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1765, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.003766/0.1803, allocations: 3.789 MB / 0.9004 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1397/0.3199, allocations: 147.9 MB / 1.045 GB, free: 11.96 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007223/0.3207, allocations: 15.94 kB / 1.045 GB, free: 11.95 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006544/0.3214, allocations: 135 kB / 1.045 GB, free: 11.82 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.001401/0.3228, allocations: 367.2 kB / 1.045 GB, free: 11.46 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.3245, allocations: 0.6613 MB / 1.046 GB, free: 10.8 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001235/0.3258, allocations: 1.074 MB / 1.047 GB, free: 9.723 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008028/0.3266, allocations: 0.5668 MB / 1.048 GB, free: 9.145 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004741/0.3271, allocations: 294.5 kB / 1.048 GB, free: 8.855 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000349/0.3274, allocations: 322.2 kB / 1.048 GB, free: 8.539 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.111e-05/0.3275, allocations: 20 kB / 1.048 GB, free: 8.52 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005935/0.3281, allocations: 287.7 kB / 1.048 GB, free: 8.238 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.3283, allocations: 167.2 kB / 1.049 GB, free: 8.074 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003073/0.3286, allocations: 381.4 kB / 1.049 GB, free: 7.699 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.3298, allocations: 1.289 MB / 1.05 GB, free: 6.406 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3298, allocations: 3.938 kB / 1.05 GB, free: 6.402 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3298, allocations: 0 / 1.05 GB, free: 6.402 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.3298, allocations: 0 / 1.05 GB, free: 6.402 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.00171/0.3315, allocations: 1.081 MB / 1.051 GB, free: 5.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3316, allocations: 11.97 kB / 1.051 GB, free: 5.258 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008299/0.3324, allocations: 187.5 kB / 1.051 GB, free: 5.074 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000898/0.3333, allocations: 0.6956 MB / 1.052 GB, free: 4.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.038e-05/0.3334, allocations: 61.98 kB / 1.052 GB, free: 4.277 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.159e-05/0.3335, allocations: 72 kB / 1.052 GB, free: 4.207 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.3347, allocations: 0.8558 MB / 1.053 GB, free: 3.312 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.3347, allocations: 0 / 1.053 GB, free: 3.312 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/0.3348, allocations: 32 kB / 1.053 GB, free: 3.281 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.3348, allocations: 20 kB / 1.053 GB, free: 3.262 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.3364, allocations: 1.061 MB / 1.054 GB, free: 2.195 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.348/0.6844, allocations: 2.387 MB / 1.057 GB, free: 159.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.6859, allocations: 0.716 MB / 1.057 GB, free: 159.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004301/0.6863, allocations: 282.2 kB / 1.058 GB, free: 159.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-05/0.6864, allocations: 38.64 kB / 1.058 GB, free: 159.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006429/0.687, allocations: 423.4 kB / 1.058 GB, free: 159.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.557e-06/0.6871, allocations: 0 / 1.058 GB, free: 159.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.002703/0.6898, allocations: 1.094 MB / 1.059 GB, free: 159.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.6898, allocations: 191.2 kB / 1.059 GB, free: 159.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005689/0.6904, allocations: 0.5592 MB / 1.06 GB, free: 159.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.829e-05/0.6905, allocations: 38.23 kB / 1.06 GB, free: 159.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.6907, allocations: 365.1 kB / 1.06 GB, free: 159 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.6908, allocations: 235.5 kB / 1.06 GB, free: 158.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.296e-05/0.6909, allocations: 58.2 kB / 1.06 GB, free: 158.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.691, allocations: 376.6 kB / 1.061 GB, free: 158.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004071/0.6914, allocations: 247.1 kB / 1.061 GB, free: 158.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005198/0.692, allocations: 333.5 kB / 1.061 GB, free: 158.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008803/0.6929, allocations: 0.5602 MB / 1.062 GB, free: 158.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6929, allocations: 0 / 1.062 GB, free: 158.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001657/0.6945, allocations: 0.7757 MB / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.6946, allocations: 6.25 kB / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6946, allocations: 0 / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005804/0.6952, allocations: 89.61 kB / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006114/0.6958, allocations: 143 kB / 1.063 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.6976, allocations: 1.528 MB / 1.064 GB, free: 157 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006906/0.6984, allocations: 94.02 kB / 1.064 GB, free: 157 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.682e-05/0.6984, allocations: 35.23 kB / 1.064 GB, free: 157 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004685/0.6989, allocations: 253.3 kB / 1.065 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.6991, allocations: 72.39 kB / 1.065 GB, free: 156.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002609/0.7017, allocations: 0.9974 MB / 1.066 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/0.7017, allocations: 4.266 kB / 1.066 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.7017, allocations: 2.344 kB / 1.066 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004126/0.7022, allocations: 252.1 kB / 1.066 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.7023, allocations: 20.86 kB / 1.066 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005412/0.7028, allocations: 65.88 kB / 1.066 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.703, allocations: 58.33 kB / 1.066 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002138/0.7052, allocations: 0.8729 MB / 1.067 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002423/0.7076, allocations: 1.284 MB / 1.068 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007085/0.7084, allocations: 320.9 kB / 1.069 GB, free: 156.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007431/0.7091, allocations: 418.6 kB / 1.069 GB, free: 156 MB / 0.698 GB Notification: Performance of Backend: time 8.71e-07/0.7091, allocations: 0.7188 kB / 1.069 GB, free: 156 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003098/0.7122, allocations: 1.127 MB / 1.07 GB, free: 155.7 MB / 0.698 GB Notification: Performance of SimCode: time 0.002745/0.715, allocations: 2.274 MB / 1.072 GB, free: 154.3 MB / 0.698 GB Notification: Performance of Templates: time 0.02453/0.7395, allocations: 13.81 MB / 1.086 GB, free: 148.5 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)