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.693/1.693, allocations: 288.4 MB / 303.7 MB, free: 8.09 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.00154/0.00154, allocations: 188.5 kB / 372.3 MB, free: 10.12 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.453/1.453, allocations: 205.4 MB / 0.631 GB, free: 9.902 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.0008174/0.0008166, allocations: 96.86 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006458/0.000646, allocations: 14.53 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2738, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.002794/0.2766, allocations: 3.009 MB / 0.9831 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003167/0.2798, allocations: 2.322 MB / 0.9853 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002685/0.2801, allocations: 15.94 kB / 0.9853 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.318e-05/0.2802, allocations: 47.44 kB / 0.9854 GB, free: 21.93 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.0009266/0.2811, allocations: 325.8 kB / 0.9857 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.2815, allocations: 231.7 kB / 0.9859 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000473/0.2819, allocations: 0.7731 MB / 0.9867 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000355/0.2823, allocations: 349.7 kB / 0.987 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4914/0.7737, allocations: 54.49 MB / 1.04 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000505/0.7743, allocations: 270.6 kB / 1.04 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 5.901e-05/0.7743, allocations: 16 kB / 1.04 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002819/0.7746, allocations: 39.97 kB / 1.041 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/0.7747, allocations: 83.55 kB / 1.041 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.775, allocations: 296.1 kB / 1.041 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0006767/0.7757, allocations: 0.6039 MB / 1.041 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.7757, allocations: 0 / 1.041 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.444e-06/0.7757, allocations: 0 / 1.041 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.7757, allocations: 0 / 1.041 GB, free: 13.67 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.001524/0.7773, allocations: 0.8068 MB / 1.042 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.7773, allocations: 8.031 kB / 1.042 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.7774, allocations: 79.94 kB / 1.042 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006058/0.7781, allocations: 471 kB / 1.043 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/0.7781, allocations: 49.69 kB / 1.043 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.443e-05/0.7782, allocations: 64.12 kB / 1.043 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009437/0.7791, allocations: 0.5876 MB / 1.043 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.7792, allocations: 3.938 kB / 1.043 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.882e-05/0.7792, allocations: 24 kB / 1.044 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.7793, allocations: 16 kB / 1.044 GB, free: 11.47 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008395/0.7801, allocations: 455.2 kB / 1.044 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002413/0.7825, allocations: 1.698 MB / 1.046 GB, free: 9.262 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002896/0.7854, allocations: 0.8427 MB / 1.046 GB, free: 8.383 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004639/0.7859, allocations: 283.3 kB / 1.047 GB, free: 8.094 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004082/0.7863, allocations: 425.5 kB / 1.047 GB, free: 7.586 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.7864, allocations: 38.56 kB / 1.047 GB, free: 7.539 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=72): time 3.637e-06/0.7864, allocations: 4 kB / 1.047 GB, free: 7.535 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72): time 0.001601/0.788, allocations: 0.7212 MB / 1.048 GB, free: 6.809 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.7881, allocations: 136.5 kB / 1.048 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.7884, allocations: 329.7 kB / 1.048 GB, free: 6.309 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.7885, allocations: 41.64 kB / 1.048 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.7886, allocations: 236.9 kB / 1.049 GB, free: 6.027 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.7888, allocations: 240.5 kB / 1.049 GB, free: 5.789 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.7888, allocations: 16 kB / 1.049 GB, free: 5.773 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.789, allocations: 354.8 kB / 1.049 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/0.7893, allocations: 169.2 kB / 1.049 GB, free: 5.254 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/0.7897, allocations: 213.9 kB / 1.05 GB, free: 5.031 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007796/0.7905, allocations: 439.2 kB / 1.05 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.7905, allocations: 0 / 1.05 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009132/0.7914, allocations: 0.5318 MB / 1.05 GB, free: 4.051 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.7915, allocations: 4 kB / 1.05 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.7915, allocations: 0 / 1.05 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.7915, allocations: 4 kB / 1.05 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006255/0.7921, allocations: 135.8 kB / 1.051 GB, free: 3.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.7921, allocations: 4 kB / 1.051 GB, free: 3.906 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.7925, allocations: 51.44 kB / 1.051 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.7925, allocations: 27.97 kB / 1.051 GB, free: 3.828 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.000215/0.7928, allocations: 201.6 kB / 1.051 GB, free: 3.621 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.7929, allocations: 51.42 kB / 1.051 GB, free: 3.57 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/0.7946, allocations: 0.9239 MB / 1.052 GB, free: 2.641 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.7946, allocations: 12 kB / 1.052 GB, free: 2.629 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7947, allocations: 0 / 1.052 GB, free: 2.629 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.7947, allocations: 11.97 kB / 1.052 GB, free: 2.617 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008683/0.7956, allocations: 0.7035 MB / 1.053 GB, free: 1.863 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.7956, allocations: 4 kB / 1.053 GB, free: 1.859 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007298/0.7963, allocations: 187.7 kB / 1.053 GB, free: 1.676 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.7963, allocations: 4 kB / 1.053 GB, free: 1.672 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.738e-05/0.7964, allocations: 27.98 kB / 1.053 GB, free: 1.645 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.7964, allocations: 4 kB / 1.053 GB, free: 1.641 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.7964, allocations: 8 kB / 1.053 GB, free: 1.633 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.7976, allocations: 1.062 MB / 1.054 GB, free: 0.5547 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.7978, allocations: 216 kB / 1.054 GB, free: 332 kB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.7979, allocations: 16 kB / 1.054 GB, free: 316 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/0.7983, allocations: 28 kB / 1.054 GB, free: 288 kB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.944e-05/0.7984, allocations: 63.91 kB / 1.054 GB, free: 224 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-05/0.7985, allocations: 31.98 kB / 1.054 GB, free: 192 kB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002247/0.7987, allocations: 239.1 kB / 1.054 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7987, allocations: 0 / 1.054 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005206/0.7993, allocations: 151.6 kB / 1.055 GB, free: 15.81 MB / 0.6823 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.0001864/0.7994, allocations: 139 kB / 1.055 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000938/0.8004, allocations: 0.5427 MB / 1.055 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.8004, allocations: 0 / 1.055 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005443/0.801, allocations: 379.5 kB / 1.056 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005778/0.8015, allocations: 54.25 kB / 1.056 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.8036, allocations: 1.467 MB / 1.057 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.8041, allocations: 0.9144 MB / 1.058 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000441/0.8045, allocations: 112.8 kB / 1.058 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.8047, allocations: 87.38 kB / 1.058 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of SimCode: time 5.01e-07/0.8047, allocations: 0 / 1.058 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of Templates: time 0.009052/0.8138, allocations: 4.754 MB / 1.063 GB, free: 7.32 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)