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.001516/0.001516, allocations: 100.8 kB / 16.29 MB, free: 6.016 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.001686/0.001687, allocations: 181.8 kB / 17.22 MB, free: 5.625 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 / 223.1 MB, free: 12.31 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.807/1.807, allocations: 292.3 MB / 0.5495 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.001427/0.001428, allocations: 67.89 kB / 0.6722 GB, free: 6.586 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2423, allocations: 114.5 MB / 0.7841 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.005575/0.2479, allocations: 3.547 MB / 0.7875 GB, free: 356 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4069/0.6549, allocations: 2.464 MB / 0.7899 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003202/0.6552, allocations: 13.12 kB / 0.7899 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.6554, allocations: 75.34 kB / 0.79 GB, free: 45.92 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.001222/0.6567, allocations: 405.1 kB / 0.7904 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.6571, allocations: 318.3 kB / 0.7907 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000614/0.6577, allocations: 0.8681 MB / 0.7916 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004126/0.6582, allocations: 369.8 kB / 0.7919 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2629/0.9211, allocations: 45.82 MB / 0.8366 GB, free: 25.32 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007404/0.9219, allocations: 357.5 kB / 0.837 GB, free: 25.14 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.9221, allocations: 70.12 kB / 0.8371 GB, free: 25.14 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003433/0.9224, allocations: 90.34 kB / 0.8371 GB, free: 25.14 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.9226, allocations: 163.8 kB / 0.8373 GB, free: 25.02 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005117/0.9231, allocations: 356.6 kB / 0.8376 GB, free: 24.79 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.9251, allocations: 0.8432 MB / 0.8385 GB, free: 24.42 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.9251, allocations: 0 / 0.8385 GB, free: 24.42 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9251, allocations: 0.5625 kB / 0.8385 GB, free: 24.42 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.329e-05/0.9251, allocations: 0 / 0.8385 GB, free: 24.42 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.002166/0.9273, allocations: 0.9491 MB / 0.8394 GB, free: 23.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.9274, allocations: 9.156 kB / 0.8394 GB, free: 23.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.9276, allocations: 72.58 kB / 0.8395 GB, free: 23.69 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008141/0.9284, allocations: 469.4 kB / 0.8399 GB, free: 23.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.9284, allocations: 47.06 kB / 0.84 GB, free: 23.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.628e-05/0.9285, allocations: 62.44 kB / 0.84 GB, free: 23.32 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.9297, allocations: 0.6026 MB / 0.8406 GB, free: 23.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.9297, allocations: 1.094 kB / 0.8406 GB, free: 23.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-05/0.9298, allocations: 25.95 kB / 0.8406 GB, free: 23.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.9298, allocations: 14.12 kB / 0.8406 GB, free: 23.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009907/0.9308, allocations: 452.8 kB / 0.8411 GB, free: 22.89 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002664/0.9334, allocations: 1.677 MB / 0.8427 GB, free: 21.88 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004947/0.9384, allocations: 0.8464 MB / 0.8435 GB, free: 21.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000517/0.9389, allocations: 293.7 kB / 0.8438 GB, free: 21.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003245/0.9393, allocations: 433.4 kB / 0.8442 GB, free: 20.92 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.9393, allocations: 43.81 kB / 0.8443 GB, free: 20.87 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 3.086e-06/0.9393, allocations: 0 / 0.8443 GB, free: 20.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.001656/0.941, allocations: 0.7218 MB / 0.845 GB, free: 20.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.941, allocations: 136.1 kB / 0.8451 GB, free: 20.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/0.9414, allocations: 334.8 kB / 0.8454 GB, free: 20.26 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.9414, allocations: 39.98 kB / 0.8455 GB, free: 20.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.9416, allocations: 238.3 kB / 0.8457 GB, free: 20.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.9417, allocations: 240.9 kB / 0.8459 GB, free: 19.83 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.9419, allocations: 113.9 kB / 0.846 GB, free: 19.78 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.862e-05/0.942, allocations: 355.7 kB / 0.8464 GB, free: 19.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.9423, allocations: 167.2 kB / 0.8465 GB, free: 19.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.9427, allocations: 221.4 kB / 0.8467 GB, free: 19.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007782/0.9435, allocations: 440.9 kB / 0.8472 GB, free: 19.08 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.9435, allocations: 4 kB / 0.8472 GB, free: 19.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001068/0.9446, allocations: 0.5361 MB / 0.8477 GB, free: 18.85 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.9446, allocations: 7.203 kB / 0.8477 GB, free: 18.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.9447, allocations: 1.094 kB / 0.8477 GB, free: 18.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.9447, allocations: 2.719 kB / 0.8477 GB, free: 18.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/0.9453, allocations: 134.6 kB / 0.8478 GB, free: 18.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.9453, allocations: 7.406 kB / 0.8478 GB, free: 18.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.9457, allocations: 43.56 kB / 0.8479 GB, free: 18.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/0.9458, allocations: 29.36 kB / 0.8479 GB, free: 18.8 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.000217/0.946, allocations: 194.4 kB / 0.8481 GB, free: 18.64 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.9461, allocations: 48.75 kB / 0.8481 GB, free: 18.62 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/0.948, allocations: 0.9225 MB / 0.849 GB, free: 18.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.948, allocations: 11.81 kB / 0.8491 GB, free: 18.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.948, allocations: 5.25 kB / 0.8491 GB, free: 18.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/0.948, allocations: 6.938 kB / 0.8491 GB, free: 18.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.9491, allocations: 0.7156 MB / 0.8498 GB, free: 17.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.9491, allocations: 1.469 kB / 0.8498 GB, free: 17.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007488/0.9499, allocations: 184.1 kB / 0.8499 GB, free: 17.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.9499, allocations: 5.031 kB / 0.8499 GB, free: 17.81 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.137e-05/0.9499, allocations: 26.72 kB / 0.85 GB, free: 17.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.95, allocations: 8.312 kB / 0.85 GB, free: 17.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.95, allocations: 1.094 kB / 0.85 GB, free: 17.79 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.9513, allocations: 1.068 MB / 0.851 GB, free: 17.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002494/0.9515, allocations: 219.3 kB / 0.8512 GB, free: 16.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.474e-05/0.9516, allocations: 18.61 kB / 0.8513 GB, free: 16.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004441/0.9521, allocations: 23.77 kB / 0.8513 GB, free: 16.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.9522, allocations: 68.41 kB / 0.8513 GB, free: 16.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.292e-05/0.9522, allocations: 32.92 kB / 0.8514 GB, free: 16.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002537/0.9525, allocations: 239 kB / 0.8516 GB, free: 16.81 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9525, allocations: 0 / 0.8516 GB, free: 16.81 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006601/0.9532, allocations: 161.8 kB / 0.8518 GB, free: 16.76 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.0001848/0.9534, allocations: 129.3 kB / 0.8519 GB, free: 16.65 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001183/0.9546, allocations: 0.5396 MB / 0.8524 GB, free: 16.49 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.9546, allocations: 5.312 kB / 0.8524 GB, free: 16.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006062/0.9552, allocations: 385.6 kB / 0.8528 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006138/0.9558, allocations: 56.42 kB / 0.8528 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.9579, allocations: 1.183 MB / 0.854 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.9584, allocations: 0.9181 MB / 0.8549 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003919/0.9588, allocations: 114 kB / 0.855 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.959, allocations: 81 kB / 0.8551 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/0.9591, allocations: 3.938 kB / 0.8551 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.01445/0.9735, allocations: 5.191 MB / 0.8601 GB, free: 14.07 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 cvode -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)