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 2.634/2.634, allocations: 287.5 MB / 302.4 MB, free: 8.281 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.001464/0.001463, allocations: 174.3 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.156/2.156, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009249/0.0009246, allocations: 95.3 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006627/0.0006629, allocations: 12.28 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2436, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.004583/0.2483, allocations: 3.013 MB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005293/0.2537, allocations: 2.306 MB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006387/0.2544, allocations: 19.94 kB / 0.9836 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.2545, allocations: 43.5 kB / 0.9836 GB, free: 22.98 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.002061/0.2566, allocations: 328.6 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008273/0.2574, allocations: 231.7 kB / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001232/0.2587, allocations: 0.7731 MB / 0.9849 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005297/0.2593, allocations: 260.7 kB / 0.9851 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.09749/0.3568, allocations: 39.2 MB / 1.023 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006784/0.3575, allocations: 266.6 kB / 1.024 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.3576, allocations: 16 kB / 1.024 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.3579, allocations: 35.98 kB / 1.024 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.358, allocations: 95.52 kB / 1.024 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.3582, allocations: 137.3 kB / 1.024 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0009598/0.3592, allocations: 0.5999 MB / 1.025 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3592, allocations: 0 / 1.025 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3593, allocations: 0 / 1.025 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.3593, allocations: 0 / 1.025 GB, free: 13.01 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.002689/0.362, allocations: 0.8127 MB / 1.025 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.362, allocations: 12.02 kB / 1.025 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.3623, allocations: 79.02 kB / 1.025 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.3633, allocations: 465.9 kB / 1.026 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.341e-05/0.3634, allocations: 45.31 kB / 1.026 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.3636, allocations: 60 kB / 1.026 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/0.3654, allocations: 0.5913 MB / 1.027 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/0.3655, allocations: 7.922 kB / 1.027 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.71e-05/0.3656, allocations: 24 kB / 1.027 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.3656, allocations: 16 kB / 1.027 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.3673, allocations: 451.2 kB / 1.027 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004772/0.3721, allocations: 1.697 MB / 1.029 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00598/0.3781, allocations: 0.8391 MB / 1.029 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.3792, allocations: 287.2 kB / 1.03 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007086/0.38, allocations: 425.5 kB / 1.03 GB, free: 6.922 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.38, allocations: 42.56 kB / 1.03 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 3.757e-06/0.38, allocations: 0 / 1.03 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72): time 0.002819/0.3829, allocations: 0.7125 MB / 1.031 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.96e-05/0.383, allocations: 140.5 kB / 1.031 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005575/0.3836, allocations: 329.7 kB / 1.031 GB, free: 5.66 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.177e-05/0.3837, allocations: 37.7 kB / 1.031 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.3839, allocations: 236.9 kB / 1.032 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/0.3843, allocations: 248.3 kB / 1.032 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.3843, allocations: 8 kB / 1.032 GB, free: 5.125 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.3845, allocations: 362.7 kB / 1.032 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006954/0.3852, allocations: 169.2 kB / 1.032 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007396/0.386, allocations: 225.8 kB / 1.033 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007744/0.3868, allocations: 195.3 kB / 1.033 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.3868, allocations: 0 / 1.033 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001924/0.3887, allocations: 0.532 MB / 1.033 GB, free: 3.641 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.3888, allocations: 4 kB / 1.033 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.3888, allocations: 0 / 1.033 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.118e-05/0.3889, allocations: 4 kB / 1.033 GB, free: 3.633 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.3902, allocations: 131.8 kB / 1.033 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.138e-05/0.3902, allocations: 7.984 kB / 1.033 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007097/0.391, allocations: 51.44 kB / 1.033 GB, free: 3.445 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.281e-05/0.3911, allocations: 27.97 kB / 1.033 GB, free: 3.418 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.0004404/0.3915, allocations: 189.7 kB / 1.034 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.3918, allocations: 55.44 kB / 1.034 GB, free: 3.168 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003493/0.3953, allocations: 0.9257 MB / 1.035 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-05/0.3953, allocations: 15.98 kB / 1.035 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.3954, allocations: 0 / 1.035 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.213e-05/0.3954, allocations: 7.984 kB / 1.035 GB, free: 2.219 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.3972, allocations: 0.7113 MB / 1.035 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.3973, allocations: 11.94 kB / 1.035 GB, free: 1.445 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/0.3989, allocations: 187.7 kB / 1.036 GB, free: 1.262 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.845e-05/0.399, allocations: 4 kB / 1.036 GB, free: 1.258 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-05/0.399, allocations: 23.98 kB / 1.036 GB, free: 1.234 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/0.3991, allocations: 4 kB / 1.036 GB, free: 1.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.3991, allocations: 4 kB / 1.036 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002514/0.4016, allocations: 1.062 MB / 1.037 GB, free: 152 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004833/0.4021, allocations: 223.9 kB / 1.037 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.4023, allocations: 23.98 kB / 1.037 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007272/0.403, allocations: 20 kB / 1.037 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.4032, allocations: 63.91 kB / 1.037 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.66e-05/0.4033, allocations: 31.98 kB / 1.037 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005092/0.4038, allocations: 239.2 kB / 1.037 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4038, allocations: 0 / 1.037 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001057/0.4049, allocations: 151.7 kB / 1.037 GB, free: 15.39 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.000346/0.4053, allocations: 139 kB / 1.037 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002116/0.4074, allocations: 0.5361 MB / 1.038 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.4075, allocations: 3.938 kB / 1.038 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.4087, allocations: 383.5 kB / 1.038 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009372/0.4097, allocations: 57.52 kB / 1.038 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/0.4135, allocations: 1.463 MB / 1.04 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006941/0.4142, allocations: 0.9144 MB / 1.041 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008857/0.4151, allocations: 112.7 kB / 1.041 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/0.4155, allocations: 79.39 kB / 1.041 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of SimCode: time 1.143e-06/0.4155, allocations: 4 kB / 1.041 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of Templates: time 0.01723/0.4327, allocations: 4.751 MB / 1.046 GB, free: 6.934 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)