Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 106 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 192.4 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.749/1.749, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002255, allocations: 71.89 kB / 0.6729 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2429, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.3744/0.6173, allocations: 3.546 MB / 0.7882 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003246/0.6206, allocations: 2.458 MB / 0.7906 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002858/0.6209, allocations: 20 kB / 0.7906 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.621, allocations: 73.88 kB / 0.7907 GB, free: 46.47 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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.001052/0.6222, allocations: 399.5 kB / 0.7911 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.6226, allocations: 318.4 kB / 0.7914 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005857/0.6232, allocations: 0.8706 MB / 0.7923 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.6236, allocations: 372.1 kB / 0.7926 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2582/0.8818, allocations: 46.18 MB / 0.8377 GB, free: 25.13 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005775/0.8824, allocations: 352.2 kB / 0.838 GB, free: 24.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.8825, allocations: 69.91 kB / 0.8381 GB, free: 24.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.8827, allocations: 94.62 kB / 0.8382 GB, free: 24.95 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.8828, allocations: 161.6 kB / 0.8383 GB, free: 24.84 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003163/0.8832, allocations: 355.7 kB / 0.8387 GB, free: 24.61 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009127/0.8841, allocations: 0.8449 MB / 0.8395 GB, free: 24.23 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.8841, allocations: 0 / 0.8395 GB, free: 24.23 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8841, allocations: 0 / 0.8395 GB, free: 24.23 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.8841, allocations: 0.9844 kB / 0.8395 GB, free: 24.23 MB / 0.6544 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.00152/0.8857, allocations: 0.9483 MB / 0.8404 GB, free: 23.54 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.8857, allocations: 9.5 kB / 0.8404 GB, free: 23.54 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.8858, allocations: 72.8 kB / 0.8405 GB, free: 23.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005815/0.8864, allocations: 477.7 kB / 0.841 GB, free: 23.17 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.8864, allocations: 45.5 kB / 0.841 GB, free: 23.15 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-05/0.8865, allocations: 63.41 kB / 0.8411 GB, free: 23.12 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009511/0.8875, allocations: 0.6003 MB / 0.8417 GB, free: 22.86 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.8875, allocations: 0 / 0.8417 GB, free: 22.86 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.812e-05/0.8876, allocations: 26.19 kB / 0.8417 GB, free: 22.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.8876, allocations: 14.84 kB / 0.8417 GB, free: 22.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008443/0.8884, allocations: 455.7 kB / 0.8421 GB, free: 22.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/0.8912, allocations: 1.672 MB / 0.8438 GB, free: 21.68 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/0.8941, allocations: 0.8379 MB / 0.8446 GB, free: 21.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005568/0.8947, allocations: 296.9 kB / 0.8449 GB, free: 21.2 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003702/0.8951, allocations: 428.7 kB / 0.8453 GB, free: 20.72 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.8951, allocations: 43.08 kB / 0.8453 GB, free: 20.67 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 2.755e-06/0.8951, allocations: 0 / 0.8453 GB, free: 20.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.001517/0.8966, allocations: 0.7174 MB / 0.846 GB, free: 20.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.8967, allocations: 136.2 kB / 0.8462 GB, free: 20.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.897, allocations: 332.2 kB / 0.8465 GB, free: 20.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.897, allocations: 40.52 kB / 0.8465 GB, free: 20.01 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.8971, allocations: 242.1 kB / 0.8467 GB, free: 19.82 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.8973, allocations: 237.2 kB / 0.847 GB, free: 19.63 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.8974, allocations: 113 kB / 0.8471 GB, free: 19.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.628e-05/0.8975, allocations: 354.7 kB / 0.8474 GB, free: 19.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.8979, allocations: 165.4 kB / 0.8476 GB, free: 19.19 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.8983, allocations: 231.5 kB / 0.8478 GB, free: 19.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007665/0.8991, allocations: 444 kB / 0.8482 GB, free: 18.86 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8991, allocations: 3.938 kB / 0.8482 GB, free: 18.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009486/0.9, allocations: 0.5368 MB / 0.8487 GB, free: 18.63 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.9, allocations: 6.062 kB / 0.8487 GB, free: 18.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.9001, allocations: 5.531 kB / 0.8488 GB, free: 18.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.9001, allocations: 2.906 kB / 0.8488 GB, free: 18.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006285/0.9007, allocations: 137.3 kB / 0.8489 GB, free: 18.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.9007, allocations: 4.297 kB / 0.8489 GB, free: 18.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.9011, allocations: 47.09 kB / 0.8489 GB, free: 18.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.9011, allocations: 26.44 kB / 0.849 GB, free: 18.57 MB / 0.6544 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.0001856/0.9013, allocations: 191.5 kB / 0.8491 GB, free: 18.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.9015, allocations: 51.59 kB / 0.8492 GB, free: 18.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.9032, allocations: 0.9201 MB / 0.8501 GB, free: 18.01 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.9032, allocations: 11.81 kB / 0.8501 GB, free: 18.01 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.9032, allocations: 1.094 kB / 0.8501 GB, free: 18.01 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.9033, allocations: 6.828 kB / 0.8501 GB, free: 18.01 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009564/0.9042, allocations: 0.7146 MB / 0.8508 GB, free: 17.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.9042, allocations: 1.75 kB / 0.8508 GB, free: 17.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007743/0.905, allocations: 194.4 kB / 0.851 GB, free: 17.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.905, allocations: 8.562 kB / 0.851 GB, free: 17.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.856e-05/0.9051, allocations: 23.19 kB / 0.851 GB, free: 17.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.9051, allocations: 4.375 kB / 0.851 GB, free: 17.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.9051, allocations: 2.859 kB / 0.851 GB, free: 17.53 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.9064, allocations: 1.065 MB / 0.8521 GB, free: 16.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002411/0.9067, allocations: 215.2 kB / 0.8523 GB, free: 16.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.237e-05/0.9067, allocations: 22 kB / 0.8523 GB, free: 16.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/0.9072, allocations: 18.97 kB / 0.8523 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.9073, allocations: 69.47 kB / 0.8524 GB, free: 16.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-05/0.9074, allocations: 32.53 kB / 0.8524 GB, free: 16.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002208/0.9076, allocations: 237.5 kB / 0.8526 GB, free: 16.55 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9076, allocations: 1.188 kB / 0.8526 GB, free: 16.55 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005963/0.9082, allocations: 165.8 kB / 0.8528 GB, free: 16.5 MB / 0.6544 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.0001604/0.9084, allocations: 135.9 kB / 0.8529 GB, free: 16.38 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.9094, allocations: 0.5346 MB / 0.8535 GB, free: 16.22 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.9094, allocations: 0 / 0.8535 GB, free: 16.22 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006001/0.91, allocations: 386.5 kB / 0.8538 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.9113, allocations: 69.28 kB / 0.8539 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.9131, allocations: 1.18 MB / 0.855 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.9135, allocations: 0.9146 MB / 0.8559 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000385/0.9139, allocations: 114.5 kB / 0.856 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.9141, allocations: 83.64 kB / 0.8561 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of SimCode: time 4.91e-07/0.9141, allocations: 0 / 0.8561 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of Templates: time 0.01308/0.9272, allocations: 5.188 MB / 0.8612 GB, free: 13.79 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)