Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.379/1.379, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009359/0.0009358, allocations: 188.5 kB / 326.5 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205 MB / 0.5766 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007156/0.0007156, allocations: 87.58 kB / 0.6804 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003251, allocations: 8.688 kB / 0.7938 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1945, allocations: 105.4 MB / 0.8967 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.003441/0.198, allocations: 3.268 MB / 0.8999 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003477/0.2015, allocations: 2.375 MB / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006643/0.2022, allocations: 19.94 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.2025, allocations: 47.44 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.001487/0.204, allocations: 331.3 kB / 0.9026 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006117/0.2046, allocations: 295.7 kB / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.1205/0.3252, allocations: 7.308 MB / 0.91 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007828/0.326, allocations: 345.7 kB / 0.9104 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6881/1.014, allocations: 35.75 MB / 0.9453 GB, free: 18.72 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005028/1.015, allocations: 270.5 kB / 0.9455 GB, free: 18.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001529/1.015, allocations: 16 kB / 0.9455 GB, free: 18.44 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/1.015, allocations: 12 kB / 0.9456 GB, free: 18.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.824e-05/1.015, allocations: 103.4 kB / 0.9457 GB, free: 18.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002861/1.015, allocations: 278.3 kB / 0.9459 GB, free: 18.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005487/1.016, allocations: 0.5883 MB / 0.9465 GB, free: 17.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/1.016, allocations: 0 / 0.9465 GB, free: 17.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.844e-06/1.016, allocations: 0 / 0.9465 GB, free: 17.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.101e-05/1.016, allocations: 0 / 0.9465 GB, free: 17.46 MB / 0.6042 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.001974/1.018, allocations: 0.8379 MB / 0.9473 GB, free: 16.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/1.018, allocations: 12.03 kB / 0.9473 GB, free: 16.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/1.018, allocations: 76.09 kB / 0.9474 GB, free: 16.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005741/1.019, allocations: 467 kB / 0.9478 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/1.019, allocations: 168.7 kB / 0.948 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.768e-05/1.019, allocations: 59.94 kB / 0.9481 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/1.02, allocations: 0.6461 MB / 0.9487 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/1.02, allocations: 4 kB / 0.9487 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/1.02, allocations: 24 kB / 0.9487 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/1.02, allocations: 16 kB / 0.9487 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/1.022, allocations: 0.5225 MB / 0.9492 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/1.024, allocations: 1.721 MB / 0.9509 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003202/1.027, allocations: 0.9404 MB / 0.9518 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006922/1.028, allocations: 323.2 kB / 0.9522 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.805e-05/1.028, allocations: 23.95 kB / 0.9522 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/1.028, allocations: 46.5 kB / 0.9522 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=72): time 2.275e-06/1.028, allocations: 0 / 0.9522 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72): time 0.002166/1.03, allocations: 0.8343 MB / 0.953 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/1.03, allocations: 140.5 kB / 0.9532 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/1.031, allocations: 333.7 kB / 0.9535 GB, free: 9.996 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/1.031, allocations: 37.7 kB / 0.9535 GB, free: 9.953 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.584e-05/1.031, allocations: 240.9 kB / 0.9538 GB, free: 9.715 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/1.031, allocations: 232.5 kB / 0.954 GB, free: 9.484 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/1.031, allocations: 53.69 kB / 0.954 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.841e-05/1.031, allocations: 350.8 kB / 0.9544 GB, free: 9.074 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006056/1.032, allocations: 209.2 kB / 0.9546 GB, free: 8.871 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006134/1.032, allocations: 269.7 kB / 0.9548 GB, free: 8.594 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/1.034, allocations: 0.4915 MB / 0.9553 GB, free: 8.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/1.034, allocations: 3.938 kB / 0.9553 GB, free: 8.086 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001713/1.035, allocations: 0.6136 MB / 0.9559 GB, free: 7.465 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.035, allocations: 8 kB / 0.9559 GB, free: 7.457 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.035, allocations: 0 / 0.9559 GB, free: 7.457 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/1.035, allocations: 7.938 kB / 0.9559 GB, free: 7.449 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008182/1.036, allocations: 159.8 kB / 0.9561 GB, free: 7.293 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/1.036, allocations: 7.938 kB / 0.9561 GB, free: 7.285 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005646/1.037, allocations: 59.5 kB / 0.9561 GB, free: 7.227 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/1.037, allocations: 27.97 kB / 0.9562 GB, free: 7.199 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002175/1.037, allocations: 189.7 kB / 0.9563 GB, free: 7.004 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/1.037, allocations: 55.34 kB / 0.9564 GB, free: 6.949 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002185/1.039, allocations: 0.9882 MB / 0.9574 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/1.039, allocations: 12 kB / 0.9574 GB, free: 5.949 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.039, allocations: 8 kB / 0.9574 GB, free: 5.941 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/1.039, allocations: 7.969 kB / 0.9574 GB, free: 5.934 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007783/1.04, allocations: 0.7229 MB / 0.9581 GB, free: 5.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.04, allocations: 0 / 0.9581 GB, free: 5.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008187/1.041, allocations: 207.7 kB / 0.9583 GB, free: 4.957 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/1.041, allocations: 8 kB / 0.9583 GB, free: 4.949 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.146e-05/1.041, allocations: 27.98 kB / 0.9583 GB, free: 4.922 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/1.041, allocations: 8 kB / 0.9583 GB, free: 4.914 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.041, allocations: 0 / 0.9583 GB, free: 4.914 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/1.043, allocations: 1.141 MB / 0.9594 GB, free: 3.758 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/1.043, allocations: 220 kB / 0.9597 GB, free: 3.523 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.129e-05/1.043, allocations: 20 kB / 0.9597 GB, free: 3.504 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005361/1.044, allocations: 39.97 kB / 0.9597 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-05/1.044, allocations: 67.91 kB / 0.9598 GB, free: 3.398 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/1.044, allocations: 27.98 kB / 0.9598 GB, free: 3.371 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001726/1.044, allocations: 239.2 kB / 0.96 GB, free: 3.137 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/1.044, allocations: 0 / 0.96 GB, free: 3.137 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005057/1.045, allocations: 155.5 kB / 0.9602 GB, free: 2.984 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001248/1.045, allocations: 127.1 kB / 0.9603 GB, free: 2.852 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001512/1.046, allocations: 0.6327 MB / 0.9609 GB, free: 2.223 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.046, allocations: 0 / 0.9609 GB, free: 2.223 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007905/1.047, allocations: 432.1 kB / 0.9613 GB, free: 1.801 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/1.048, allocations: 50.69 kB / 0.9614 GB, free: 1.754 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/1.05, allocations: 1.587 MB / 0.9629 GB, free: 124 kB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/1.05, allocations: 0.9141 MB / 0.9638 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/1.051, allocations: 95.38 kB / 0.9639 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/1.051, allocations: 0 / 0.9639 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of Templates: time 0.01067/1.061, allocations: 7.121 MB / 0.9709 GB, free: 7.949 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)