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.001425/0.001426, allocations: 104.9 kB / 16.36 MB, free: 6.301 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.001111/0.001112, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.409/1.409, 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.743/1.743, allocations: 292.3 MB / 0.5496 GB, free: 17.4 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.001419/0.00142, allocations: 71.89 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2441, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.4202/0.6643, allocations: 3.548 MB / 0.7882 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003947/0.6683, allocations: 2.462 MB / 0.7906 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003828/0.6687, allocations: 16.78 kB / 0.7907 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.669, allocations: 76.83 kB / 0.7907 GB, free: 46.45 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.001338/0.6704, allocations: 399.4 kB / 0.7911 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005403/0.6709, allocations: 319.6 kB / 0.7914 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007137/0.6717, allocations: 0.868 MB / 0.7923 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004608/0.6721, allocations: 376.4 kB / 0.7926 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2549/0.927, allocations: 46.18 MB / 0.8377 GB, free: 25.12 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006868/0.9277, allocations: 350.9 kB / 0.8381 GB, free: 24.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.9278, allocations: 70.34 kB / 0.8381 GB, free: 24.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.9281, allocations: 99.06 kB / 0.8382 GB, free: 24.94 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.9282, allocations: 160.4 kB / 0.8384 GB, free: 24.83 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004661/0.9287, allocations: 353.8 kB / 0.8387 GB, free: 24.6 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.9301, allocations: 0.841 MB / 0.8395 GB, free: 24.23 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9301, allocations: 0 / 0.8395 GB, free: 24.23 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.334e-06/0.9302, allocations: 0 / 0.8395 GB, free: 24.23 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.723e-05/0.9302, allocations: 1.781 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.002332/0.9325, allocations: 0.9489 MB / 0.8405 GB, free: 23.54 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.9326, allocations: 8.406 kB / 0.8405 GB, free: 23.54 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.9328, allocations: 72.12 kB / 0.8405 GB, free: 23.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004524/0.9373, allocations: 485.7 kB / 0.841 GB, free: 23.16 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.635e-05/0.9374, allocations: 53.95 kB / 0.841 GB, free: 23.14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.9375, allocations: 62.34 kB / 0.8411 GB, free: 23.11 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.9391, allocations: 0.5968 MB / 0.8417 GB, free: 22.86 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.9391, allocations: 0 / 0.8417 GB, free: 22.86 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.243e-05/0.9392, allocations: 24.81 kB / 0.8417 GB, free: 22.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/0.9393, allocations: 15.11 kB / 0.8417 GB, free: 22.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.9408, allocations: 458.2 kB / 0.8422 GB, free: 22.69 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003811/0.9446, allocations: 1.67 MB / 0.8438 GB, free: 21.68 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004506/0.9491, allocations: 0.8385 MB / 0.8446 GB, free: 21.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007291/0.9499, allocations: 293.5 kB / 0.8449 GB, free: 21.2 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004378/0.9503, allocations: 427.5 kB / 0.8453 GB, free: 20.72 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.9504, allocations: 38.81 kB / 0.8453 GB, free: 20.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 3.436e-06/0.9504, allocations: 1.125 kB / 0.8453 GB, free: 20.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.002422/0.9528, allocations: 0.7214 MB / 0.846 GB, free: 20.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.9529, allocations: 137.1 kB / 0.8462 GB, free: 20.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005219/0.9534, allocations: 334.8 kB / 0.8465 GB, free: 20.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/0.9535, allocations: 36.58 kB / 0.8465 GB, free: 20.01 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.9537, allocations: 243 kB / 0.8468 GB, free: 19.82 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.9539, allocations: 235.5 kB / 0.847 GB, free: 19.63 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/0.9542, allocations: 118.8 kB / 0.8471 GB, free: 19.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.9543, allocations: 354.5 kB / 0.8474 GB, free: 19.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000544/0.9549, allocations: 164.7 kB / 0.8476 GB, free: 19.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006659/0.9555, allocations: 225.5 kB / 0.8478 GB, free: 19.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.9569, allocations: 450.1 kB / 0.8482 GB, free: 18.86 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.9569, allocations: 2.031 kB / 0.8482 GB, free: 18.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001804/0.9588, allocations: 0.5353 MB / 0.8488 GB, free: 18.63 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.9588, allocations: 5.125 kB / 0.8488 GB, free: 18.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.9588, allocations: 1.797 kB / 0.8488 GB, free: 18.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.9589, allocations: 3.312 kB / 0.8488 GB, free: 18.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.9601, allocations: 137.5 kB / 0.8489 GB, free: 18.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/0.9601, allocations: 4.859 kB / 0.8489 GB, free: 18.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006383/0.9608, allocations: 51.02 kB / 0.849 GB, free: 18.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.619e-05/0.9609, allocations: 26.23 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.000396/0.9613, allocations: 190.7 kB / 0.8492 GB, free: 18.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/0.9615, allocations: 53.08 kB / 0.8492 GB, free: 18.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003292/0.9648, allocations: 0.9184 MB / 0.8501 GB, free: 18.01 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/0.9649, allocations: 12.62 kB / 0.8501 GB, free: 18.01 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.9649, allocations: 1.156 kB / 0.8501 GB, free: 18.01 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.536e-05/0.9649, allocations: 6.734 kB / 0.8501 GB, free: 18.01 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.9666, allocations: 0.7153 MB / 0.8508 GB, free: 17.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.9667, allocations: 1.375 kB / 0.8508 GB, free: 17.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/0.9682, allocations: 189.1 kB / 0.851 GB, free: 17.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.722e-05/0.9682, allocations: 8.734 kB / 0.851 GB, free: 17.55 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.21e-05/0.9683, allocations: 23.98 kB / 0.851 GB, free: 17.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.592e-05/0.9684, allocations: 5.172 kB / 0.851 GB, free: 17.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.9684, allocations: 5.062 kB / 0.8511 GB, free: 17.53 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.9707, allocations: 1.066 MB / 0.8521 GB, free: 16.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003968/0.9711, allocations: 215.4 kB / 0.8523 GB, free: 16.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.9713, allocations: 21.84 kB / 0.8523 GB, free: 16.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007955/0.9721, allocations: 22.42 kB / 0.8523 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.9723, allocations: 68.91 kB / 0.8524 GB, free: 16.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-05/0.9724, allocations: 34.3 kB / 0.8524 GB, free: 16.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004203/0.9728, allocations: 237.5 kB / 0.8527 GB, free: 16.55 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9728, allocations: 0 / 0.8527 GB, free: 16.55 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001168/0.974, allocations: 162.3 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.0002994/0.9743, allocations: 134.9 kB / 0.853 GB, free: 16.38 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001999/0.9763, allocations: 0.5424 MB / 0.8535 GB, free: 16.21 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.9764, allocations: 1.219 kB / 0.8535 GB, free: 16.21 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.9774, allocations: 381.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.001041/0.9785, allocations: 65.67 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.003798/0.9823, allocations: 1.218 MB / 0.8551 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.9829, allocations: 0.9144 MB / 0.856 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004181/0.9833, allocations: 89.45 kB / 0.8561 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of SimCode: time 9.92e-07/0.9833, allocations: 0 / 0.8561 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of Templates: time 0.02008/1.003, allocations: 7.192 MB / 0.8631 GB, free: 12.48 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 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)