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.421/1.421, allocations: 251.5 MB / 267.4 MB, free: 11.09 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.0009465/0.0009465, allocations: 174.9 kB / 326.5 MB, free: 2.719 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.535/1.535, allocations: 205 MB / 0.5767 GB, free: 21 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.00069/0.00069, allocations: 102.2 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000318/0.000318, allocations: 5.75 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1853, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.003072/0.1884, allocations: 3.253 MB / 0.8999 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002989/0.1914, allocations: 2.383 MB / 0.9022 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003022/0.1918, allocations: 15.94 kB / 0.9023 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.1919, allocations: 43.5 kB / 0.9023 GB, free: 62.5 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.0009301/0.1928, allocations: 337.2 kB / 0.9026 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.1932, allocations: 295.7 kB / 0.9029 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.1206/0.3139, allocations: 7.312 MB / 0.91 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005356/0.3144, allocations: 345.7 kB / 0.9104 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6945/1.009, allocations: 35.73 MB / 0.9453 GB, free: 19.28 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003535/1.009, allocations: 278.5 kB / 0.9455 GB, free: 19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.555e-05/1.009, allocations: 12 kB / 0.9455 GB, free: 18.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-05/1.009, allocations: 16 kB / 0.9456 GB, free: 18.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.436e-05/1.01, allocations: 99.41 kB / 0.9457 GB, free: 18.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002224/1.01, allocations: 278.3 kB / 0.9459 GB, free: 18.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004958/1.01, allocations: 0.7354 MB / 0.9466 GB, free: 17.87 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/1.01, allocations: 4 kB / 0.9466 GB, free: 17.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.434e-06/1.01, allocations: 3.984 kB / 0.9466 GB, free: 17.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.145e-06/1.01, allocations: 0 / 0.9466 GB, free: 17.86 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.001622/1.012, allocations: 0.8456 MB / 0.9475 GB, free: 16.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/1.012, allocations: 8.031 kB / 0.9475 GB, free: 16.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/1.012, allocations: 72.09 kB / 0.9476 GB, free: 16.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/1.013, allocations: 471 kB / 0.948 GB, free: 16.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002557/1.013, allocations: 172.7 kB / 0.9482 GB, free: 16.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.776e-05/1.013, allocations: 67.88 kB / 0.9482 GB, free: 16.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/1.014, allocations: 0.6422 MB / 0.9489 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/1.014, allocations: 0 / 0.9489 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.578e-05/1.014, allocations: 28 kB / 0.9489 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/1.014, allocations: 16 kB / 0.9489 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/1.015, allocations: 0.5264 MB / 0.9494 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/1.017, allocations: 1.717 MB / 0.9511 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003268/1.021, allocations: 0.9248 MB / 0.952 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007074/1.021, allocations: 331.1 kB / 0.9523 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.289e-05/1.021, allocations: 23.95 kB / 0.9523 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/1.021, allocations: 46.5 kB / 0.9524 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=72): time 2.564e-06/1.022, allocations: 4 kB / 0.9524 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72): time 0.002181/1.024, allocations: 0.8229 MB / 0.9532 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/1.024, allocations: 140.5 kB / 0.9533 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/1.024, allocations: 333.7 kB / 0.9536 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/1.024, allocations: 37.7 kB / 0.9537 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.377e-05/1.024, allocations: 240.9 kB / 0.9539 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/1.024, allocations: 236.5 kB / 0.9541 GB, free: 9.883 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.689e-05/1.024, allocations: 53.69 kB / 0.9542 GB, free: 9.824 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.341e-05/1.024, allocations: 350.8 kB / 0.9545 GB, free: 9.473 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006175/1.025, allocations: 209.2 kB / 0.9547 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006317/1.026, allocations: 269.7 kB / 0.955 GB, free: 8.992 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/1.027, allocations: 0.4913 MB / 0.9554 GB, free: 8.488 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.027, allocations: 4 kB / 0.9555 GB, free: 8.484 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00155/1.028, allocations: 0.6099 MB / 0.956 GB, free: 7.867 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/1.029, allocations: 4 kB / 0.9561 GB, free: 7.863 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/1.029, allocations: 0 / 0.9561 GB, free: 7.863 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/1.029, allocations: 4 kB / 0.9561 GB, free: 7.859 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008512/1.029, allocations: 159.8 kB / 0.9562 GB, free: 7.703 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/1.029, allocations: 4 kB / 0.9562 GB, free: 7.699 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005401/1.03, allocations: 63.5 kB / 0.9563 GB, free: 7.637 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-05/1.03, allocations: 27.97 kB / 0.9563 GB, free: 7.609 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.0002093/1.03, allocations: 193.7 kB / 0.9565 GB, free: 7.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/1.03, allocations: 51.34 kB / 0.9565 GB, free: 7.359 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/1.033, allocations: 0.996 MB / 0.9575 GB, free: 6.363 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/1.033, allocations: 7.969 kB / 0.9575 GB, free: 6.355 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.033, allocations: 0 / 0.9575 GB, free: 6.355 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/1.033, allocations: 223.9 kB / 0.9577 GB, free: 6.117 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.779e-05/1.033, allocations: 16 kB / 0.9577 GB, free: 6.102 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005278/1.034, allocations: 47.98 kB / 0.9578 GB, free: 6.055 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/1.034, allocations: 71.83 kB / 0.9579 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001967/1.036, allocations: 1.182 MB / 0.959 GB, free: 4.793 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001592/1.037, allocations: 1.205 MB / 0.9602 GB, free: 3.57 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007024/1.038, allocations: 384.1 kB / 0.9606 GB, free: 3.195 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001619/1.038, allocations: 239.2 kB / 0.9608 GB, free: 2.961 MB / 0.6042 GB Notification: Performance of Backend: time 4.91e-07/1.038, allocations: 4 kB / 0.9608 GB, free: 2.957 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001344/1.039, allocations: 429.9 kB / 0.9612 GB, free: 2.531 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001173/1.041, allocations: 1.619 MB / 0.9628 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of Templates: time 0.01/1.051, allocations: 5.767 MB / 0.9684 GB, free: 11.12 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)