Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008397/0.008397, allocations: 100.9 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001304, allocations: 190 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.508/1.508, allocations: 251.7 MB / 0.5094 GB, free: 3.043 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 67.91 kB / 0.7257 GB, free: 9.09 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2644, allocations: 104.7 MB / 0.828 GB, free: 272 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.005968/0.2704, allocations: 3.553 MB / 0.8315 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005193/0.2756, allocations: 2.419 MB / 0.8338 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007397/0.2764, allocations: 15.94 kB / 0.8339 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.2767, allocations: 75 kB / 0.8339 GB, free: 10.17 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-50:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath' contains a call to impure function 'Modelica.Utilities.Files.exist'. Notification: Performance of NFTyping.typeBindings: time 0.001906/0.2786, allocations: 405.2 kB / 0.8343 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007453/0.2794, allocations: 323.6 kB / 0.8346 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0424/0.3218, allocations: 7.979 MB / 0.8424 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000979/0.3228, allocations: 361.7 kB / 0.8428 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2208/0.5437, allocations: 39.12 MB / 0.881 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005989/0.5443, allocations: 358.4 kB / 0.8813 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002517/0.5445, allocations: 68 kB / 0.8814 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.5447, allocations: 72 kB / 0.8814 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.5449, allocations: 167.4 kB / 0.8816 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0004795/0.5454, allocations: 354.2 kB / 0.8819 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.5465, allocations: 0.8289 MB / 0.8827 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.5465, allocations: 0 / 0.8827 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5465, allocations: 0 / 0.8827 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.662e-05/0.5466, allocations: 0 / 0.8827 GB, free: 10.11 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002432/0.549, allocations: 0.986 MB / 0.8837 GB, free: 9.066 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.549, allocations: 8.031 kB / 0.8837 GB, free: 9.059 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.5492, allocations: 76 kB / 0.8838 GB, free: 8.984 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003767/0.553, allocations: 479 kB / 0.8842 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003172/0.5533, allocations: 168.7 kB / 0.8844 GB, free: 8.289 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.266e-05/0.5534, allocations: 63.94 kB / 0.8845 GB, free: 8.227 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.5549, allocations: 0.6419 MB / 0.8851 GB, free: 7.562 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.555, allocations: 0 / 0.8851 GB, free: 7.562 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.632e-05/0.555, allocations: 24 kB / 0.8851 GB, free: 7.539 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.555, allocations: 16 kB / 0.8851 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.5567, allocations: 0.5147 MB / 0.8856 GB, free: 7.008 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002741/0.5595, allocations: 1.682 MB / 0.8873 GB, free: 5.262 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003718/0.5632, allocations: 0.9207 MB / 0.8882 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008525/0.5641, allocations: 319.3 kB / 0.8885 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 5.644e-05/0.5642, allocations: 23.95 kB / 0.8885 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.5642, allocations: 46.5 kB / 0.8885 GB, free: 3.902 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=72): time 2.114e-06/0.5642, allocations: 0 / 0.8885 GB, free: 3.902 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72): time 0.002931/0.5671, allocations: 0.8187 MB / 0.8893 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/0.5672, allocations: 148.3 kB / 0.8895 GB, free: 2.902 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.5676, allocations: 329.7 kB / 0.8898 GB, free: 2.57 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.757e-05/0.5677, allocations: 37.7 kB / 0.8898 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.5678, allocations: 237 kB / 0.8901 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.568, allocations: 236.4 kB / 0.8903 GB, free: 2.059 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/0.5682, allocations: 126.2 kB / 0.8904 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.5684, allocations: 358.8 kB / 0.8908 GB, free: 1.57 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00074/0.5692, allocations: 197.2 kB / 0.8909 GB, free: 1.379 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007614/0.5699, allocations: 261.7 kB / 0.8912 GB, free: 1.109 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.5714, allocations: 499.2 kB / 0.8917 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.5715, allocations: 3.938 kB / 0.8917 GB, free: 0.6055 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0018/0.5733, allocations: 0.5946 MB / 0.8923 GB, free: 4 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.5733, allocations: 8.047 kB / 0.8923 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.5733, allocations: 11.94 kB / 0.8923 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/0.5734, allocations: 4 kB / 0.8923 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007781/0.5742, allocations: 143.8 kB / 0.8924 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/0.5742, allocations: 4 kB / 0.8924 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000524/0.5747, allocations: 71.44 kB / 0.8925 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.933e-05/0.5748, allocations: 27.97 kB / 0.8925 GB, free: 15.74 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003109/0.5751, allocations: 185.7 kB / 0.8927 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.5753, allocations: 55.34 kB / 0.8927 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002686/0.578, allocations: 0.9815 MB / 0.8937 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/0.578, allocations: 15.98 kB / 0.8937 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/0.578, allocations: 0 / 0.8937 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/0.5781, allocations: 3.984 kB / 0.8937 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.5794, allocations: 0.7307 MB / 0.8944 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.5794, allocations: 0 / 0.8944 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009615/0.5804, allocations: 203.7 kB / 0.8946 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.359e-05/0.5804, allocations: 8 kB / 0.8946 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.527e-05/0.5805, allocations: 27.98 kB / 0.8947 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.54e-05/0.5806, allocations: 11.98 kB / 0.8947 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.5806, allocations: 0 / 0.8947 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.5829, allocations: 1.13 MB / 0.8958 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.5832, allocations: 216 kB / 0.896 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.953e-05/0.5833, allocations: 23.98 kB / 0.896 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006075/0.5839, allocations: 31.98 kB / 0.896 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.584, allocations: 63.91 kB / 0.8961 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.427e-05/0.5841, allocations: 35.98 kB / 0.8961 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002955/0.5844, allocations: 239.2 kB / 0.8964 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5844, allocations: 0 / 0.8964 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007143/0.5851, allocations: 155.5 kB / 0.8965 GB, free: 11.55 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002026/0.5853, allocations: 131 kB / 0.8966 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001995/0.5873, allocations: 0.6194 MB / 0.8972 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5874, allocations: 0 / 0.8972 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.5884, allocations: 416.8 kB / 0.8976 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006467/0.589, allocations: 61.55 kB / 0.8977 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.5918, allocations: 1.207 MB / 0.8989 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007047/0.5925, allocations: 0.9218 MB / 0.8998 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004114/0.593, allocations: 104.8 kB / 0.8999 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.5932, allocations: 87.38 kB / 0.9 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of SimCode: time 1.814e-06/0.5932, allocations: 0 / 0.9 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of Templates: time 0.01437/0.6076, allocations: 5.34 MB / 0.9052 GB, free: 2.621 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)