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.415/1.415, allocations: 252 MB / 267.6 MB, free: 10.92 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.0009302/0.00093, allocations: 180.6 kB / 327.3 MB, free: 2.203 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.702/1.702, allocations: 205.4 MB / 0.5783 GB, free: 20.55 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.0007355/0.0007358, allocations: 83.98 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004078, allocations: 9.031 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2509, allocations: 106.3 MB / 0.9008 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.003083/0.2541, allocations: 3.017 MB / 0.9038 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003299/0.2574, allocations: 2.267 MB / 0.906 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003058/0.2577, allocations: 15.94 kB / 0.906 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.379e-05/0.2578, allocations: 47.44 kB / 0.906 GB, free: 58.9 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.0009812/0.2588, allocations: 328.3 kB / 0.9063 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.2592, allocations: 235.7 kB / 0.9066 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007884/0.2671, allocations: 6.792 MB / 0.9132 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004591/0.2676, allocations: 260.6 kB / 0.9135 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03599/0.3036, allocations: 33.2 MB / 0.9459 GB, free: 18.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003911/0.304, allocations: 258.6 kB / 0.9461 GB, free: 17.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.741e-05/0.3041, allocations: 16 kB / 0.9461 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.454e-05/0.3042, allocations: 16 kB / 0.9462 GB, free: 17.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.793e-05/0.3042, allocations: 95.52 kB / 0.9462 GB, free: 17.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.3044, allocations: 141.3 kB / 0.9464 GB, free: 17.53 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004734/0.3049, allocations: 0.5922 MB / 0.947 GB, free: 16.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3049, allocations: 0 / 0.947 GB, free: 16.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3049, allocations: 0 / 0.947 GB, free: 16.94 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.3049, allocations: 0 / 0.947 GB, free: 16.94 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.001743/0.3067, allocations: 0.8416 MB / 0.9478 GB, free: 16.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3067, allocations: 8.031 kB / 0.9478 GB, free: 16.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.3068, allocations: 75.11 kB / 0.9479 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005762/0.3074, allocations: 466 kB / 0.9483 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002878/0.3077, allocations: 168.1 kB / 0.9485 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.427e-05/0.3078, allocations: 56 kB / 0.9485 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.309, allocations: 0.6383 MB / 0.9491 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.3091, allocations: 4 kB / 0.9491 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/0.3091, allocations: 24 kB / 0.9492 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.3091, allocations: 12 kB / 0.9492 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.3106, allocations: 0.515 MB / 0.9497 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.3128, allocations: 1.721 MB / 0.9514 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003477/0.3163, allocations: 0.9209 MB / 0.9523 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007698/0.3171, allocations: 327.2 kB / 0.9526 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.02e-05/0.3171, allocations: 23.91 kB / 0.9526 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.3172, allocations: 42.56 kB / 0.9526 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=72): time 2.355e-06/0.3172, allocations: 4 kB / 0.9526 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72): time 0.002403/0.3196, allocations: 0.8368 MB / 0.9535 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.3197, allocations: 140.5 kB / 0.9536 GB, free: 9.852 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.3199, allocations: 325.7 kB / 0.9539 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.32, allocations: 37.7 kB / 0.9539 GB, free: 9.484 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3201, allocations: 237 kB / 0.9542 GB, free: 9.246 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.3202, allocations: 244.4 kB / 0.9544 GB, free: 9.004 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.3203, allocations: 8 kB / 0.9544 GB, free: 8.996 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.387e-05/0.3203, allocations: 362.7 kB / 0.9547 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006686/0.321, allocations: 205.2 kB / 0.9549 GB, free: 8.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000685/0.3217, allocations: 261.8 kB / 0.9552 GB, free: 8.164 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007083/0.3224, allocations: 230.5 kB / 0.9554 GB, free: 7.941 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3224, allocations: 0 / 0.9554 GB, free: 7.941 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001549/0.324, allocations: 0.6063 MB / 0.956 GB, free: 7.332 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.324, allocations: 4 kB / 0.956 GB, free: 7.328 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3241, allocations: 4 kB / 0.956 GB, free: 7.324 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3241, allocations: 4 kB / 0.956 GB, free: 7.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007504/0.3248, allocations: 155.7 kB / 0.9562 GB, free: 7.168 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.3249, allocations: 4 kB / 0.9562 GB, free: 7.164 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004982/0.3254, allocations: 59.52 kB / 0.9562 GB, free: 7.105 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.754e-05/0.3254, allocations: 31.97 kB / 0.9563 GB, free: 7.074 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.0002114/0.3256, allocations: 189.7 kB / 0.9564 GB, free: 6.879 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.3258, allocations: 59.28 kB / 0.9565 GB, free: 6.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.3281, allocations: 0.9996 MB / 0.9575 GB, free: 5.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.3281, allocations: 16 kB / 0.9575 GB, free: 5.805 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.3281, allocations: 4 kB / 0.9575 GB, free: 5.801 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.3282, allocations: 3.984 kB / 0.9575 GB, free: 5.797 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008002/0.329, allocations: 0.7191 MB / 0.9582 GB, free: 5.027 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.329, allocations: 0 / 0.9582 GB, free: 5.027 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008947/0.3299, allocations: 207.7 kB / 0.9584 GB, free: 4.824 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.3299, allocations: 4 kB / 0.9584 GB, free: 4.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.322e-05/0.3299, allocations: 31.97 kB / 0.9584 GB, free: 4.789 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.33, allocations: 8 kB / 0.9584 GB, free: 4.781 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.33, allocations: 0 / 0.9584 GB, free: 4.781 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.3319, allocations: 1.13 MB / 0.9595 GB, free: 3.637 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.3321, allocations: 219.9 kB / 0.9597 GB, free: 3.402 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.058e-05/0.3322, allocations: 27.98 kB / 0.9598 GB, free: 3.375 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005857/0.3328, allocations: 35.98 kB / 0.9598 GB, free: 3.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.049e-05/0.3328, allocations: 63.91 kB / 0.9599 GB, free: 3.277 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.58e-05/0.3329, allocations: 35.97 kB / 0.9599 GB, free: 3.242 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002051/0.3331, allocations: 235.1 kB / 0.9601 GB, free: 3.012 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3331, allocations: 0 / 0.9601 GB, free: 3.012 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005872/0.3337, allocations: 155.5 kB / 0.9603 GB, free: 2.859 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.0001937/0.3339, allocations: 131 kB / 0.9604 GB, free: 2.723 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001798/0.3357, allocations: 0.6174 MB / 0.961 GB, free: 2.109 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.3357, allocations: 0 / 0.961 GB, free: 2.109 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008969/0.3366, allocations: 424.2 kB / 0.9614 GB, free: 1.695 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.3372, allocations: 61.59 kB / 0.9615 GB, free: 1.641 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.3396, allocations: 1.547 MB / 0.963 GB, free: 48 kB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005897/0.3402, allocations: 0.9141 MB / 0.9639 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/0.3405, allocations: 95.36 kB / 0.964 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of SimCode: time 1.943e-06/0.3405, allocations: 0 / 0.964 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.01135/0.3519, allocations: 7.145 MB / 0.9709 GB, free: 7.879 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)