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.001643/0.001643, allocations: 109.7 kB / 16.37 MB, free: 6.262 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.001841/0.001842, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.367/1.367, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.769/1.769, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001485/0.001485, allocations: 67.91 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.241, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.3978/0.6389, allocations: 3.556 MB / 0.7883 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003504/0.6424, allocations: 2.459 MB / 0.7907 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.6427, allocations: 19.75 kB / 0.7907 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.6428, allocations: 75.94 kB / 0.7907 GB, free: 46.38 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.001113/0.644, allocations: 400.6 kB / 0.7911 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004365/0.6444, allocations: 316.8 kB / 0.7914 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006456/0.6451, allocations: 0.8713 MB / 0.7923 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004424/0.6456, allocations: 367 kB / 0.7926 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2691/0.9147, allocations: 46.17 MB / 0.8377 GB, free: 25.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006969/0.9154, allocations: 355.3 kB / 0.8381 GB, free: 24.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.9155, allocations: 70.16 kB / 0.8381 GB, free: 24.84 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.9158, allocations: 93.44 kB / 0.8382 GB, free: 24.83 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.9159, allocations: 162.9 kB / 0.8384 GB, free: 24.72 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004095/0.9163, allocations: 351.7 kB / 0.8387 GB, free: 24.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.9175, allocations: 0.842 MB / 0.8395 GB, free: 24.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.9175, allocations: 0 / 0.8395 GB, free: 24.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.965e-06/0.9175, allocations: 0 / 0.8395 GB, free: 24.12 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.9176, allocations: 2.625 kB / 0.8395 GB, free: 24.12 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.001779/0.9193, allocations: 0.95 MB / 0.8405 GB, free: 23.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.9194, allocations: 9.609 kB / 0.8405 GB, free: 23.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.9196, allocations: 71.72 kB / 0.8405 GB, free: 23.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004041/0.9236, allocations: 491.5 kB / 0.841 GB, free: 23.05 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/0.9237, allocations: 46.03 kB / 0.841 GB, free: 23.04 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-05/0.9238, allocations: 61.59 kB / 0.8411 GB, free: 23.01 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.9249, allocations: 0.6038 MB / 0.8417 GB, free: 22.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.9249, allocations: 4 kB / 0.8417 GB, free: 22.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/0.925, allocations: 21.69 kB / 0.8417 GB, free: 22.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.925, allocations: 14.09 kB / 0.8417 GB, free: 22.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008842/0.9259, allocations: 449.9 kB / 0.8422 GB, free: 22.58 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00269/0.9286, allocations: 1.671 MB / 0.8438 GB, free: 21.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003095/0.9317, allocations: 0.8477 MB / 0.8446 GB, free: 21.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005025/0.9322, allocations: 294.5 kB / 0.8449 GB, free: 21.1 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003578/0.9326, allocations: 431.4 kB / 0.8453 GB, free: 20.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.9326, allocations: 44.09 kB / 0.8454 GB, free: 20.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 3.025e-06/0.9326, allocations: 0 / 0.8454 GB, free: 20.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.001614/0.9343, allocations: 0.7169 MB / 0.8461 GB, free: 20.28 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.9343, allocations: 136.7 kB / 0.8462 GB, free: 20.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004131/0.9348, allocations: 332.4 kB / 0.8465 GB, free: 19.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.9348, allocations: 40.42 kB / 0.8465 GB, free: 19.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.9349, allocations: 242.3 kB / 0.8468 GB, free: 19.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.9351, allocations: 235.8 kB / 0.847 GB, free: 19.52 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.9353, allocations: 114.2 kB / 0.8471 GB, free: 19.47 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.892e-05/0.9354, allocations: 355.2 kB / 0.8474 GB, free: 19.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.9358, allocations: 163.9 kB / 0.8476 GB, free: 19.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/0.9362, allocations: 228.9 kB / 0.8478 GB, free: 18.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008046/0.937, allocations: 444.1 kB / 0.8482 GB, free: 18.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.937, allocations: 0 / 0.8482 GB, free: 18.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001002/0.938, allocations: 0.5399 MB / 0.8488 GB, free: 18.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.9381, allocations: 5.438 kB / 0.8488 GB, free: 18.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.9381, allocations: 5.188 kB / 0.8488 GB, free: 18.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.9381, allocations: 4.938 kB / 0.8488 GB, free: 18.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006434/0.9387, allocations: 133.8 kB / 0.8489 GB, free: 18.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.9388, allocations: 3.094 kB / 0.8489 GB, free: 18.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/0.9391, allocations: 47.11 kB / 0.849 GB, free: 18.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/0.9392, allocations: 26.08 kB / 0.849 GB, free: 18.47 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.0002103/0.9394, allocations: 190.4 kB / 0.8492 GB, free: 18.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.9395, allocations: 52.97 kB / 0.8492 GB, free: 18.28 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/0.942, allocations: 0.9188 MB / 0.8501 GB, free: 17.91 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.081e-05/0.942, allocations: 7.969 kB / 0.8501 GB, free: 17.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.942, allocations: 0 / 0.8501 GB, free: 17.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/0.9423, allocations: 216 kB / 0.8503 GB, free: 17.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.862e-05/0.9424, allocations: 22.8 kB / 0.8504 GB, free: 17.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/0.9428, allocations: 18.83 kB / 0.8504 GB, free: 17.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.9429, allocations: 76.45 kB / 0.8504 GB, free: 17.7 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001512/0.9444, allocations: 1.082 MB / 0.8515 GB, free: 17.08 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001358/0.9458, allocations: 1.136 MB / 0.8526 GB, free: 16.37 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00059/0.9464, allocations: 339 kB / 0.8529 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002642/0.9467, allocations: 241 kB / 0.8532 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of Backend: time 5.01e-07/0.9467, allocations: 0 / 0.8532 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001441/0.9481, allocations: 411.9 kB / 0.8536 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001541/0.9497, allocations: 1.34 MB / 0.8549 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.0142/0.9639, allocations: 6.178 MB / 0.8609 GB, free: 13.77 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)