Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.634/1.634, allocations: 287.5 MB / 302.6 MB, free: 8.273 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.001513/0.001513, allocations: 180.5 kB / 371.2 MB, free: 10.74 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.51/1.51, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.000878/0.0008786, allocations: 83.22 kB / 0.7432 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004389/0.000439, allocations: 11 kB / 0.8661 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2524, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004567/0.2571, allocations: 3.472 MB / 0.9821 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7591/1.016, allocations: 136.4 MB / 1.115 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008475/1.017, allocations: 18.28 kB / 1.115 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005649/1.018, allocations: 121.3 kB / 1.115 GB, free: 1.613 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.0016/1.019, allocations: 344.5 kB / 1.116 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003074/1.022, allocations: 0.5845 MB / 1.116 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001747/1.024, allocations: 1.005 MB / 1.117 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/1.025, allocations: 0.5519 MB / 1.118 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005266/1.026, allocations: 280.1 kB / 1.118 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004615/1.026, allocations: 302 kB / 1.118 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.267e-05/1.026, allocations: 21.16 kB / 1.118 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008147/1.027, allocations: 260.8 kB / 1.119 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002271/1.027, allocations: 157.9 kB / 1.119 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002412/1.028, allocations: 171.4 kB / 1.119 GB, free: 16.92 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/1.029, allocations: 0.9947 MB / 1.12 GB, free: 16.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/1.029, allocations: 1.562 kB / 1.12 GB, free: 16.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.364e-06/1.029, allocations: 0 / 1.12 GB, free: 16.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.186e-05/1.029, allocations: 0 / 1.12 GB, free: 16.84 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.001925/1.031, allocations: 1.085 MB / 1.121 GB, free: 16.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/1.031, allocations: 8.5 kB / 1.121 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000799/1.032, allocations: 187 kB / 1.121 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009625/1.033, allocations: 0.6948 MB / 1.122 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.117e-05/1.033, allocations: 56.84 kB / 1.122 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.469e-05/1.033, allocations: 74.31 kB / 1.122 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/1.035, allocations: 0.8265 MB / 1.123 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/1.035, allocations: 5.688 kB / 1.123 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-05/1.035, allocations: 32.34 kB / 1.123 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/1.035, allocations: 21.03 kB / 1.123 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/1.036, allocations: 1.039 MB / 1.124 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003547/1.04, allocations: 2.331 MB / 1.126 GB, free: 14.78 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/1.041, allocations: 0.7733 MB / 1.127 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004874/1.042, allocations: 272.2 kB / 1.127 GB, free: 14.63 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.412e-05/1.042, allocations: 33.98 kB / 1.127 GB, free: 14.63 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000756/1.042, allocations: 416.8 kB / 1.128 GB, free: 14.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.297e-06/1.042, allocations: 0 / 1.128 GB, free: 14.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.002746/1.045, allocations: 1.057 MB / 1.129 GB, free: 14.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/1.045, allocations: 194.5 kB / 1.129 GB, free: 14.13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006878/1.046, allocations: 0.5527 MB / 1.129 GB, free: 14.01 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.884e-05/1.046, allocations: 42.02 kB / 1.129 GB, free: 13.97 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/1.046, allocations: 358.1 kB / 1.13 GB, free: 13.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/1.047, allocations: 230.2 kB / 1.13 GB, free: 13.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/1.047, allocations: 13.06 kB / 1.13 GB, free: 13.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001925/1.047, allocations: 376.5 kB / 1.13 GB, free: 13.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/1.047, allocations: 231.6 kB / 1.131 GB, free: 13.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005113/1.048, allocations: 322.5 kB / 1.131 GB, free: 13.28 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009407/1.049, allocations: 0.5409 MB / 1.131 GB, free: 13.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.049, allocations: 0 / 1.131 GB, free: 13.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001659/1.05, allocations: 0.7555 MB / 1.132 GB, free: 13.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/1.05, allocations: 7.438 kB / 1.132 GB, free: 13.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.05, allocations: 5.438 kB / 1.132 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005947/1.051, allocations: 78.84 kB / 1.132 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000593/1.052, allocations: 148 kB / 1.132 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/1.054, allocations: 1.526 MB / 1.134 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006216/1.054, allocations: 86.45 kB / 1.134 GB, free: 11.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-05/1.055, allocations: 34.98 kB / 1.134 GB, free: 11.77 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.0004412/1.055, allocations: 256.9 kB / 1.134 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/1.055, allocations: 72.44 kB / 1.134 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002212/1.057, allocations: 0.9545 MB / 1.135 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/1.057, allocations: 12.38 kB / 1.135 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/1.057, allocations: 0 / 1.135 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/1.057, allocations: 5.062 kB / 1.135 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003316/1.061, allocations: 1.782 MB / 1.137 GB, free: 11.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/1.061, allocations: 0.8438 kB / 1.137 GB, free: 11.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006238/1.061, allocations: 143.1 kB / 1.137 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005431/1.062, allocations: 85.94 kB / 1.137 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.822e-05/1.062, allocations: 21.97 kB / 1.137 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/1.064, allocations: 1.557 MB / 1.139 GB, free: 9.754 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.064, allocations: 0 / 1.139 GB, free: 9.754 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/1.066, allocations: 0.89 MB / 1.14 GB, free: 9.535 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004814/1.067, allocations: 263.1 kB / 1.14 GB, free: 9.391 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/1.067, allocations: 15.84 kB / 1.14 GB, free: 9.391 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005831/1.068, allocations: 65.84 kB / 1.14 GB, free: 9.387 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/1.068, allocations: 58.8 kB / 1.14 GB, free: 9.387 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.073e-05/1.068, allocations: 28.23 kB / 1.14 GB, free: 9.387 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006753/1.069, allocations: 397.5 kB / 1.14 GB, free: 9.258 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.069, allocations: 0 / 1.14 GB, free: 9.258 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001022/1.07, allocations: 266.4 kB / 1.141 GB, free: 9.207 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 (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.001327/1.071, allocations: 0.549 MB / 1.141 GB, free: 8.973 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00163/1.073, allocations: 0.737 MB / 1.142 GB, free: 8.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/1.073, allocations: 1.344 kB / 1.142 GB, free: 8.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008954/1.073, allocations: 476.3 kB / 1.142 GB, free: 8.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/1.075, allocations: 248.5 kB / 1.143 GB, free: 8.488 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004168/1.079, allocations: 1.977 MB / 1.145 GB, free: 7.391 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/1.08, allocations: 0.986 MB / 1.145 GB, free: 6.578 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009031/1.08, allocations: 244.3 kB / 1.146 GB, free: 6.461 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/1.081, allocations: 97.31 kB / 1.146 GB, free: 6.438 MB / 0.698 GB Notification: Performance of SimCode: time 8.01e-07/1.081, allocations: 1.406 kB / 1.146 GB, free: 6.438 MB / 0.698 GB Notification: Performance of Templates: time 0.023/1.104, allocations: 12.2 MB / 1.158 GB, free: 324 kB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)