Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.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.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.286/2.286, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.001317/0.001317, allocations: 175.7 kB / 325.8 MB, free: 2.793 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.676/2.676, allocations: 205.4 MB / 0.5767 GB, free: 20.75 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.0009494/0.0009494, allocations: 91.23 kB / 0.6812 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006626/0.0006629, allocations: 11.44 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2637, allocations: 106.2 MB / 0.899 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007994/0.2717, allocations: 3.521 MB / 0.9025 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.285/0.5568, allocations: 136.4 MB / 1.036 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.5579, allocations: 23.88 kB / 1.036 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008363/0.5587, allocations: 127 kB / 1.036 GB, free: 4.926 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.002391/0.5611, allocations: 344.8 kB / 1.036 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003748/0.5649, allocations: 0.5883 MB / 1.037 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002723/0.5677, allocations: 1.02 MB / 1.038 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001743/0.5694, allocations: 0.5498 MB / 1.038 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.5705, allocations: 290.7 kB / 1.039 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008609/0.5714, allocations: 306.4 kB / 1.039 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001613/0.5716, allocations: 23.94 kB / 1.039 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.573, allocations: 267.7 kB / 1.039 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003763/0.5734, allocations: 155.3 kB / 1.039 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005291/0.5739, allocations: 177.2 kB / 1.039 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002777/0.5767, allocations: 1.017 MB / 1.04 GB, free: 208 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.5768, allocations: 0 / 1.04 GB, free: 208 kB / 0.6823 GB Notification: Performance of FrontEnd: time 1.097e-05/0.5768, allocations: 4 kB / 1.04 GB, free: 204 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.053e-05/0.5769, allocations: 3.938 kB / 1.04 GB, free: 200 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.004403/0.5813, allocations: 1.094 MB / 1.042 GB, free: 15.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/0.5814, allocations: 8.031 kB / 1.042 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/0.5836, allocations: 187.5 kB / 1.042 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002497/0.5861, allocations: 0.6766 MB / 1.042 GB, free: 14.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.5863, allocations: 58 kB / 1.042 GB, free: 14.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002753/0.5866, allocations: 72 kB / 1.042 GB, free: 14.01 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003583/0.5902, allocations: 0.8364 MB / 1.043 GB, free: 13.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.606e-05/0.5903, allocations: 7.938 kB / 1.043 GB, free: 13.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001965/0.5905, allocations: 32 kB / 1.043 GB, free: 13.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.5905, allocations: 20 kB / 1.043 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004354/0.5949, allocations: 1.05 MB / 1.044 GB, free: 12.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009/0.604, allocations: 2.385 MB / 1.047 GB, free: 9.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003381/0.6074, allocations: 0.7235 MB / 1.047 GB, free: 8.836 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.6088, allocations: 274.4 kB / 1.048 GB, free: 8.566 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/0.609, allocations: 32.58 kB / 1.048 GB, free: 8.535 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001825/0.6108, allocations: 437.7 kB / 1.048 GB, free: 8.086 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 6.913e-06/0.6109, allocations: 0 / 1.048 GB, free: 8.086 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.007448/0.6183, allocations: 1.086 MB / 1.049 GB, free: 6.973 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/0.6186, allocations: 184.5 kB / 1.049 GB, free: 6.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.6202, allocations: 0.5616 MB / 1.05 GB, free: 6.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002249/0.6205, allocations: 41.7 kB / 1.05 GB, free: 6.133 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005762/0.6211, allocations: 356.4 kB / 1.05 GB, free: 5.777 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004696/0.6216, allocations: 236.6 kB / 1.051 GB, free: 5.543 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.282e-05/0.6217, allocations: 12 kB / 1.051 GB, free: 5.531 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003114/0.622, allocations: 378.8 kB / 1.051 GB, free: 5.152 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.6234, allocations: 241.8 kB / 1.051 GB, free: 4.918 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.6249, allocations: 330.8 kB / 1.051 GB, free: 4.582 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.6264, allocations: 279.1 kB / 1.052 GB, free: 4.309 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/0.6265, allocations: 0 / 1.052 GB, free: 4.309 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.004649/0.6312, allocations: 0.7743 MB / 1.052 GB, free: 3.523 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/0.6312, allocations: 4 kB / 1.052 GB, free: 3.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.6313, allocations: 7.984 kB / 1.052 GB, free: 3.512 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001422/0.6327, allocations: 84.86 kB / 1.053 GB, free: 3.426 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.6346, allocations: 147.8 kB / 1.053 GB, free: 3.281 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004377/0.6391, allocations: 1.524 MB / 1.054 GB, free: 1.617 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/0.6411, allocations: 79.5 kB / 1.054 GB, free: 1.539 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000257/0.6414, allocations: 39.91 kB / 1.054 GB, free: 1.5 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.001056/0.6424, allocations: 250.3 kB / 1.055 GB, free: 1.246 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003568/0.6428, allocations: 71.16 kB / 1.055 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005819/0.6487, allocations: 1.001 MB / 1.056 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.228e-05/0.6488, allocations: 8 kB / 1.056 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.6488, allocations: 0 / 1.056 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.18e-05/0.6488, allocations: 7.984 kB / 1.056 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6927/1.342, allocations: 0.8282 MB / 1.056 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.903e-05/1.342, allocations: 0.625 kB / 1.056 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001827/1.343, allocations: 135.4 kB / 1.057 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/1.345, allocations: 85.59 kB / 1.057 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/1.345, allocations: 24.3 kB / 1.057 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002517/1.347, allocations: 1.562 MB / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.348, allocations: 0.8438 kB / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002989/1.351, allocations: 0.8351 MB / 1.059 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006415/1.351, allocations: 268.7 kB / 1.059 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/1.351, allocations: 18 kB / 1.059 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/1.352, allocations: 65.58 kB / 1.059 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001937/1.353, allocations: 59.38 kB / 1.059 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-05/1.353, allocations: 30.52 kB / 1.059 GB, free: 154.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007781/1.354, allocations: 421.7 kB / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.354, allocations: 0 / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00123/1.355, allocations: 260.3 kB / 1.06 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.001672/1.357, allocations: 0.5619 MB / 1.061 GB, free: 154.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002615/1.359, allocations: 0.7508 MB / 1.061 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.359, allocations: 5.672 kB / 1.061 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001399/1.361, allocations: 491.1 kB / 1.062 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.002109/1.363, allocations: 257.3 kB / 1.062 GB, free: 154.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006267/1.369, allocations: 2.002 MB / 1.064 GB, free: 153.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006765/1.37, allocations: 0.9935 MB / 1.065 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001442/1.371, allocations: 243 kB / 1.065 GB, free: 152.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004148/1.372, allocations: 99.03 kB / 1.065 GB, free: 152.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.512e-06/1.372, allocations: 0 / 1.065 GB, free: 152.4 MB / 0.698 GB Notification: Performance of Templates: time 0.03872/1.41, allocations: 12.46 MB / 1.077 GB, free: 148.6 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)