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.702/1.702, allocations: 288.4 MB / 303.4 MB, free: 8.027 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.001305/0.001305, allocations: 180.5 kB / 372 MB, free: 10.26 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.648/1.648, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0007505/0.0007508, allocations: 93.92 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.0004957, allocations: 15.12 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2376, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.003508/0.2411, allocations: 3.009 MB / 0.9825 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003718/0.2449, allocations: 2.314 MB / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005651/0.2455, allocations: 15.94 kB / 0.9848 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.2457, allocations: 43.5 kB / 0.9848 GB, free: 22.27 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.00152/0.2472, allocations: 322 kB / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005796/0.2478, allocations: 231.7 kB / 0.9854 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008527/0.2487, allocations: 0.777 MB / 0.9861 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003897/0.2491, allocations: 260.7 kB / 0.9864 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04605/0.2951, allocations: 39.2 MB / 1.025 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.2957, allocations: 270.7 kB / 1.025 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.2959, allocations: 16 kB / 1.025 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.2961, allocations: 35.98 kB / 1.025 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.2962, allocations: 91.52 kB / 1.025 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.2963, allocations: 133.3 kB / 1.025 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0007008/0.2971, allocations: 0.6 MB / 1.026 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2971, allocations: 0 / 1.026 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2971, allocations: 0 / 1.026 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.5e-05/0.2971, allocations: 0 / 1.026 GB, free: 12.3 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.001811/0.2989, allocations: 0.8204 MB / 1.027 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.299, allocations: 12.02 kB / 1.027 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.2992, allocations: 75.06 kB / 1.027 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000789/0.3, allocations: 465.9 kB / 1.027 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.001e-05/0.3001, allocations: 49.31 kB / 1.027 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.3002, allocations: 60 kB / 1.027 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.3013, allocations: 0.5876 MB / 1.028 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.3014, allocations: 0 / 1.028 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.457e-05/0.3014, allocations: 24 kB / 1.028 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.3014, allocations: 16 kB / 1.028 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009401/0.3024, allocations: 451.4 kB / 1.028 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002753/0.3051, allocations: 1.701 MB / 1.03 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003021/0.3082, allocations: 0.8363 MB / 1.031 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005231/0.3087, allocations: 287.2 kB / 1.031 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000504/0.3093, allocations: 429.5 kB / 1.031 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.3093, allocations: 46.56 kB / 1.031 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 3.507e-06/0.3093, allocations: 0 / 1.031 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72): time 0.001667/0.311, allocations: 0.7166 MB / 1.032 GB, free: 5.441 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.983e-05/0.3111, allocations: 140.5 kB / 1.032 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/0.3115, allocations: 325.7 kB / 1.033 GB, free: 4.945 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.24e-05/0.3116, allocations: 41.7 kB / 1.033 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.3117, allocations: 236.9 kB / 1.033 GB, free: 4.66 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/0.312, allocations: 248.3 kB / 1.033 GB, free: 4.414 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.312, allocations: 12 kB / 1.033 GB, free: 4.402 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.3122, allocations: 354.8 kB / 1.033 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003729/0.3126, allocations: 161.2 kB / 1.034 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/0.313, allocations: 221.9 kB / 1.034 GB, free: 3.66 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.3134, allocations: 200.5 kB / 1.034 GB, free: 3.469 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3134, allocations: 7.953 kB / 1.034 GB, free: 3.461 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009998/0.3144, allocations: 0.5268 MB / 1.035 GB, free: 2.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3145, allocations: 10.34 kB / 1.035 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.3145, allocations: 0 / 1.035 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.3145, allocations: 4 kB / 1.035 GB, free: 2.918 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006058/0.3151, allocations: 131.8 kB / 1.035 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/0.3151, allocations: 7.938 kB / 1.035 GB, free: 2.781 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.3155, allocations: 47.44 kB / 1.035 GB, free: 2.734 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.3156, allocations: 35.97 kB / 1.035 GB, free: 2.699 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.000276/0.3159, allocations: 177.8 kB / 1.035 GB, free: 2.516 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.316, allocations: 55.39 kB / 1.035 GB, free: 2.461 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/0.318, allocations: 0.9314 MB / 1.036 GB, free: 1.531 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.318, allocations: 16 kB / 1.036 GB, free: 1.516 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.318, allocations: 0 / 1.036 GB, free: 1.516 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.318, allocations: 11.97 kB / 1.036 GB, free: 1.504 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.3191, allocations: 0.7036 MB / 1.037 GB, free: 0.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.3191, allocations: 4 kB / 1.037 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007354/0.3199, allocations: 191.7 kB / 1.037 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.3199, allocations: 7.938 kB / 1.037 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-05/0.3199, allocations: 23.98 kB / 1.037 GB, free: 0.5273 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.32, allocations: 4 kB / 1.037 GB, free: 0.5234 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.32, allocations: 4 kB / 1.037 GB, free: 0.5195 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.3214, allocations: 1.058 MB / 1.038 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00028/0.3217, allocations: 219.9 kB / 1.038 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.932e-05/0.3218, allocations: 31.92 kB / 1.038 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004426/0.3222, allocations: 20 kB / 1.038 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/0.3223, allocations: 63.91 kB / 1.038 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-05/0.3224, allocations: 35.98 kB / 1.038 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002374/0.3226, allocations: 235.2 kB / 1.038 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.295e-06/0.3226, allocations: 0 / 1.038 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006375/0.3233, allocations: 155.6 kB / 1.039 GB, free: 14.68 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.0002217/0.3235, allocations: 138.9 kB / 1.039 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.3246, allocations: 0.5414 MB / 1.039 GB, free: 14 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3246, allocations: 0 / 1.039 GB, free: 14 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005725/0.3252, allocations: 383.5 kB / 1.04 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005649/0.3258, allocations: 55.81 kB / 1.04 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.3281, allocations: 1.463 MB / 1.041 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/0.3287, allocations: 0.9144 MB / 1.042 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004605/0.3292, allocations: 112.7 kB / 1.042 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.3294, allocations: 83.38 kB / 1.042 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of SimCode: time 3.41e-07/0.3294, allocations: 3.938 kB / 1.042 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of Templates: time 0.01044/0.3398, allocations: 4.751 MB / 1.047 GB, free: 6.227 MB / 0.6667 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)