Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.334/2.334, allocations: 251.3 MB / 266.2 MB, free: 11.51 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001288/0.001288, allocations: 175.1 kB / 325.8 MB, free: 2.77 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.404/2.404, allocations: 205.4 MB / 0.5767 GB, free: 21.1 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001351/0.001351, allocations: 102.9 kB / 0.6813 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006571/0.0006574, allocations: 14.88 kB / 0.7953 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2141, allocations: 106.3 MB / 0.899 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005538/0.2197, allocations: 3.541 MB / 0.9025 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.21/0.4298, allocations: 136.4 MB / 1.036 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008434/0.4307, allocations: 19.88 kB / 1.036 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006278/0.4313, allocations: 131 kB / 1.036 GB, free: 5.348 MB / 0.6823 GB [/var/lib/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‘. [/var/lib/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‘. [/var/lib/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‘. [/var/lib/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.002004/0.4334, allocations: 340.2 kB / 1.036 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.4362, allocations: 0.6012 MB / 1.037 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002125/0.4383, allocations: 1.028 MB / 1.038 GB, free: 3.387 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.4397, allocations: 0.5498 MB / 1.038 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008264/0.4405, allocations: 290.7 kB / 1.039 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006232/0.4412, allocations: 318.3 kB / 1.039 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.4413, allocations: 23.94 kB / 1.039 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009754/0.4423, allocations: 267.8 kB / 1.039 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002492/0.4426, allocations: 155.3 kB / 1.039 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.4429, allocations: 181.1 kB / 1.04 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001877/0.4447, allocations: 1.009 MB / 1.041 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.4448, allocations: 0 / 1.041 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.999e-06/0.4448, allocations: 4 kB / 1.041 GB, free: 0.5977 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.415e-05/0.4449, allocations: 3.938 kB / 1.041 GB, free: 0.5938 MB / 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.003375/0.4483, allocations: 1.104 MB / 1.042 GB, free: 15.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.4483, allocations: 12.03 kB / 1.042 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.4499, allocations: 179.6 kB / 1.042 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.4517, allocations: 0.6842 MB / 1.042 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-05/0.4518, allocations: 58 kB / 1.043 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.452, allocations: 80 kB / 1.043 GB, free: 14.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002502/0.4546, allocations: 0.8403 MB / 1.043 GB, free: 13.51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.4546, allocations: 0 / 1.043 GB, free: 13.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.4548, allocations: 32 kB / 1.043 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/0.4548, allocations: 20 kB / 1.043 GB, free: 13.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00298/0.4578, allocations: 1.061 MB / 1.044 GB, free: 12.39 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006607/0.4645, allocations: 2.363 MB / 1.047 GB, free: 9.957 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002366/0.4669, allocations: 0.7947 MB / 1.048 GB, free: 9.133 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008902/0.4678, allocations: 282.4 kB / 1.048 GB, free: 8.855 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.468, allocations: 28.59 kB / 1.048 GB, free: 8.828 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001254/0.4692, allocations: 435.2 kB / 1.048 GB, free: 8.383 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 3.346e-06/0.4693, allocations: 0 / 1.048 GB, free: 8.383 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.004943/0.4742, allocations: 1.08 MB / 1.049 GB, free: 7.273 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.4744, allocations: 188.6 kB / 1.05 GB, free: 7.047 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.4756, allocations: 0.5617 MB / 1.05 GB, free: 6.477 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001422/0.4758, allocations: 37.7 kB / 1.05 GB, free: 6.434 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004365/0.4762, allocations: 364.3 kB / 1.05 GB, free: 6.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003138/0.4765, allocations: 240.5 kB / 1.051 GB, free: 5.832 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-05/0.4766, allocations: 12 kB / 1.051 GB, free: 5.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002279/0.4769, allocations: 374.8 kB / 1.051 GB, free: 5.445 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008602/0.4777, allocations: 237.9 kB / 1.051 GB, free: 5.215 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009958/0.4787, allocations: 330.8 kB / 1.052 GB, free: 4.879 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009571/0.4797, allocations: 275.1 kB / 1.052 GB, free: 4.609 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.4797, allocations: 0 / 1.052 GB, free: 4.609 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003168/0.4829, allocations: 0.7705 MB / 1.053 GB, free: 3.828 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.483, allocations: 8 kB / 1.053 GB, free: 3.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.483, allocations: 0 / 1.053 GB, free: 3.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009908/0.484, allocations: 84.86 kB / 1.053 GB, free: 3.734 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.4853, allocations: 155.7 kB / 1.053 GB, free: 3.582 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003156/0.4885, allocations: 1.516 MB / 1.054 GB, free: 1.926 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.4898, allocations: 83.36 kB / 1.054 GB, free: 1.844 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.4899, allocations: 35.97 kB / 1.054 GB, free: 1.809 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.0006699/0.4906, allocations: 250.4 kB / 1.055 GB, free: 1.555 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.4908, allocations: 71.34 kB / 1.055 GB, free: 1.484 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004002/0.4948, allocations: 1.025 MB / 1.056 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.4949, allocations: 8 kB / 1.056 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4949, allocations: 3.938 kB / 1.056 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.4949, allocations: 7.984 kB / 1.056 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6163/1.111, allocations: 1.842 MB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/1.111, allocations: 0.8438 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/1.112, allocations: 146.7 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008645/1.113, allocations: 91.67 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.803e-05/1.113, allocations: 20.89 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/1.116, allocations: 1.542 MB / 1.059 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.116, allocations: 7.406 kB / 1.059 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003095/1.119, allocations: 0.9118 MB / 1.06 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006581/1.12, allocations: 266.7 kB / 1.06 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/1.12, allocations: 22.19 kB / 1.06 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/1.121, allocations: 69.77 kB / 1.061 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000206/1.121, allocations: 57.8 kB / 1.061 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.843e-05/1.122, allocations: 33.84 kB / 1.061 GB, free: 154.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007903/1.122, allocations: 413.9 kB / 1.061 GB, free: 154.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.21e-07/1.122, allocations: 0 / 1.061 GB, free: 154.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001256/1.124, allocations: 267.6 kB / 1.061 GB, free: 154.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001714/1.125, allocations: 0.5588 MB / 1.062 GB, free: 154.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002655/1.128, allocations: 0.7599 MB / 1.063 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.128, allocations: 2.938 kB / 1.063 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001447/1.13, allocations: 494.6 kB / 1.063 GB, free: 154.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/1.132, allocations: 256.8 kB / 1.063 GB, free: 154.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006781/1.139, allocations: 2.045 MB / 1.065 GB, free: 153.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008125/1.14, allocations: 0.9934 MB / 1.066 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001599/1.141, allocations: 256.1 kB / 1.067 GB, free: 152.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00053/1.142, allocations: 100.1 kB / 1.067 GB, free: 152.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.283e-06/1.142, allocations: 1.156 kB / 1.067 GB, free: 152.4 MB / 0.698 GB Notification: Performance of Templates: time 0.03868/1.18, allocations: 12.47 MB / 1.079 GB, free: 148.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)