Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.358/2.358, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001291/0.00129, allocations: 182.7 kB / 325.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.368/2.368, allocations: 205.4 MB / 0.5767 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001048/0.001047, allocations: 93.33 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.00049, allocations: 10.97 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2032, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.004246/0.2075, allocations: 3.009 MB / 0.902 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004626/0.2122, allocations: 2.271 MB / 0.9042 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005268/0.2128, allocations: 19.94 kB / 0.9042 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.2129, allocations: 47.48 kB / 0.9043 GB, free: 60.03 MB / 0.6042 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.00177/0.2147, allocations: 328.2 kB / 0.9046 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007227/0.2155, allocations: 231.7 kB / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01479/0.2303, allocations: 6.788 MB / 0.9114 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007236/0.231, allocations: 316.7 kB / 0.9117 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07165/0.3027, allocations: 33.21 MB / 0.9441 GB, free: 19.13 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006178/0.3034, allocations: 258.7 kB / 0.9444 GB, free: 18.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.3036, allocations: 16 kB / 0.9444 GB, free: 18.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.3037, allocations: 16 kB / 0.9444 GB, free: 18.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.845e-05/0.3038, allocations: 99.5 kB / 0.9445 GB, free: 18.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.304, allocations: 137.3 kB / 0.9447 GB, free: 18.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006952/0.3047, allocations: 0.5844 MB / 0.9452 GB, free: 18.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.3047, allocations: 0 / 0.9452 GB, free: 18.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3047, allocations: 0 / 0.9452 GB, free: 18.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.3047, allocations: 0 / 0.9452 GB, free: 18.02 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.003054/0.3078, allocations: 0.8457 MB / 0.946 GB, free: 17.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.3079, allocations: 16.03 kB / 0.9461 GB, free: 17.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.3081, allocations: 72.09 kB / 0.9461 GB, free: 17.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008379/0.3089, allocations: 459.3 kB / 0.9466 GB, free: 16.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004765/0.3094, allocations: 172.7 kB / 0.9467 GB, free: 16.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.3096, allocations: 59.94 kB / 0.9468 GB, free: 16.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.3117, allocations: 0.6459 MB / 0.9474 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.3118, allocations: 0 / 0.9474 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.441e-05/0.3119, allocations: 24 kB / 0.9474 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.3119, allocations: 16 kB / 0.9475 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002907/0.3148, allocations: 0.5149 MB / 0.948 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003847/0.3187, allocations: 1.717 MB / 0.9496 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00694/0.3257, allocations: 0.9208 MB / 0.9505 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/0.3274, allocations: 329.6 kB / 0.9509 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.599e-05/0.3275, allocations: 19.97 kB / 0.9509 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.3276, allocations: 38.56 kB / 0.9509 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=72): time 5.29e-06/0.3276, allocations: 7.922 kB / 0.9509 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72): time 0.004566/0.3322, allocations: 0.8294 MB / 0.9517 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.3323, allocations: 140.5 kB / 0.9519 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004197/0.3327, allocations: 325.7 kB / 0.9522 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.844e-05/0.3328, allocations: 41.7 kB / 0.9522 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.3329, allocations: 237 kB / 0.9524 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.3332, allocations: 244.4 kB / 0.9527 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.3332, allocations: 12 kB / 0.9527 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.646e-05/0.3333, allocations: 354.8 kB / 0.953 GB, free: 9.711 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.3347, allocations: 201.2 kB / 0.9532 GB, free: 9.512 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.3361, allocations: 265.8 kB / 0.9535 GB, free: 9.242 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.3375, allocations: 227 kB / 0.9537 GB, free: 9.023 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.3375, allocations: 3.938 kB / 0.9537 GB, free: 9.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003067/0.3406, allocations: 0.6103 MB / 0.9543 GB, free: 8.406 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.3406, allocations: 8 kB / 0.9543 GB, free: 8.398 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3407, allocations: 0 / 0.9543 GB, free: 8.398 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.3407, allocations: 4 kB / 0.9543 GB, free: 8.395 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.3423, allocations: 155.8 kB / 0.9544 GB, free: 8.242 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.3423, allocations: 7.938 kB / 0.9545 GB, free: 8.234 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.3434, allocations: 63.5 kB / 0.9545 GB, free: 8.172 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.327e-05/0.3435, allocations: 27.97 kB / 0.9545 GB, free: 8.145 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000344/0.3438, allocations: 193.7 kB / 0.9547 GB, free: 7.945 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.344, allocations: 55.28 kB / 0.9548 GB, free: 7.891 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004259/0.3483, allocations: 0.9964 MB / 0.9557 GB, free: 6.895 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.3484, allocations: 12 kB / 0.9558 GB, free: 6.883 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.3484, allocations: 0 / 0.9558 GB, free: 6.883 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/0.3484, allocations: 7.969 kB / 0.9558 GB, free: 6.875 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.3497, allocations: 0.7191 MB / 0.9565 GB, free: 6.105 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.3498, allocations: 4 kB / 0.9565 GB, free: 6.102 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001941/0.3517, allocations: 211.7 kB / 0.9567 GB, free: 5.895 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/0.3518, allocations: 4 kB / 0.9567 GB, free: 5.891 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.571e-05/0.3518, allocations: 27.98 kB / 0.9567 GB, free: 5.863 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/0.3519, allocations: 4 kB / 0.9567 GB, free: 5.859 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3519, allocations: 3.938 kB / 0.9567 GB, free: 5.855 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/0.3553, allocations: 1.134 MB / 0.9578 GB, free: 4.711 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003561/0.3557, allocations: 223.9 kB / 0.958 GB, free: 4.473 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.3558, allocations: 19.94 kB / 0.9581 GB, free: 4.453 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.3569, allocations: 43.97 kB / 0.9581 GB, free: 4.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.3571, allocations: 59.91 kB / 0.9582 GB, free: 4.352 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.401e-05/0.3572, allocations: 35.98 kB / 0.9582 GB, free: 4.316 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003197/0.3575, allocations: 235.2 kB / 0.9584 GB, free: 4.086 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.533e-06/0.3575, allocations: 0 / 0.9584 GB, free: 4.086 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008107/0.3583, allocations: 155.6 kB / 0.9586 GB, free: 3.934 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 (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.0001982/0.3586, allocations: 129.5 kB / 0.9587 GB, free: 3.801 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003241/0.3618, allocations: 0.6219 MB / 0.9593 GB, free: 3.184 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.3619, allocations: 0 / 0.9593 GB, free: 3.184 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.3636, allocations: 424.8 kB / 0.9597 GB, free: 2.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008506/0.3645, allocations: 49.56 kB / 0.9597 GB, free: 2.723 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.3683, allocations: 1.518 MB / 0.9612 GB, free: 1.164 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.3687, allocations: 0.9102 MB / 0.9621 GB, free: 232 kB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008332/0.3696, allocations: 120.7 kB / 0.9622 GB, free: 108 kB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003668/0.3699, allocations: 87.38 kB / 0.9623 GB, free: 20 kB / 0.6042 GB Notification: Performance of SimCode: time 1.252e-06/0.3699, allocations: 4 kB / 0.9623 GB, free: 16 kB / 0.6042 GB Notification: Performance of Templates: time 0.01653/0.3865, allocations: 4.758 MB / 0.967 GB, free: 11.3 MB / 0.6198 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)