Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.601/1.601, allocations: 287.5 MB / 302.6 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009239/0.0009238, allocations: 178.3 kB / 371.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007102/0.0007105, allocations: 99.66 kB / 0.7432 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003865, allocations: 10.67 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.192, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.003426/0.1955, allocations: 3.51 MB / 0.9821 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5344/0.73, allocations: 136.4 MB / 1.115 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005288/0.7305, allocations: 14.41 kB / 1.115 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004473/0.731, allocations: 128.8 kB / 1.115 GB, free: 1.609 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0/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 8.0.0/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 8.0.0/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.001149/0.7322, allocations: 352.2 kB / 1.116 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.734, allocations: 0.5851 MB / 1.116 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00118/0.7351, allocations: 1.023 MB / 1.117 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007584/0.7359, allocations: 0.56 MB / 1.118 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004514/0.7364, allocations: 289.1 kB / 1.118 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000393/0.7368, allocations: 305.2 kB / 1.118 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.104e-05/0.7369, allocations: 21.09 kB / 1.119 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007358/0.7376, allocations: 260.9 kB / 1.119 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.7378, allocations: 158.2 kB / 1.119 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.738, allocations: 172.8 kB / 1.119 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.7392, allocations: 1.028 MB / 1.12 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.7392, allocations: 0 / 1.12 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7392, allocations: 5.859 kB / 1.12 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.586e-05/0.7393, allocations: 0 / 1.12 GB, free: 0.8164 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.001791/0.7411, allocations: 1.091 MB / 1.121 GB, free: 16.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.7411, allocations: 7.969 kB / 1.121 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008084/0.7419, allocations: 180.6 kB / 1.121 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009042/0.7428, allocations: 0.6984 MB / 1.122 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.7429, allocations: 56.09 kB / 1.122 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.682e-05/0.743, allocations: 73.5 kB / 1.122 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.7443, allocations: 0.842 MB / 1.123 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.7444, allocations: 4.875 kB / 1.123 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.997e-05/0.7445, allocations: 32.28 kB / 1.123 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.7445, allocations: 19.5 kB / 1.123 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.7459, allocations: 1.049 MB / 1.124 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003346/0.7493, allocations: 2.391 MB / 1.126 GB, free: 14.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.7504, allocations: 0.7226 MB / 1.127 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004619/0.7509, allocations: 278.1 kB / 1.127 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.89e-05/0.751, allocations: 33.11 kB / 1.127 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007509/0.7518, allocations: 428.7 kB / 1.128 GB, free: 14.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 2.775e-06/0.7518, allocations: 0 / 1.128 GB, free: 14.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.002715/0.7545, allocations: 1.086 MB / 1.129 GB, free: 14.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.7546, allocations: 186.6 kB / 1.129 GB, free: 14.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007175/0.7554, allocations: 0.5605 MB / 1.13 GB, free: 14.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.221e-05/0.7554, allocations: 42.92 kB / 1.13 GB, free: 14.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.7557, allocations: 361.7 kB / 1.13 GB, free: 13.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.7559, allocations: 236 kB / 1.13 GB, free: 13.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.7559, allocations: 10.5 kB / 1.13 GB, free: 13.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.7561, allocations: 376.7 kB / 1.131 GB, free: 13.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.7566, allocations: 241.9 kB / 1.131 GB, free: 13.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004867/0.7571, allocations: 329 kB / 1.131 GB, free: 13.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009063/0.758, allocations: 0.5612 MB / 1.132 GB, free: 13.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.758, allocations: 0 / 1.132 GB, free: 13.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001665/0.7597, allocations: 0.7664 MB / 1.132 GB, free: 13.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.7597, allocations: 7.406 kB / 1.132 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.7597, allocations: 7.141 kB / 1.132 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005928/0.7603, allocations: 82.25 kB / 1.132 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/0.7609, allocations: 148.5 kB / 1.133 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.763, allocations: 1.529 MB / 1.134 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006949/0.7637, allocations: 86.41 kB / 1.134 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-05/0.7638, allocations: 37.09 kB / 1.134 GB, free: 11.83 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.000557/0.7644, allocations: 254.3 kB / 1.134 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.7645, allocations: 74.59 kB / 1.135 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/0.767, allocations: 0.9869 MB / 1.136 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.767, allocations: 8.719 kB / 1.136 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.7671, allocations: 6.484 kB / 1.136 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.7671, allocations: 3.438 kB / 1.136 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.7683, allocations: 0.8333 MB / 1.136 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.7683, allocations: 3.938 kB / 1.136 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005624/0.7689, allocations: 133.3 kB / 1.136 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005149/0.7694, allocations: 96.95 kB / 1.137 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.535e-05/0.7695, allocations: 24.84 kB / 1.137 GB, free: 11.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.7713, allocations: 1.557 MB / 1.138 GB, free: 9.969 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7714, allocations: 0 / 1.138 GB, free: 9.969 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.7731, allocations: 0.8371 MB / 1.139 GB, free: 9.816 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004071/0.7735, allocations: 267.1 kB / 1.139 GB, free: 9.672 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.996e-05/0.7736, allocations: 16.84 kB / 1.139 GB, free: 9.672 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005291/0.7742, allocations: 66 kB / 1.139 GB, free: 9.668 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.7743, allocations: 56.67 kB / 1.139 GB, free: 9.664 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.003e-05/0.7744, allocations: 30.8 kB / 1.139 GB, free: 9.664 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005519/0.7749, allocations: 415 kB / 1.14 GB, free: 9.559 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7749, allocations: 0 / 1.14 GB, free: 9.559 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008469/0.7758, allocations: 269.7 kB / 1.14 GB, free: 9.512 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.001211/0.777, allocations: 0.5449 MB / 1.141 GB, free: 9.293 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001552/0.7786, allocations: 0.761 MB / 1.141 GB, free: 9.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7786, allocations: 1.438 kB / 1.141 GB, free: 9.09 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000847/0.7794, allocations: 488 kB / 1.142 GB, free: 8.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.7805, allocations: 251.2 kB / 1.142 GB, free: 8.832 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.7845, allocations: 2.004 MB / 1.144 GB, free: 7.727 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005633/0.7851, allocations: 0.9874 MB / 1.145 GB, free: 6.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009036/0.786, allocations: 248.3 kB / 1.145 GB, free: 6.789 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.7862, allocations: 98.58 kB / 1.145 GB, free: 6.766 MB / 0.698 GB Notification: Performance of SimCode: time 3.4e-07/0.7863, allocations: 5.344 kB / 1.145 GB, free: 6.762 MB / 0.698 GB Notification: Performance of Templates: time 0.022/0.8083, allocations: 12.47 MB / 1.157 GB, free: 0.4922 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)