Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.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.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.645/1.645, allocations: 287.5 MB / 302.6 MB, free: 8.227 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.001153/0.001153, allocations: 185.9 kB / 371.2 MB, free: 10.73 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.492/1.492, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0008224/0.0008224, allocations: 102.3 kB / 0.7432 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003777, allocations: 11.28 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2073, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.002971/0.2104, allocations: 3.013 MB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003302/0.2137, allocations: 2.31 MB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005742/0.2143, allocations: 15.94 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.2145, allocations: 47.48 kB / 0.9839 GB, free: 22.76 MB / 0.6198 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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0013/0.2158, allocations: 322.5 kB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.2163, allocations: 231.7 kB / 0.9845 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008174/0.2171, allocations: 0.777 MB / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000476/0.2176, allocations: 341.7 kB / 0.9855 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04825/0.2659, allocations: 39.2 MB / 1.024 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004805/0.2664, allocations: 270.6 kB / 1.024 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 5.885e-05/0.2665, allocations: 16 kB / 1.024 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.2666, allocations: 35.98 kB / 1.024 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 8.879e-05/0.2667, allocations: 91.52 kB / 1.024 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.2669, allocations: 129.4 kB / 1.024 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.000644/0.2676, allocations: 0.6 MB / 1.025 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.2676, allocations: 0 / 1.025 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2676, allocations: 3.938 kB / 1.025 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.2676, allocations: 0 / 1.025 GB, free: 12.7 MB / 0.6511 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.001533/0.2691, allocations: 0.8107 MB / 1.026 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2692, allocations: 8.031 kB / 1.026 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.2693, allocations: 76 kB / 1.026 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006317/0.2699, allocations: 478.9 kB / 1.026 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.27, allocations: 45.69 kB / 1.026 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.861e-05/0.2701, allocations: 64.12 kB / 1.026 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009512/0.271, allocations: 0.5951 MB / 1.027 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.2711, allocations: 0 / 1.027 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.048e-05/0.2711, allocations: 28 kB / 1.027 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.2711, allocations: 16 kB / 1.027 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000859/0.272, allocations: 447.2 kB / 1.027 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002509/0.2745, allocations: 1.694 MB / 1.029 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00306/0.2776, allocations: 0.8373 MB / 1.03 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004627/0.2781, allocations: 275.3 kB / 1.03 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004199/0.2785, allocations: 433.4 kB / 1.031 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.2785, allocations: 46.56 kB / 1.031 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 3.477e-06/0.2786, allocations: 0 / 1.031 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72): time 0.001513/0.2801, allocations: 0.7167 MB / 1.031 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.2802, allocations: 136.5 kB / 1.031 GB, free: 5.691 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.2805, allocations: 329.7 kB / 1.032 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.2805, allocations: 41.7 kB / 1.032 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.2807, allocations: 236.9 kB / 1.032 GB, free: 5.078 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.2809, allocations: 240.5 kB / 1.032 GB, free: 4.84 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.2809, allocations: 12 kB / 1.032 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2811, allocations: 358.7 kB / 1.033 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/0.2814, allocations: 161.2 kB / 1.033 GB, free: 4.312 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.2818, allocations: 221.8 kB / 1.033 GB, free: 4.082 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007973/0.2826, allocations: 441.2 kB / 1.033 GB, free: 3.645 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.2826, allocations: 4 kB / 1.033 GB, free: 3.641 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009458/0.2836, allocations: 0.5286 MB / 1.034 GB, free: 3.109 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.2836, allocations: 4 kB / 1.034 GB, free: 3.105 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.2836, allocations: 0 / 1.034 GB, free: 3.105 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.2836, allocations: 4 kB / 1.034 GB, free: 3.102 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006538/0.2843, allocations: 135.8 kB / 1.034 GB, free: 2.969 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.2843, allocations: 8 kB / 1.034 GB, free: 2.961 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003773/0.2847, allocations: 55.44 kB / 1.034 GB, free: 2.906 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/0.2848, allocations: 27.97 kB / 1.034 GB, free: 2.879 MB / 0.6511 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.0002693/0.285, allocations: 197.6 kB / 1.034 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.2852, allocations: 47.44 kB / 1.034 GB, free: 2.629 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/0.287, allocations: 0.9182 MB / 1.035 GB, free: 1.703 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.287, allocations: 12 kB / 1.035 GB, free: 1.691 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.287, allocations: 3.938 kB / 1.035 GB, free: 1.688 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.287, allocations: 11.97 kB / 1.035 GB, free: 1.676 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000936/0.288, allocations: 0.7152 MB / 1.036 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.288, allocations: 0 / 1.036 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007673/0.2888, allocations: 183.8 kB / 1.036 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.2888, allocations: 4 kB / 1.036 GB, free: 0.7266 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.2888, allocations: 27.98 kB / 1.036 GB, free: 0.6992 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.258e-06/0.2889, allocations: 11.94 kB / 1.036 GB, free: 0.6875 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.2889, allocations: 7.984 kB / 1.036 GB, free: 0.6797 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.2902, allocations: 1.054 MB / 1.037 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.2904, allocations: 220 kB / 1.037 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.249e-05/0.2905, allocations: 20 kB / 1.037 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004682/0.291, allocations: 24 kB / 1.037 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.263e-05/0.2911, allocations: 63.84 kB / 1.038 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.2911, allocations: 31.98 kB / 1.038 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002289/0.2914, allocations: 235.2 kB / 1.038 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2914, allocations: 0 / 1.038 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005477/0.2919, allocations: 155.6 kB / 1.038 GB, free: 14.86 MB / 0.6667 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.0001946/0.2921, allocations: 139 kB / 1.038 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.2932, allocations: 0.5365 MB / 1.039 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2932, allocations: 3.938 kB / 1.039 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005772/0.2938, allocations: 375.5 kB / 1.039 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005764/0.2944, allocations: 57.5 kB / 1.039 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.2964, allocations: 1.469 MB / 1.04 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.2969, allocations: 0.9144 MB / 1.041 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004708/0.2974, allocations: 116.7 kB / 1.041 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.2976, allocations: 87.38 kB / 1.042 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of SimCode: time 6.31e-07/0.2976, allocations: 0 / 1.042 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of Templates: time 0.009398/0.307, allocations: 4.741 MB / 1.046 GB, free: 6.406 MB / 0.6667 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)