Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.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.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.638/1.638, allocations: 288.4 MB / 304.3 MB, free: 8.02 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.0009875/0.0009875, allocations: 179.4 kB / 372.9 MB, free: 10.15 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.512/1.512, allocations: 205.4 MB / 0.6316 GB, free: 9.93 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.0009675/0.0009674, allocations: 108.1 kB / 0.745 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003894, allocations: 11.72 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2089, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.003054/0.212, allocations: 3.009 MB / 0.9837 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003519/0.2155, allocations: 2.326 MB / 0.9859 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003241/0.2159, allocations: 15.94 kB / 0.9859 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.327e-05/0.216, allocations: 43.5 kB / 0.986 GB, free: 21.96 MB / 0.6198 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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.001068/0.2171, allocations: 329.2 kB / 0.9863 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.2175, allocations: 231.7 kB / 0.9865 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004884/0.218, allocations: 0.7692 MB / 0.9873 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004001/0.2184, allocations: 345.7 kB / 0.9876 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5294/0.7478, allocations: 54.51 MB / 1.041 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005719/0.7484, allocations: 266.6 kB / 1.041 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001645/0.7486, allocations: 12 kB / 1.041 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.7489, allocations: 35.98 kB / 1.041 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 9.604e-05/0.749, allocations: 95.52 kB / 1.041 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003516/0.7493, allocations: 288.2 kB / 1.041 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0007664/0.7501, allocations: 0.5999 MB / 1.042 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.7501, allocations: 0 / 1.042 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.615e-06/0.7501, allocations: 0 / 1.042 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.3e-05/0.7502, allocations: 0 / 1.042 GB, free: 13.69 MB / 0.6667 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.0018/0.752, allocations: 0.8067 MB / 1.043 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.531e-05/0.7521, allocations: 8.031 kB / 1.043 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/0.7523, allocations: 76 kB / 1.043 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007304/0.753, allocations: 482.9 kB / 1.043 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.7531, allocations: 41.69 kB / 1.043 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.595e-05/0.7532, allocations: 64.12 kB / 1.044 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.7543, allocations: 0.5915 MB / 1.044 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.7543, allocations: 0 / 1.044 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.03e-05/0.7544, allocations: 24 kB / 1.044 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.7544, allocations: 16 kB / 1.044 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008983/0.7553, allocations: 455.2 kB / 1.045 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002592/0.7579, allocations: 1.698 MB / 1.046 GB, free: 9.285 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002936/0.7609, allocations: 0.8428 MB / 1.047 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005033/0.7614, allocations: 287.2 kB / 1.047 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004172/0.7618, allocations: 421.5 kB / 1.048 GB, free: 7.609 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.7619, allocations: 46.48 kB / 1.048 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=72): time 3.627e-06/0.7619, allocations: 4 kB / 1.048 GB, free: 7.551 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72): time 0.001452/0.7633, allocations: 0.7093 MB / 1.048 GB, free: 6.836 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.7634, allocations: 140.5 kB / 1.049 GB, free: 6.668 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.7637, allocations: 329.7 kB / 1.049 GB, free: 6.332 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.7638, allocations: 37.7 kB / 1.049 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.7639, allocations: 240.9 kB / 1.049 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.7641, allocations: 240.5 kB / 1.049 GB, free: 5.812 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.7641, allocations: 15.94 kB / 1.049 GB, free: 5.797 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.7642, allocations: 354.8 kB / 1.05 GB, free: 5.441 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/0.7646, allocations: 165.2 kB / 1.05 GB, free: 5.281 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.765, allocations: 217.9 kB / 1.05 GB, free: 5.055 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009007/0.7659, allocations: 443.4 kB / 1.051 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7659, allocations: 0 / 1.051 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009521/0.7669, allocations: 0.528 MB / 1.051 GB, free: 4.074 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.7669, allocations: 11.92 kB / 1.051 GB, free: 4.062 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.7669, allocations: 0 / 1.051 GB, free: 4.062 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.7669, allocations: 4 kB / 1.051 GB, free: 4.059 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.7676, allocations: 135.8 kB / 1.051 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.7676, allocations: 8 kB / 1.051 GB, free: 3.918 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.7679, allocations: 47.44 kB / 1.051 GB, free: 3.871 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.768, allocations: 31.95 kB / 1.051 GB, free: 3.84 MB / 0.6667 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.0002502/0.7682, allocations: 195.2 kB / 1.051 GB, free: 3.641 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.7684, allocations: 51.38 kB / 1.052 GB, free: 3.59 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.7702, allocations: 0.9277 MB / 1.052 GB, free: 2.656 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.7702, allocations: 3.984 kB / 1.052 GB, free: 2.652 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.7702, allocations: 4 kB / 1.052 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/0.7705, allocations: 216 kB / 1.053 GB, free: 2.418 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.75e-05/0.7706, allocations: 16 kB / 1.053 GB, free: 2.402 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/0.771, allocations: 20 kB / 1.053 GB, free: 2.383 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.7711, allocations: 71.83 kB / 1.053 GB, free: 2.312 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001521/0.7727, allocations: 1.085 MB / 1.054 GB, free: 1.219 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001301/0.774, allocations: 1.124 MB / 1.055 GB, free: 80 kB / 0.6667 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005224/0.7745, allocations: 335.8 kB / 1.055 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002289/0.7747, allocations: 247 kB / 1.055 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of Backend: time 5.61e-07/0.7748, allocations: 0 / 1.055 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.776, allocations: 386.9 kB / 1.056 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of SimCode: time 0.001647/0.7776, allocations: 1.586 MB / 1.057 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of Templates: time 0.0111/0.7887, allocations: 5.603 MB / 1.063 GB, free: 7.902 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)