Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001366/0.001366, 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.00166/0.00166, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.454/1.454, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 251.7 MB / 0.5092 GB, free: 3.18 MB / 414.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.001505/0.001505, allocations: 63.91 kB / 0.6223 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5613/0.5628, allocations: 104.7 MB / 0.7245 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.00515/0.568, allocations: 3.572 MB / 0.728 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0045/0.5726, allocations: 2.418 MB / 0.7303 GB, free: 6.941 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006995/0.5733, allocations: 15.94 kB / 0.7304 GB, free: 6.926 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.5736, allocations: 71.06 kB / 0.7304 GB, free: 6.855 MB / 0.545 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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.001623/0.5753, allocations: 400 kB / 0.7308 GB, free: 6.465 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006054/0.5759, allocations: 331.5 kB / 0.7311 GB, free: 6.141 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.04215/0.618, allocations: 7.89 MB / 0.7388 GB, free: 108 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008216/0.6189, allocations: 373.6 kB / 0.7392 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2265/0.8454, allocations: 38.79 MB / 0.7771 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007487/0.8462, allocations: 354.4 kB / 0.7774 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003201/0.8465, allocations: 68 kB / 0.7775 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.8467, allocations: 72 kB / 0.7775 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.8469, allocations: 167.4 kB / 0.7777 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005521/0.8475, allocations: 350.2 kB / 0.778 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.8485, allocations: 0.802 MB / 0.7788 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.8485, allocations: 0 / 0.7788 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8486, allocations: 0 / 0.7788 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.232e-05/0.8486, allocations: 0 / 0.7788 GB, free: 7.402 MB / 0.5919 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.002387/0.851, allocations: 0.9782 MB / 0.7798 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.851, allocations: 12.03 kB / 0.7798 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.8512, allocations: 76 kB / 0.7799 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000732/0.852, allocations: 471 kB / 0.7803 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003103/0.8523, allocations: 172.6 kB / 0.7805 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.8524, allocations: 63.94 kB / 0.7805 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.8539, allocations: 0.6305 MB / 0.7811 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.8539, allocations: 0 / 0.7811 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.75e-05/0.8539, allocations: 28 kB / 0.7812 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.854, allocations: 23.92 kB / 0.7812 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.8558, allocations: 0.5072 MB / 0.7817 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002644/0.8584, allocations: 1.709 MB / 0.7834 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003789/0.8622, allocations: 0.9207 MB / 0.7843 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008577/0.8631, allocations: 323.3 kB / 0.7846 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.952e-05/0.8632, allocations: 23.91 kB / 0.7846 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.8632, allocations: 38.56 kB / 0.7846 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=72): time 3.186e-06/0.8632, allocations: 0 / 0.7846 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72): time 0.002642/0.8659, allocations: 0.8227 MB / 0.7854 GB, free: 372 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.383e-05/0.866, allocations: 140.4 kB / 0.7856 GB, free: 200 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/0.8664, allocations: 333.7 kB / 0.7859 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-05/0.8665, allocations: 41.69 kB / 0.7859 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.8667, allocations: 240.9 kB / 0.7862 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.8669, allocations: 236.5 kB / 0.7864 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.8671, allocations: 118.2 kB / 0.7865 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.8672, allocations: 354.8 kB / 0.7868 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007302/0.868, allocations: 201.2 kB / 0.787 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007567/0.8687, allocations: 265.8 kB / 0.7873 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.8703, allocations: 487.2 kB / 0.7877 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.8703, allocations: 7.938 kB / 0.7877 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001755/0.872, allocations: 0.6019 MB / 0.7883 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.8721, allocations: 4 kB / 0.7883 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.8721, allocations: 4 kB / 0.7883 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/0.8721, allocations: 4 kB / 0.7883 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007897/0.8729, allocations: 151.8 kB / 0.7885 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.8729, allocations: 4 kB / 0.7885 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005164/0.8735, allocations: 63.5 kB / 0.7886 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-05/0.8735, allocations: 23.97 kB / 0.7886 GB, free: 13.04 MB / 0.6075 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.0002675/0.8738, allocations: 193.6 kB / 0.7888 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.874, allocations: 59.34 kB / 0.7888 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/0.8766, allocations: 0.9909 MB / 0.7898 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.8766, allocations: 12 kB / 0.7898 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.8766, allocations: 4 kB / 0.7898 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.8767, allocations: 3.984 kB / 0.7898 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.8777, allocations: 0.7268 MB / 0.7905 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.8778, allocations: 8 kB / 0.7905 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009125/0.8787, allocations: 199.8 kB / 0.7907 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.431e-05/0.8787, allocations: 4 kB / 0.7907 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.538e-05/0.8788, allocations: 23.98 kB / 0.7907 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.8788, allocations: 7.938 kB / 0.7907 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.8788, allocations: 4 kB / 0.7908 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.8809, allocations: 1.13 MB / 0.7919 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002739/0.8812, allocations: 219.9 kB / 0.7921 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-05/0.8813, allocations: 20 kB / 0.7921 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005797/0.8819, allocations: 39.97 kB / 0.7921 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.882, allocations: 67.84 kB / 0.7922 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-05/0.882, allocations: 31.98 kB / 0.7922 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002462/0.8823, allocations: 239.2 kB / 0.7924 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8823, allocations: 0 / 0.7924 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006004/0.8829, allocations: 151.6 kB / 0.7926 GB, free: 8.832 MB / 0.6075 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.0002774/0.8832, allocations: 127.1 kB / 0.7927 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002169/0.8854, allocations: 0.6712 MB / 0.7934 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.8854, allocations: 0 / 0.7934 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009434/0.8863, allocations: 423.4 kB / 0.7938 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005943/0.8869, allocations: 50.5 kB / 0.7938 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.8896, allocations: 1.228 MB / 0.795 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006367/0.8903, allocations: 0.9141 MB / 0.7959 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004798/0.8908, allocations: 112.8 kB / 0.796 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.891, allocations: 87.38 kB / 0.7961 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of SimCode: time 7.01e-07/0.891, allocations: 3.938 kB / 0.7961 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of Templates: time 0.01437/0.9054, allocations: 5.212 MB / 0.8012 GB, free: 15.97 MB / 0.6231 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1)