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.0008923/0.0008925, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001035/0.001035, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.522/1.522, allocations: 252 MB / 0.5102 GB, free: 4.777 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.0005804/0.0005805, allocations: 12 kB / 0.6243 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5026/0.5032, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.004216/0.5075, allocations: 3.013 MB / 0.7311 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004323/0.5118, allocations: 2.267 MB / 0.7333 GB, free: 6.117 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008644/0.5127, allocations: 15.94 kB / 0.7333 GB, free: 6.102 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.513, allocations: 47.48 kB / 0.7333 GB, free: 6.055 MB / 0.545 GB [/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.001511/0.5145, allocations: 325.8 kB / 0.7337 GB, free: 5.738 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005231/0.515, allocations: 239.7 kB / 0.7339 GB, free: 5.504 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009957/0.525, allocations: 6.776 MB / 0.7405 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005321/0.5256, allocations: 272.6 kB / 0.7408 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04668/0.5723, allocations: 33.2 MB / 0.7732 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005627/0.5729, allocations: 262.7 kB / 0.7734 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.512e-05/0.5729, allocations: 16 kB / 0.7735 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 5.585e-05/0.573, allocations: 12 kB / 0.7735 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.633e-05/0.5731, allocations: 91.53 kB / 0.7736 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.5733, allocations: 141.3 kB / 0.7737 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006424/0.5739, allocations: 0.5805 MB / 0.7743 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5739, allocations: 0 / 0.7743 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5739, allocations: 4 kB / 0.7743 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.574, allocations: 4 kB / 0.7743 GB, free: 12.09 MB / 0.5919 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.00172/0.5757, allocations: 0.8494 MB / 0.7751 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.5757, allocations: 8.031 kB / 0.7751 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.5758, allocations: 75.11 kB / 0.7752 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005932/0.5764, allocations: 458 kB / 0.7756 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002895/0.5768, allocations: 176.1 kB / 0.7758 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.859e-05/0.5768, allocations: 52 kB / 0.7758 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.5781, allocations: 0.6422 MB / 0.7765 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.5782, allocations: 3.984 kB / 0.7765 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.191e-05/0.5782, allocations: 20 kB / 0.7765 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.5782, allocations: 16 kB / 0.7765 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.5797, allocations: 0.5227 MB / 0.777 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/0.5822, allocations: 1.717 MB / 0.7787 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003254/0.5854, allocations: 0.9131 MB / 0.7796 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007844/0.5862, allocations: 327.3 kB / 0.7799 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-05/0.5863, allocations: 23.95 kB / 0.7799 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/0.5864, allocations: 42.56 kB / 0.7799 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=72): time 3.095e-06/0.5864, allocations: 0 / 0.7799 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72): time 0.002337/0.5887, allocations: 0.8344 MB / 0.7808 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/0.5888, allocations: 140.5 kB / 0.7809 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/0.5892, allocations: 329.7 kB / 0.7812 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.5892, allocations: 41.7 kB / 0.7812 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.5894, allocations: 241 kB / 0.7815 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.5896, allocations: 240.4 kB / 0.7817 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.5896, allocations: 12 kB / 0.7817 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5898, allocations: 354.8 kB / 0.7821 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006354/0.5904, allocations: 209.1 kB / 0.7823 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006591/0.5911, allocations: 265.8 kB / 0.7825 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006663/0.5918, allocations: 228.4 kB / 0.7827 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5918, allocations: 0 / 0.7827 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001504/0.5933, allocations: 0.6125 MB / 0.7833 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.5933, allocations: 4 kB / 0.7833 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.5933, allocations: 0 / 0.7833 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.5934, allocations: 4 kB / 0.7833 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007196/0.5941, allocations: 147.8 kB / 0.7835 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.5941, allocations: 15.94 kB / 0.7835 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.5945, allocations: 63.5 kB / 0.7835 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.5946, allocations: 27.97 kB / 0.7836 GB, free: 2.215 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002458/0.5948, allocations: 185.7 kB / 0.7838 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.595, allocations: 55.34 kB / 0.7838 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/0.5973, allocations: 0.9976 MB / 0.7848 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.5974, allocations: 12 kB / 0.7848 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.5974, allocations: 0 / 0.7848 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.5974, allocations: 11.95 kB / 0.7848 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009383/0.5984, allocations: 0.723 MB / 0.7855 GB, free: 176 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.5984, allocations: 4 kB / 0.7855 GB, free: 172 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008749/0.5993, allocations: 207.7 kB / 0.7857 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/0.5993, allocations: 4 kB / 0.7857 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.077e-05/0.5993, allocations: 27.98 kB / 0.7857 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.5994, allocations: 4 kB / 0.7857 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5994, allocations: 4 kB / 0.7857 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.6013, allocations: 1.134 MB / 0.7869 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.6016, allocations: 223.9 kB / 0.7871 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.764e-05/0.6017, allocations: 20 kB / 0.7871 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005475/0.6022, allocations: 39.97 kB / 0.7871 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.905e-05/0.6023, allocations: 63.91 kB / 0.7872 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.052e-05/0.6024, allocations: 35.98 kB / 0.7872 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002397/0.6026, allocations: 235.2 kB / 0.7874 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6026, allocations: 3.938 kB / 0.7874 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005943/0.6032, allocations: 155.5 kB / 0.7876 GB, free: 14 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001601/0.6034, allocations: 131 kB / 0.7877 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001657/0.6051, allocations: 0.6148 MB / 0.7883 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6051, allocations: 0 / 0.7883 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008876/0.606, allocations: 424.8 kB / 0.7887 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/0.6066, allocations: 61.52 kB / 0.7888 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.6091, allocations: 1.51 MB / 0.7903 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/0.6096, allocations: 0.9102 MB / 0.7912 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000468/0.6101, allocations: 112.8 kB / 0.7913 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.6103, allocations: 87.38 kB / 0.7913 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.6103, allocations: 3.938 kB / 0.7913 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of Templates: time 0.009475/0.6198, allocations: 4.766 MB / 0.796 GB, free: 5.367 MB / 0.6075 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: