Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.639/2.639, allocations: 287.5 MB / 302.4 MB, free: 8.25 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.001429/0.001429, allocations: 187.1 kB / 371 MB, free: 10.86 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.159/2.159, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.001019/0.001019, allocations: 95.55 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005184/0.0005187, allocations: 15.55 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2343, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.005854/0.2402, allocations: 3.722 MB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9879/1.228, allocations: 136.5 MB / 1.115 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/1.229, allocations: 15.22 kB / 1.115 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008937/1.23, allocations: 132.6 kB / 1.115 GB, free: 1.531 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.002517/1.233, allocations: 377.8 kB / 1.116 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003445/1.236, allocations: 0.616 MB / 1.116 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002629/1.239, allocations: 1.078 MB / 1.117 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/1.24, allocations: 0.5324 MB / 1.118 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/1.242, allocations: 331.2 kB / 1.118 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008923/1.242, allocations: 357.5 kB / 1.119 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002208/1.243, allocations: 21.94 kB / 1.119 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/1.244, allocations: 288 kB / 1.119 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003706/1.245, allocations: 178.1 kB / 1.119 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004661/1.245, allocations: 190.5 kB / 1.119 GB, free: 16.77 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003193/1.248, allocations: 1.133 MB / 1.12 GB, free: 16.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/1.248, allocations: 0 / 1.12 GB, free: 16.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.96e-06/1.248, allocations: 0 / 1.12 GB, free: 16.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.892e-05/1.248, allocations: 0 / 1.12 GB, free: 16.68 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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.004447/1.253, allocations: 1.202 MB / 1.122 GB, free: 15.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/1.253, allocations: 14.66 kB / 1.122 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/1.255, allocations: 199 kB / 1.122 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/1.257, allocations: 0.7118 MB / 1.122 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.361e-05/1.257, allocations: 70.08 kB / 1.123 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/1.257, allocations: 90.84 kB / 1.123 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/1.26, allocations: 0.9675 MB / 1.124 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.026e-05/1.261, allocations: 2.656 kB / 1.124 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/1.261, allocations: 38.94 kB / 1.124 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.152e-05/1.261, allocations: 26.27 kB / 1.124 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003521/1.264, allocations: 1.149 MB / 1.125 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008162/1.273, allocations: 2.642 MB / 1.127 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002593/1.275, allocations: 0.7679 MB / 1.128 GB, free: 14.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000999/1.276, allocations: 304.2 kB / 1.128 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/1.276, allocations: 40.17 kB / 1.128 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001414/1.278, allocations: 462.4 kB / 1.129 GB, free: 14.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 4.459e-06/1.278, allocations: 0 / 1.129 GB, free: 14.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.0053/1.283, allocations: 1.162 MB / 1.13 GB, free: 14.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001821/1.283, allocations: 189.6 kB / 1.13 GB, free: 13.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/1.285, allocations: 0.6042 MB / 1.131 GB, free: 13.83 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002804/1.285, allocations: 45.38 kB / 1.131 GB, free: 13.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004828/1.286, allocations: 407.1 kB / 1.131 GB, free: 13.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004929/1.286, allocations: 272.4 kB / 1.131 GB, free: 13.42 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.292e-05/1.286, allocations: 15.81 kB / 1.131 GB, free: 13.42 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002545/1.286, allocations: 382.9 kB / 1.132 GB, free: 13.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009343/1.287, allocations: 265.6 kB / 1.132 GB, free: 13.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/1.288, allocations: 352.8 kB / 1.132 GB, free: 13.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/1.289, allocations: 310.7 kB / 1.133 GB, free: 13.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/1.29, allocations: 0 / 1.133 GB, free: 13.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003561/1.293, allocations: 0.8491 MB / 1.134 GB, free: 12.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/1.293, allocations: 7.125 kB / 1.134 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/1.293, allocations: 5.281 kB / 1.134 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/1.294, allocations: 79.3 kB / 1.134 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/1.296, allocations: 168.9 kB / 1.134 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003329/1.299, allocations: 1.519 MB / 1.135 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/1.301, allocations: 95.19 kB / 1.135 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/1.301, allocations: 38.33 kB / 1.135 GB, free: 11.56 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 (93): * Single equations (assignments): 92 * 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.0008774/1.302, allocations: 269.8 kB / 1.136 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003269/1.302, allocations: 82.03 kB / 1.136 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004522/1.307, allocations: 1.102 MB / 1.137 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/1.307, allocations: 14.3 kB / 1.137 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.307, allocations: 4 kB / 1.137 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.483e-05/1.307, allocations: 4.266 kB / 1.137 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006511/1.313, allocations: 1.993 MB / 1.139 GB, free: 10.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/1.314, allocations: 0 / 1.139 GB, free: 10.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/1.315, allocations: 158.9 kB / 1.139 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009396/1.316, allocations: 86.73 kB / 1.139 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001594/1.316, allocations: 23.77 kB / 1.139 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003054/1.319, allocations: 1.553 MB / 1.141 GB, free: 9.242 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.319, allocations: 0 / 1.141 GB, free: 9.242 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003892/1.323, allocations: 0.9751 MB / 1.142 GB, free: 8.926 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009777/1.324, allocations: 283.6 kB / 1.142 GB, free: 8.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002551/1.324, allocations: 20.94 kB / 1.142 GB, free: 8.727 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/1.326, allocations: 63.17 kB / 1.142 GB, free: 8.715 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000263/1.326, allocations: 77.2 kB / 1.142 GB, free: 8.676 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/1.326, allocations: 33.14 kB / 1.142 GB, free: 8.672 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001039/1.327, allocations: 443.4 kB / 1.142 GB, free: 8.523 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.31e-07/1.327, allocations: 0 / 1.142 GB, free: 8.523 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001809/1.329, allocations: 312.9 kB / 1.143 GB, free: 8.461 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 (94): * Single equations (assignments): 91 * 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.002024/1.331, allocations: 0.5736 MB / 1.143 GB, free: 8.215 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003245/1.334, allocations: 0.819 MB / 1.144 GB, free: 7.977 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/1.334, allocations: 0 / 1.144 GB, free: 7.977 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001773/1.336, allocations: 0.5155 MB / 1.145 GB, free: 7.789 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/1.339, allocations: 248.4 kB / 1.145 GB, free: 7.723 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008005/1.347, allocations: 2.242 MB / 1.147 GB, free: 6.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009822/1.348, allocations: 1.038 MB / 1.148 GB, free: 5.641 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001843/1.35, allocations: 274.1 kB / 1.148 GB, free: 5.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000555/1.35, allocations: 109.4 kB / 1.148 GB, free: 5.473 MB / 0.698 GB Notification: Performance of SimCode: time 1.223e-06/1.35, allocations: 1.25 kB / 1.148 GB, free: 5.473 MB / 0.698 GB Notification: Performance of Templates: time 0.04355/1.394, allocations: 13.52 MB / 1.162 GB, free: 14.73 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)