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.001563/0.001563, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 196.8 kB / 16.64 MB, free: 6.453 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.433/1.433, allocations: 205.1 MB / 222.5 MB, free: 4.574 MB / 174.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.826/1.826, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.001394/0.001394, allocations: 69.06 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.228, allocations: 114.6 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.005031/0.2331, allocations: 3.553 MB / 0.7876 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004245/0.2374, allocations: 2.458 MB / 0.79 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003327/0.2378, allocations: 15.94 kB / 0.79 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.238, allocations: 71.06 kB / 0.7901 GB, free: 6.629 MB / 0.6075 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.001198/0.2392, allocations: 409 kB / 0.7905 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000511/0.2397, allocations: 331.4 kB / 0.7908 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000809/0.2405, allocations: 0.8667 MB / 0.7916 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005326/0.2411, allocations: 361.7 kB / 0.792 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2753/0.5164, allocations: 46.17 MB / 0.8371 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006123/0.517, allocations: 358.4 kB / 0.8374 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001902/0.5172, allocations: 72 kB / 0.8375 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/0.5175, allocations: 87.98 kB / 0.8376 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.5176, allocations: 171.4 kB / 0.8377 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004/0.5181, allocations: 346.3 kB / 0.8381 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.5191, allocations: 0.8562 MB / 0.8389 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.5191, allocations: 0 / 0.8389 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5191, allocations: 0 / 0.8389 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.85e-05/0.5192, allocations: 3.938 kB / 0.8389 GB, free: 6.684 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.001931/0.5211, allocations: 0.9429 MB / 0.8398 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.5211, allocations: 8.031 kB / 0.8398 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.5213, allocations: 76.09 kB / 0.8399 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003689/0.525, allocations: 479 kB / 0.8403 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/0.525, allocations: 45.69 kB / 0.8404 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-05/0.5251, allocations: 60.06 kB / 0.8404 GB, free: 5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.5262, allocations: 0.5991 MB / 0.841 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.5262, allocations: 4 kB / 0.841 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.587e-05/0.5263, allocations: 27.98 kB / 0.8411 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.5263, allocations: 16 kB / 0.8411 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009219/0.5272, allocations: 451.4 kB / 0.8415 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002554/0.5298, allocations: 1.666 MB / 0.8431 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003013/0.5328, allocations: 0.8508 MB / 0.844 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000505/0.5333, allocations: 291.2 kB / 0.8442 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003988/0.5337, allocations: 425.4 kB / 0.8447 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.5338, allocations: 50.5 kB / 0.8447 GB, free: 420 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 2.074e-06/0.5338, allocations: 0 / 0.8447 GB, free: 420 kB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.001552/0.5354, allocations: 0.7172 MB / 0.8454 GB, free: 15.69 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/0.5354, allocations: 140.5 kB / 0.8455 GB, free: 15.52 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.5358, allocations: 329.7 kB / 0.8458 GB, free: 15.19 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.5359, allocations: 41.7 kB / 0.8459 GB, free: 15.14 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.536, allocations: 244.9 kB / 0.8461 GB, free: 14.9 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.5362, allocations: 236.5 kB / 0.8463 GB, free: 14.66 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.5364, allocations: 114.2 kB / 0.8465 GB, free: 14.55 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5365, allocations: 354.8 kB / 0.8468 GB, free: 14.19 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.5369, allocations: 165.2 kB / 0.847 GB, free: 14.03 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.5373, allocations: 225.9 kB / 0.8472 GB, free: 13.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008144/0.5381, allocations: 439.3 kB / 0.8476 GB, free: 13.36 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5381, allocations: 4 kB / 0.8476 GB, free: 13.35 MB / 0.67 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001038/0.5392, allocations: 0.5394 MB / 0.8481 GB, free: 12.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.5392, allocations: 4 kB / 0.8481 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.5393, allocations: 4 kB / 0.8481 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.5393, allocations: 4 kB / 0.8481 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/0.5399, allocations: 135.8 kB / 0.8483 GB, free: 12.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.5399, allocations: 0 / 0.8483 GB, free: 12.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.5403, allocations: 47.52 kB / 0.8483 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/0.5403, allocations: 23.98 kB / 0.8483 GB, free: 12.59 MB / 0.67 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.0002409/0.5406, allocations: 198.3 kB / 0.8485 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.5407, allocations: 47.44 kB / 0.8486 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/0.5426, allocations: 0.9328 MB / 0.8495 GB, free: 11.41 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.5426, allocations: 12 kB / 0.8495 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.5426, allocations: 0 / 0.8495 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.5426, allocations: 7.984 kB / 0.8495 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.5441, allocations: 0.7112 MB / 0.8502 GB, free: 10.62 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.5441, allocations: 4 kB / 0.8502 GB, free: 10.62 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007478/0.5449, allocations: 183.8 kB / 0.8504 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/0.5449, allocations: 4 kB / 0.8504 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.459e-05/0.545, allocations: 35.98 kB / 0.8504 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-06/0.545, allocations: 7.938 kB / 0.8504 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.545, allocations: 4 kB / 0.8504 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.5464, allocations: 1.061 MB / 0.8515 GB, free: 9.312 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002895/0.5467, allocations: 219.9 kB / 0.8517 GB, free: 9.078 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.857e-05/0.5468, allocations: 16 kB / 0.8517 GB, free: 9.062 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004314/0.5472, allocations: 23.98 kB / 0.8517 GB, free: 9.039 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.5474, allocations: 67.84 kB / 0.8518 GB, free: 8.973 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-05/0.5474, allocations: 35.98 kB / 0.8518 GB, free: 8.938 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002374/0.5477, allocations: 239.2 kB / 0.852 GB, free: 8.703 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5477, allocations: 0 / 0.852 GB, free: 8.703 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005877/0.5483, allocations: 147.6 kB / 0.8522 GB, free: 8.559 MB / 0.67 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.0002245/0.5485, allocations: 139.1 kB / 0.8523 GB, free: 8.414 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.5496, allocations: 0.543 MB / 0.8528 GB, free: 7.875 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5496, allocations: 0 / 0.8528 GB, free: 7.875 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005984/0.5502, allocations: 392.6 kB / 0.8532 GB, free: 7.492 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005918/0.5508, allocations: 53.5 kB / 0.8533 GB, free: 7.438 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.5528, allocations: 1.183 MB / 0.8544 GB, free: 6.219 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.5533, allocations: 0.9141 MB / 0.8553 GB, free: 5.273 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004029/0.5537, allocations: 112.8 kB / 0.8554 GB, free: 5.164 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.5539, allocations: 79.39 kB / 0.8555 GB, free: 5.086 MB / 0.67 GB Notification: Performance of SimCode: time 2.6e-07/0.5539, allocations: 0 / 0.8555 GB, free: 5.086 MB / 0.67 GB Notification: Performance of Templates: time 0.01164/0.5656, allocations: 5.191 MB / 0.8606 GB, free: 15.91 MB / 0.6856 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)