Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.636/1.636, allocations: 288.4 MB / 303.6 MB, free: 8.09 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.001072/0.001072, allocations: 168.6 kB / 372.3 MB, free: 10.16 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.378/1.378, allocations: 205.4 MB / 0.631 GB, free: 9.918 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.0008036/0.0008035, allocations: 101.5 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003687, allocations: 10.69 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.203, allocations: 115.3 MB / 0.9801 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004153/0.2072, allocations: 3.53 MB / 0.9836 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.578/0.7852, allocations: 136.4 MB / 1.117 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008256/0.7861, allocations: 17.66 kB / 1.117 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006875/0.7868, allocations: 128.4 kB / 1.117 GB, free: 2.309 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.001894/0.7888, allocations: 352.1 kB / 1.117 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003099/0.7919, allocations: 0.593 MB / 1.118 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002152/0.794, allocations: 1.024 MB / 1.119 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.7954, allocations: 0.5601 MB / 1.119 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008346/0.7963, allocations: 294.7 kB / 1.12 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005428/0.7968, allocations: 312.1 kB / 1.12 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.797, allocations: 21.44 kB / 1.12 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009706/0.7979, allocations: 279.4 kB / 1.12 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.7982, allocations: 160.1 kB / 1.12 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000477/0.7987, allocations: 389.4 kB / 1.121 GB, free: 17.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.8002, allocations: 1.007 MB / 1.122 GB, free: 17.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8002, allocations: 1.859 kB / 1.122 GB, free: 17.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8002, allocations: 5.156 kB / 1.122 GB, free: 17.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.8002, allocations: 0 / 1.122 GB, free: 17.41 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.00237/0.8026, allocations: 1.097 MB / 1.123 GB, free: 16.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.8027, allocations: 8.406 kB / 1.123 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008047/0.8035, allocations: 185.7 kB / 1.123 GB, free: 16.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000853/0.8043, allocations: 0.7036 MB / 1.124 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.805e-05/0.8044, allocations: 58.34 kB / 1.124 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-05/0.8045, allocations: 75.41 kB / 1.124 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.8058, allocations: 0.8507 MB / 1.125 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.8058, allocations: 4 kB / 1.125 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.841e-05/0.8059, allocations: 34.7 kB / 1.125 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.8059, allocations: 18.22 kB / 1.125 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.8074, allocations: 1.053 MB / 1.126 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003315/0.8107, allocations: 2.391 MB / 1.128 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.8119, allocations: 0.7936 MB / 1.129 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004219/0.8123, allocations: 274.4 kB / 1.129 GB, free: 15.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.088e-05/0.8124, allocations: 30.02 kB / 1.129 GB, free: 15.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006543/0.8131, allocations: 432.7 kB / 1.13 GB, free: 15.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 2.615e-06/0.8131, allocations: 0 / 1.13 GB, free: 15.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.002652/0.8158, allocations: 1.08 MB / 1.131 GB, free: 14.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.8159, allocations: 195 kB / 1.131 GB, free: 14.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007001/0.8166, allocations: 0.5597 MB / 1.131 GB, free: 14.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.931e-05/0.8167, allocations: 38.73 kB / 1.131 GB, free: 14.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.8169, allocations: 356.8 kB / 1.132 GB, free: 14.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.8171, allocations: 242.4 kB / 1.132 GB, free: 14.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.8172, allocations: 14.25 kB / 1.132 GB, free: 14.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.8174, allocations: 374.5 kB / 1.132 GB, free: 13.87 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.8178, allocations: 242.2 kB / 1.133 GB, free: 13.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005058/0.8183, allocations: 320.2 kB / 1.133 GB, free: 13.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009095/0.8193, allocations: 0.5539 MB / 1.133 GB, free: 13.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.8193, allocations: 1.188 kB / 1.133 GB, free: 13.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001645/0.8209, allocations: 0.7777 MB / 1.134 GB, free: 13.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.821, allocations: 6.625 kB / 1.134 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.821, allocations: 0 / 1.134 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005697/0.8216, allocations: 82.44 kB / 1.134 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006217/0.8222, allocations: 152.5 kB / 1.134 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.8242, allocations: 1.518 MB / 1.136 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006941/0.8249, allocations: 87.19 kB / 1.136 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.704e-05/0.825, allocations: 36.19 kB / 1.136 GB, free: 12.21 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.0004689/0.8255, allocations: 256 kB / 1.136 GB, free: 12.08 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.8256, allocations: 69.84 kB / 1.136 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002126/0.8277, allocations: 1.004 MB / 1.137 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.8278, allocations: 9.25 kB / 1.137 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.8278, allocations: 0 / 1.137 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.8278, allocations: 5.141 kB / 1.137 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003288/0.8311, allocations: 1.86 MB / 1.139 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.8311, allocations: 3.938 kB / 1.139 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009574/0.8321, allocations: 147.9 kB / 1.139 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007355/0.8328, allocations: 87.36 kB / 1.139 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.91e-05/0.8329, allocations: 20.55 kB / 1.139 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/0.8355, allocations: 1.556 MB / 1.141 GB, free: 9.566 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8355, allocations: 0 / 1.141 GB, free: 9.566 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/0.8382, allocations: 0.9137 MB / 1.142 GB, free: 9.258 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005249/0.8387, allocations: 264 kB / 1.142 GB, free: 9.074 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.8389, allocations: 20.47 kB / 1.142 GB, free: 9.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008951/0.8398, allocations: 63.16 kB / 1.142 GB, free: 9.055 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.84, allocations: 68.34 kB / 1.142 GB, free: 9.023 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.123e-05/0.8401, allocations: 27.89 kB / 1.142 GB, free: 9.02 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007747/0.8409, allocations: 413.6 kB / 1.143 GB, free: 8.867 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.62e-07/0.8409, allocations: 0 / 1.143 GB, free: 8.867 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001309/0.8422, allocations: 274.9 kB / 1.143 GB, free: 8.812 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.001777/0.844, allocations: 0.5689 MB / 1.143 GB, free: 8.539 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002212/0.8463, allocations: 0.7643 MB / 1.144 GB, free: 8.305 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.8463, allocations: 1.031 kB / 1.144 GB, free: 8.305 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.8476, allocations: 494.8 kB / 1.145 GB, free: 8.129 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.8493, allocations: 243.1 kB / 1.145 GB, free: 8.059 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006071/0.8554, allocations: 2.046 MB / 1.147 GB, free: 6.918 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009945/0.8564, allocations: 0.9955 MB / 1.148 GB, free: 6.102 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001471/0.8579, allocations: 257.3 kB / 1.148 GB, free: 5.973 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003812/0.8583, allocations: 97.98 kB / 1.148 GB, free: 5.949 MB / 0.698 GB Notification: Performance of SimCode: time 7.32e-07/0.8584, allocations: 0 / 1.148 GB, free: 5.949 MB / 0.698 GB Notification: Performance of Templates: time 0.03326/0.8916, allocations: 12.65 MB / 1.161 GB, free: 15.61 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)