Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.689/2.689, allocations: 287.5 MB / 302.4 MB, free: 8.34 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.001407/0.001406, allocations: 190.1 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.157/2.157, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.001027/0.001027, allocations: 91.25 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005121/0.0005123, allocations: 12 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2292, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005892/0.2352, allocations: 3.615 MB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8785/1.114, allocations: 136.5 MB / 1.115 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009626/1.115, allocations: 19.47 kB / 1.115 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007227/1.116, allocations: 129.4 kB / 1.115 GB, free: 1.516 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.002175/1.118, allocations: 367.1 kB / 1.116 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003366/1.121, allocations: 0.6125 MB / 1.116 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002502/1.124, allocations: 1.038 MB / 1.117 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/1.125, allocations: 478.5 kB / 1.118 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/1.126, allocations: 306.6 kB / 1.118 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009279/1.127, allocations: 334.4 kB / 1.118 GB, free: 0.9258 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002233/1.127, allocations: 21.91 kB / 1.118 GB, free: 0.9258 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/1.129, allocations: 284.2 kB / 1.119 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00033/1.129, allocations: 168.4 kB / 1.119 GB, free: 0.875 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004225/1.13, allocations: 176.9 kB / 1.119 GB, free: 16.81 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002732/1.132, allocations: 1.056 MB / 1.12 GB, free: 16.72 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.219e-05/1.132, allocations: 0.75 kB / 1.12 GB, free: 16.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.495e-06/1.132, allocations: 1.859 kB / 1.12 GB, free: 16.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.703e-05/1.132, allocations: 0 / 1.12 GB, free: 16.72 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003811/1.136, allocations: 1.144 MB / 1.121 GB, free: 16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/1.136, allocations: 15.45 kB / 1.121 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/1.138, allocations: 194 kB / 1.121 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002158/1.14, allocations: 0.6792 MB / 1.122 GB, free: 15.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/1.14, allocations: 69.52 kB / 1.122 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/1.141, allocations: 77.03 kB / 1.122 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00273/1.143, allocations: 0.8797 MB / 1.123 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/1.144, allocations: 0 / 1.123 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/1.144, allocations: 36.72 kB / 1.123 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/1.144, allocations: 22.83 kB / 1.123 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003213/1.147, allocations: 1.088 MB / 1.124 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007093/1.154, allocations: 2.435 MB / 1.127 GB, free: 14.65 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003428/1.158, allocations: 0.8722 MB / 1.127 GB, free: 14.51 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/1.159, allocations: 297.7 kB / 1.128 GB, free: 14.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/1.159, allocations: 39.03 kB / 1.128 GB, free: 14.49 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001343/1.16, allocations: 448.2 kB / 1.128 GB, free: 14.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.827e-06/1.16, allocations: 0 / 1.128 GB, free: 14.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.005245/1.166, allocations: 1.14 MB / 1.129 GB, free: 14.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/1.166, allocations: 187.4 kB / 1.129 GB, free: 13.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/1.167, allocations: 0.5787 MB / 1.13 GB, free: 13.86 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002863/1.167, allocations: 42.36 kB / 1.13 GB, free: 13.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004502/1.168, allocations: 373.2 kB / 1.13 GB, free: 13.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004311/1.168, allocations: 255.5 kB / 1.131 GB, free: 13.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.655e-05/1.168, allocations: 16.12 kB / 1.131 GB, free: 13.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002444/1.169, allocations: 376.6 kB / 1.131 GB, free: 13.17 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009111/1.169, allocations: 250.9 kB / 1.131 GB, free: 13.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/1.171, allocations: 347.2 kB / 1.132 GB, free: 13.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009776/1.172, allocations: 295.9 kB / 1.132 GB, free: 13.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.172, allocations: 0 / 1.132 GB, free: 13.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003295/1.175, allocations: 0.8167 MB / 1.133 GB, free: 12.99 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/1.175, allocations: 4.969 kB / 1.133 GB, free: 12.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/1.175, allocations: 1.375 kB / 1.133 GB, free: 12.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/1.176, allocations: 88.94 kB / 1.133 GB, free: 12.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/1.177, allocations: 157.7 kB / 1.133 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003253/1.181, allocations: 1.515 MB / 1.134 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/1.182, allocations: 92.34 kB / 1.134 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/1.182, allocations: 36.81 kB / 1.134 GB, free: 11.63 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 (87): * Single equations (assignments): 86 * 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.0008411/1.183, allocations: 259.8 kB / 1.135 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/1.184, allocations: 76.38 kB / 1.135 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004422/1.188, allocations: 1.084 MB / 1.136 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/1.188, allocations: 9.5 kB / 1.136 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.188, allocations: 96 / 1.136 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.451e-05/1.188, allocations: 10.09 kB / 1.136 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00586/1.194, allocations: 1.95 MB / 1.138 GB, free: 10.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/1.194, allocations: 3.938 kB / 1.138 GB, free: 10.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/1.195, allocations: 158.1 kB / 1.138 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009043/1.196, allocations: 91.95 kB / 1.138 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/1.197, allocations: 22.36 kB / 1.138 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002976/1.2, allocations: 1.551 MB / 1.14 GB, free: 9.453 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.2, allocations: 3.984 kB / 1.14 GB, free: 9.449 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003726/1.203, allocations: 0.962 MB / 1.141 GB, free: 9.133 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009061/1.204, allocations: 282.6 kB / 1.141 GB, free: 8.934 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/1.205, allocations: 24.09 kB / 1.141 GB, free: 8.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/1.206, allocations: 72.06 kB / 1.141 GB, free: 8.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/1.206, allocations: 64.5 kB / 1.141 GB, free: 8.887 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.206, allocations: 36.42 kB / 1.141 GB, free: 8.879 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000973/1.207, allocations: 429.2 kB / 1.141 GB, free: 8.727 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.51e-07/1.207, allocations: 0 / 1.141 GB, free: 8.727 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001614/1.209, allocations: 285.9 kB / 1.142 GB, free: 8.676 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 (93): * Single equations (assignments): 90 * 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.001908/1.211, allocations: 0.5837 MB / 1.142 GB, free: 8.422 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003151/1.214, allocations: 0.7995 MB / 1.143 GB, free: 8.184 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.214, allocations: 0 / 1.143 GB, free: 8.184 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001748/1.216, allocations: 0.5152 MB / 1.143 GB, free: 7.992 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/1.218, allocations: 241.4 kB / 1.144 GB, free: 7.926 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007645/1.226, allocations: 2.127 MB / 1.146 GB, free: 6.746 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00094/1.227, allocations: 1.012 MB / 1.147 GB, free: 5.922 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001803/1.229, allocations: 263.8 kB / 1.147 GB, free: 5.789 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/1.229, allocations: 101.8 kB / 1.147 GB, free: 5.766 MB / 0.698 GB Notification: Performance of SimCode: time 1.914e-06/1.229, allocations: 0 / 1.147 GB, free: 5.766 MB / 0.698 GB Notification: Performance of Templates: time 0.04131/1.27, allocations: 12.99 MB / 1.16 GB, free: 15.25 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)