Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.844/1.844, allocations: 288.4 MB / 303.4 MB, free: 8.055 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.00105/0.00105, allocations: 184.5 kB / 372 MB, free: 10.21 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.466/1.466, allocations: 205.4 MB / 0.6307 GB, free: 9.887 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.001163/0.001162, allocations: 86.36 kB / 0.7441 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004315, allocations: 11.25 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2529, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005719/0.2587, allocations: 3.477 MB / 0.983 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8462/1.105, allocations: 136.4 MB / 1.116 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008442/1.106, allocations: 17.5 kB / 1.116 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005401/1.106, allocations: 126.1 kB / 1.116 GB, free: 2.191 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.001509/1.108, allocations: 347.6 kB / 1.117 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002314/1.11, allocations: 0.5772 MB / 1.117 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001447/1.112, allocations: 0.9751 MB / 1.118 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007752/1.112, allocations: 445.6 kB / 1.119 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005723/1.113, allocations: 279.4 kB / 1.119 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004391/1.113, allocations: 298.6 kB / 1.119 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.368e-05/1.114, allocations: 20.59 kB / 1.119 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009309/1.115, allocations: 268.5 kB / 1.119 GB, free: 1.641 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002443/1.115, allocations: 156 kB / 1.12 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003287/1.115, allocations: 175.7 kB / 1.12 GB, free: 17.54 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001486/1.117, allocations: 0.9904 MB / 1.121 GB, free: 17.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.117, allocations: 0 / 1.121 GB, free: 17.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.476e-06/1.117, allocations: 0 / 1.121 GB, free: 17.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.6e-05/1.117, allocations: 1.969 kB / 1.121 GB, free: 17.46 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.002495/1.119, allocations: 1.098 MB / 1.122 GB, free: 16.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.518e-05/1.119, allocations: 13.36 kB / 1.122 GB, free: 16.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/1.12, allocations: 183.1 kB / 1.122 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/1.122, allocations: 0.6709 MB / 1.123 GB, free: 16.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.923e-05/1.122, allocations: 55.84 kB / 1.123 GB, free: 16.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/1.122, allocations: 73.38 kB / 1.123 GB, free: 16.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/1.124, allocations: 0.8245 MB / 1.124 GB, free: 16.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/1.124, allocations: 2.844 kB / 1.124 GB, free: 16.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.341e-05/1.124, allocations: 30.62 kB / 1.124 GB, free: 16.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/1.124, allocations: 26.17 kB / 1.124 GB, free: 16.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/1.126, allocations: 1.04 MB / 1.125 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004056/1.13, allocations: 2.341 MB / 1.127 GB, free: 15.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/1.131, allocations: 0.7804 MB / 1.128 GB, free: 15.28 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004471/1.132, allocations: 269.2 kB / 1.128 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.22e-05/1.132, allocations: 29.67 kB / 1.128 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007812/1.132, allocations: 419.9 kB / 1.128 GB, free: 15.19 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 2.685e-06/1.132, allocations: 3.938 kB / 1.128 GB, free: 15.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.00289/1.135, allocations: 1.058 MB / 1.129 GB, free: 14.99 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/1.135, allocations: 191.3 kB / 1.13 GB, free: 14.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007167/1.136, allocations: 0.5586 MB / 1.13 GB, free: 14.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.03e-05/1.136, allocations: 38.98 kB / 1.13 GB, free: 14.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003266/1.137, allocations: 358.5 kB / 1.13 GB, free: 14.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/1.137, allocations: 231.5 kB / 1.131 GB, free: 14.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/1.137, allocations: 14.59 kB / 1.131 GB, free: 14.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.137, allocations: 376 kB / 1.131 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004394/1.137, allocations: 230 kB / 1.131 GB, free: 13.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/1.138, allocations: 322.6 kB / 1.132 GB, free: 13.92 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004893/1.138, allocations: 272 kB / 1.132 GB, free: 13.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/1.138, allocations: 0 / 1.132 GB, free: 13.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00167/1.14, allocations: 0.7443 MB / 1.133 GB, free: 13.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/1.14, allocations: 9.234 kB / 1.133 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.14, allocations: 4.828 kB / 1.133 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006131/1.141, allocations: 82.42 kB / 1.133 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005904/1.141, allocations: 146.6 kB / 1.133 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/1.144, allocations: 1.52 MB / 1.134 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007776/1.144, allocations: 89.61 kB / 1.134 GB, free: 12.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.426e-05/1.144, allocations: 33.45 kB / 1.134 GB, free: 12.44 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.000518/1.145, allocations: 245.7 kB / 1.135 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/1.145, allocations: 73.45 kB / 1.135 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/1.147, allocations: 0.9642 MB / 1.136 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/1.147, allocations: 9.344 kB / 1.136 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/1.147, allocations: 0 / 1.136 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/1.147, allocations: 7.984 kB / 1.136 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/1.151, allocations: 1.788 MB / 1.137 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/1.151, allocations: 1.219 kB / 1.137 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000601/1.151, allocations: 140.5 kB / 1.138 GB, free: 11.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005359/1.152, allocations: 79.5 kB / 1.138 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.813e-05/1.152, allocations: 27.12 kB / 1.138 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/1.154, allocations: 1.546 MB / 1.139 GB, free: 9.863 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.154, allocations: 1.094 kB / 1.139 GB, free: 9.863 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/1.156, allocations: 0.8915 MB / 1.14 GB, free: 9.559 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004447/1.157, allocations: 258.2 kB / 1.14 GB, free: 9.375 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.962e-05/1.157, allocations: 23.06 kB / 1.14 GB, free: 9.367 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005832/1.157, allocations: 64.97 kB / 1.14 GB, free: 9.352 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/1.157, allocations: 58.61 kB / 1.14 GB, free: 9.324 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.311e-05/1.158, allocations: 29.92 kB / 1.14 GB, free: 9.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006439/1.158, allocations: 398.7 kB / 1.141 GB, free: 9.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/1.158, allocations: 0 / 1.141 GB, free: 9.18 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001432/1.16, allocations: 264.5 kB / 1.141 GB, free: 9.129 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.001367/1.161, allocations: 0.5444 MB / 1.142 GB, free: 8.871 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001868/1.163, allocations: 0.743 MB / 1.142 GB, free: 8.641 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.163, allocations: 1.156 kB / 1.142 GB, free: 8.641 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001/1.164, allocations: 486.1 kB / 1.143 GB, free: 8.461 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/1.165, allocations: 250.8 kB / 1.143 GB, free: 8.383 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004307/1.17, allocations: 1.978 MB / 1.145 GB, free: 7.289 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006691/1.17, allocations: 0.9799 MB / 1.146 GB, free: 6.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001048/1.171, allocations: 255.9 kB / 1.146 GB, free: 6.352 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/1.172, allocations: 90.98 kB / 1.146 GB, free: 6.332 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/1.172, allocations: 0 / 1.146 GB, free: 6.332 MB / 0.698 GB Notification: Performance of Templates: time 0.02839/1.2, allocations: 12.17 MB / 1.158 GB, free: 240 kB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)