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.732/1.732, allocations: 288.4 MB / 303.7 MB, free: 8.809 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.001069/0.001069, allocations: 176.5 kB / 372.3 MB, free: 6.41 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.568/1.568, allocations: 205.4 MB / 0.631 GB, free: 13.52 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009585/0.0009587, allocations: 93.23 kB / 0.7444 GB, free: 64.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003935, allocations: 12 kB / 0.8675 GB, free: 0.5781 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.229, allocations: 115.3 MB / 0.9801 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004386/0.2334, allocations: 3.482 MB / 0.9835 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.5744/0.8078, allocations: 136.4 MB / 1.117 GB, free: 22.88 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004973/0.8084, allocations: 13.97 kB / 1.117 GB, free: 22.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003985/0.8088, allocations: 124.9 kB / 1.117 GB, free: 22.8 MB / 0.7448 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.001069/0.8099, allocations: 339 kB / 1.117 GB, free: 22.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.8113, allocations: 0.5861 MB / 1.118 GB, free: 22.33 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007013/0.812, allocations: 1.015 MB / 1.119 GB, free: 21.82 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006158/0.8126, allocations: 0.5518 MB / 1.119 GB, free: 21.53 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003126/0.8129, allocations: 282 kB / 1.12 GB, free: 21.41 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.8132, allocations: 296.3 kB / 1.12 GB, free: 21.28 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.83e-05/0.8133, allocations: 22.06 kB / 1.12 GB, free: 21.28 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004694/0.8138, allocations: 271.6 kB / 1.12 GB, free: 21.21 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.8139, allocations: 161.2 kB / 1.12 GB, free: 21.13 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.8142, allocations: 379.9 kB / 1.121 GB, free: 20.88 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008373/0.815, allocations: 0.9981 MB / 1.122 GB, free: 20.61 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/0.8151, allocations: 0 / 1.122 GB, free: 20.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8151, allocations: 0 / 1.122 GB, free: 20.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.8151, allocations: 0 / 1.122 GB, free: 20.61 MB / 0.7448 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.001752/0.8168, allocations: 1.078 MB / 1.123 GB, free: 19.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.8169, allocations: 10.19 kB / 1.123 GB, free: 19.84 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008303/0.8177, allocations: 189.7 kB / 1.123 GB, free: 19.78 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008177/0.8186, allocations: 0.6897 MB / 1.124 GB, free: 19.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.657e-05/0.8186, allocations: 59.22 kB / 1.124 GB, free: 19.29 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.496e-05/0.8187, allocations: 72.56 kB / 1.124 GB, free: 19.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.8198, allocations: 0.8293 MB / 1.124 GB, free: 18.87 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.8198, allocations: 0 / 1.124 GB, free: 18.87 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.591e-05/0.8199, allocations: 34.09 kB / 1.125 GB, free: 18.85 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.8199, allocations: 20.66 kB / 1.125 GB, free: 18.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.8213, allocations: 1.045 MB / 1.126 GB, free: 18.61 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003024/0.8243, allocations: 2.325 MB / 1.128 GB, free: 17.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.8255, allocations: 0.7741 MB / 1.129 GB, free: 16.94 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000424/0.826, allocations: 270.3 kB / 1.129 GB, free: 16.84 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-05/0.8261, allocations: 35.11 kB / 1.129 GB, free: 16.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006732/0.8267, allocations: 409.8 kB / 1.129 GB, free: 16.65 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=70): time 3.897e-06/0.8268, allocations: 0 / 1.129 GB, free: 16.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70): time 0.00257/0.8293, allocations: 1.067 MB / 1.13 GB, free: 16.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.8294, allocations: 186.7 kB / 1.13 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005793/0.83, allocations: 0.5549 MB / 1.131 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.818e-05/0.83, allocations: 44.42 kB / 1.131 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.8303, allocations: 354.8 kB / 1.131 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.8304, allocations: 230.7 kB / 1.132 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.8304, allocations: 11.41 kB / 1.132 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.53e-05/0.8305, allocations: 383.7 kB / 1.132 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/0.8309, allocations: 231.9 kB / 1.132 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004659/0.8314, allocations: 323 kB / 1.133 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008433/0.8323, allocations: 0.5429 MB / 1.133 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.8323, allocations: 0 / 1.133 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001452/0.8337, allocations: 0.7496 MB / 1.134 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.8338, allocations: 3.281 kB / 1.134 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.8338, allocations: 3.031 kB / 1.134 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000548/0.8343, allocations: 82.78 kB / 1.134 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.8349, allocations: 148 kB / 1.134 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.8365, allocations: 1.528 MB / 1.135 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006107/0.8372, allocations: 87.95 kB / 1.136 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.8372, allocations: 30.14 kB / 1.136 GB, free: 12.58 MB / 0.7448 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.0003597/0.8376, allocations: 251.6 kB / 1.136 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.129e-05/0.8377, allocations: 80.58 kB / 1.136 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.8396, allocations: 0.9492 MB / 1.137 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.8396, allocations: 10.22 kB / 1.137 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.8396, allocations: 0 / 1.137 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.8396, allocations: 10.55 kB / 1.137 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002553/0.8422, allocations: 1.782 MB / 1.139 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.8422, allocations: 0 / 1.139 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004943/0.8427, allocations: 141.3 kB / 1.139 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004693/0.8432, allocations: 85.33 kB / 1.139 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/0.8432, allocations: 21.45 kB / 1.139 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.8447, allocations: 1.548 MB / 1.14 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8447, allocations: 0 / 1.14 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.8462, allocations: 0.885 MB / 1.141 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.8466, allocations: 264.4 kB / 1.141 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.38e-05/0.8467, allocations: 19.31 kB / 1.141 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005331/0.8472, allocations: 66.56 kB / 1.142 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.8473, allocations: 54.61 kB / 1.142 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.423e-05/0.8474, allocations: 34.62 kB / 1.142 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004339/0.8478, allocations: 398.8 kB / 1.142 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8478, allocations: 0 / 1.142 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007283/0.8486, allocations: 266.3 kB / 1.142 GB, free: 8.691 MB / 0.7448 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.001158/0.8497, allocations: 0.5633 MB / 1.143 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.8511, allocations: 0.7396 MB / 1.144 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.8511, allocations: 0 / 1.144 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006833/0.8518, allocations: 480.9 kB / 1.144 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.8529, allocations: 245.9 kB / 1.144 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.8563, allocations: 1.97 MB / 1.146 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.8567, allocations: 0.9885 MB / 1.147 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0008079/0.8575, allocations: 246.5 kB / 1.147 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.8577, allocations: 89.91 kB / 1.147 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.8577, allocations: 3.938 kB / 1.147 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of Templates: time 0.01887/0.8766, allocations: 12.35 MB / 1.16 GB, free: 4.895 MB / 0.7448 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)