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.001412/0.001412, allocations: 108 kB / 15.61 MB, free: 152 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.001734/0.001734, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.455/1.455, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.839/1.839, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.00142/0.00142, allocations: 62.58 kB / 0.6715 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2309, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.005513/0.2364, allocations: 3.557 MB / 0.7868 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004079/0.2405, allocations: 2.465 MB / 0.7892 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004558/0.2411, allocations: 15.94 kB / 0.7892 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.2413, allocations: 75.05 kB / 0.7893 GB, free: 7.344 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.001375/0.2427, allocations: 404.8 kB / 0.7897 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.2433, allocations: 315.5 kB / 0.79 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009694/0.2443, allocations: 0.8668 MB / 0.7909 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005612/0.2448, allocations: 365.7 kB / 0.7912 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2572/0.5021, allocations: 45.81 MB / 0.8359 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000511/0.5026, allocations: 354.4 kB / 0.8363 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.5028, allocations: 72 kB / 0.8363 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.503, allocations: 91.92 kB / 0.8364 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.5031, allocations: 159.5 kB / 0.8366 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000322/0.5034, allocations: 362.1 kB / 0.8369 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008403/0.5043, allocations: 0.8059 MB / 0.8377 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.5043, allocations: 7.938 kB / 0.8377 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.714e-06/0.5043, allocations: 0 / 0.8377 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.5043, allocations: 0 / 0.8377 GB, free: 7.816 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.001576/0.5059, allocations: 0.9469 MB / 0.8386 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.506, allocations: 8.031 kB / 0.8387 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.5061, allocations: 76.03 kB / 0.8387 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005652/0.5067, allocations: 471 kB / 0.8392 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.5067, allocations: 45.69 kB / 0.8392 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.449e-05/0.5068, allocations: 64.12 kB / 0.8393 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.5081, allocations: 0.6029 MB / 0.8399 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.5081, allocations: 0 / 0.8399 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.203e-05/0.5082, allocations: 24 kB / 0.8399 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.5082, allocations: 16 kB / 0.8399 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008556/0.509, allocations: 451.2 kB / 0.8403 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.5114, allocations: 1.69 MB / 0.842 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002891/0.5143, allocations: 0.8467 MB / 0.8428 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004753/0.5148, allocations: 287.2 kB / 0.8431 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005103/0.5153, allocations: 425.5 kB / 0.8435 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.5154, allocations: 50.5 kB / 0.8435 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 2.024e-06/0.5154, allocations: 0 / 0.8435 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.0015/0.5169, allocations: 0.7213 MB / 0.8442 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.31e-05/0.517, allocations: 140.5 kB / 0.8444 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/0.5173, allocations: 329.7 kB / 0.8447 GB, free: 308 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.5174, allocations: 45.64 kB / 0.8447 GB, free: 256 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.5176, allocations: 248.8 kB / 0.845 GB, free: 4 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.5178, allocations: 228.7 kB / 0.8452 GB, free: 15.77 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.5179, allocations: 118.2 kB / 0.8453 GB, free: 15.65 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.5181, allocations: 354.8 kB / 0.8456 GB, free: 15.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.5185, allocations: 165.2 kB / 0.8458 GB, free: 15.13 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.5189, allocations: 225.9 kB / 0.846 GB, free: 14.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.5204, allocations: 439.2 kB / 0.8464 GB, free: 14.46 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.5204, allocations: 4 kB / 0.8464 GB, free: 14.46 MB / 0.67 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001007/0.5215, allocations: 0.5356 MB / 0.847 GB, free: 13.91 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.5215, allocations: 4 kB / 0.847 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.5215, allocations: 4 kB / 0.847 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.5215, allocations: 4 kB / 0.847 GB, free: 13.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005925/0.5221, allocations: 135.8 kB / 0.8471 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.5222, allocations: 3.938 kB / 0.8471 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003271/0.5225, allocations: 47.44 kB / 0.8472 GB, free: 13.72 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/0.5225, allocations: 27.97 kB / 0.8472 GB, free: 13.69 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.0002386/0.5228, allocations: 190.4 kB / 0.8474 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.5229, allocations: 51.38 kB / 0.8474 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/0.5247, allocations: 0.9367 MB / 0.8483 GB, free: 12.51 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.5248, allocations: 12 kB / 0.8483 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5248, allocations: 0 / 0.8483 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.5248, allocations: 11.97 kB / 0.8484 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.5258, allocations: 0.7074 MB / 0.849 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.5258, allocations: 4 kB / 0.849 GB, free: 11.72 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000703/0.5265, allocations: 187.7 kB / 0.8492 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.487e-06/0.5266, allocations: 4 kB / 0.8492 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.986e-05/0.5266, allocations: 27.98 kB / 0.8493 GB, free: 11.51 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.413e-06/0.5266, allocations: 4 kB / 0.8493 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.5266, allocations: 7.938 kB / 0.8493 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.5281, allocations: 1.069 MB / 0.8503 GB, free: 10.41 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.5284, allocations: 212 kB / 0.8505 GB, free: 10.18 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.231e-05/0.5284, allocations: 20 kB / 0.8505 GB, free: 10.16 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/0.5288, allocations: 20 kB / 0.8506 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.529, allocations: 67.84 kB / 0.8506 GB, free: 10.08 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.529, allocations: 35.98 kB / 0.8507 GB, free: 10.04 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002629/0.5293, allocations: 239.2 kB / 0.8509 GB, free: 9.809 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.194e-06/0.5293, allocations: 4 kB / 0.8509 GB, free: 9.805 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000639/0.53, allocations: 159.5 kB / 0.851 GB, free: 9.648 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.0002643/0.5302, allocations: 131 kB / 0.8512 GB, free: 9.512 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00125/0.5315, allocations: 0.5936 MB / 0.8517 GB, free: 8.922 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5315, allocations: 0 / 0.8517 GB, free: 8.922 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005612/0.5321, allocations: 384.7 kB / 0.8521 GB, free: 8.547 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005834/0.5327, allocations: 61.5 kB / 0.8522 GB, free: 8.484 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.5348, allocations: 1.199 MB / 0.8533 GB, free: 7.25 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005523/0.5353, allocations: 0.9102 MB / 0.8542 GB, free: 6.309 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004335/0.5358, allocations: 116.7 kB / 0.8543 GB, free: 6.195 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.536, allocations: 87.39 kB / 0.8544 GB, free: 6.109 MB / 0.67 GB Notification: Performance of SimCode: time 8.21e-07/0.536, allocations: 0 / 0.8544 GB, free: 6.109 MB / 0.67 GB Notification: Performance of Templates: time 0.01336/0.5493, allocations: 5.177 MB / 0.8595 GB, free: 0.9453 MB / 0.67 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)