Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001146/0.001146, allocations: 193.4 kB / 16.14 MB, free: 6.711 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.343/1.343, allocations: 205.1 MB / 222 MB, free: 4.969 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3972/0.3972, allocations: 54.93 MB / 324.3 MB, free: 84 kB / 254.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 67.91 kB / 394.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1242, allocations: 59.58 MB / 454.3 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.262/0.3862, allocations: 3.913 MB / 458.2 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1644/0.5506, allocations: 147.8 MB / 0.5918 GB, free: 212 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.5518, allocations: 11.94 kB / 0.5918 GB, free: 200 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008355/0.5526, allocations: 87.28 kB / 0.5919 GB, free: 112 kB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-104:25:writable] Warning: Pure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-47:21:writable] Warning: Pure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-46:20:writable] Warning: Pure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-49:20:writable] Warning: Pure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath‘ contains a call to impure function ‘Modelica.Utilities.Files.exist‘. Notification: Performance of NFTyping.typeBindings: time 0.001834/0.5545, allocations: 341.7 kB / 0.5922 GB, free: 15.78 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.5565, allocations: 0.6593 MB / 0.5929 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001587/0.5581, allocations: 0.9962 MB / 0.5939 GB, free: 14.13 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008211/0.559, allocations: 0.5175 MB / 0.5944 GB, free: 13.61 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004627/0.5594, allocations: 350.6 kB / 0.5947 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003789/0.5598, allocations: 398.1 kB / 0.5951 GB, free: 12.88 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.167e-05/0.5599, allocations: 48 kB / 0.5951 GB, free: 12.83 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008072/0.5607, allocations: 347.7 kB / 0.5954 GB, free: 12.49 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.5609, allocations: 195.2 kB / 0.5956 GB, free: 12.3 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003791/0.5613, allocations: 417.6 kB / 0.596 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.5626, allocations: 1.27 MB / 0.5973 GB, free: 10.61 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.5627, allocations: 0 / 0.5973 GB, free: 10.61 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5627, allocations: 7.938 kB / 0.5973 GB, free: 10.61 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.5627, allocations: 0 / 0.5973 GB, free: 10.61 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002126/0.5648, allocations: 1.231 MB / 0.5985 GB, free: 9.332 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.5649, allocations: 9.156 kB / 0.5985 GB, free: 9.324 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/0.5669, allocations: 303 kB / 0.5988 GB, free: 9.027 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008918/0.5678, allocations: 0.621 MB / 0.5994 GB, free: 8.363 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.5679, allocations: 54 kB / 0.5994 GB, free: 8.312 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.568, allocations: 72 kB / 0.5995 GB, free: 8.242 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.5697, allocations: 0.8564 MB / 0.6003 GB, free: 7.355 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.5697, allocations: 0 / 0.6003 GB, free: 7.355 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.65e-05/0.5698, allocations: 32 kB / 0.6004 GB, free: 7.324 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.5698, allocations: 20 kB / 0.6004 GB, free: 7.305 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.5718, allocations: 1.096 MB / 0.6015 GB, free: 6.211 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003818/0.5756, allocations: 2.331 MB / 0.6037 GB, free: 3.809 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.5775, allocations: 0.7929 MB / 0.6045 GB, free: 3.016 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006948/0.5782, allocations: 315.6 kB / 0.6048 GB, free: 2.703 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006416/0.5789, allocations: 470.1 kB / 0.6053 GB, free: 2.148 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/0.58, allocations: 474.6 kB / 0.6057 GB, free: 1.668 MB / 478.1 MB Notification: Performance of pre-optimization done (n=70): time 2.956e-06/0.58, allocations: 0 / 0.6057 GB, free: 1.668 MB / 478.1 MB Notification: Performance of matching and sorting (n=70): time 0.003613/0.5836, allocations: 1.144 MB / 0.6068 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/0.5837, allocations: 111.4 kB / 0.6069 GB, free: 372 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006454/0.5844, allocations: 0.4951 MB / 0.6074 GB, free: 15.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/0.5845, allocations: 45.7 kB / 0.6075 GB, free: 15.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.5847, allocations: 332.4 kB / 0.6078 GB, free: 15.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.5849, allocations: 232.5 kB / 0.608 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.5851, allocations: 130.2 kB / 0.6081 GB, free: 15.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.5853, allocations: 366.8 kB / 0.6085 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006246/0.5859, allocations: 245.9 kB / 0.6087 GB, free: 14.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007099/0.5866, allocations: 324.1 kB / 0.609 GB, free: 14.17 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.588, allocations: 0.5748 MB / 0.6096 GB, free: 13.58 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.588, allocations: 0 / 0.6096 GB, free: 13.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002134/0.5902, allocations: 0.7666 MB / 0.6103 GB, free: 12.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.5902, allocations: 4.781 kB / 0.6103 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5902, allocations: 0.625 kB / 0.6103 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006187/0.5908, allocations: 84.86 kB / 0.6104 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000735/0.5916, allocations: 149.5 kB / 0.6106 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.5936, allocations: 1.537 MB / 0.6121 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006057/0.5942, allocations: 67.48 kB / 0.6121 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/0.5943, allocations: 32.61 kB / 0.6122 GB, free: 10.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim1.tStart,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003914/0.5947, allocations: 233.7 kB / 0.6124 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.5949, allocations: 79.14 kB / 0.6125 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002624/0.5975, allocations: 0.9913 MB / 0.6134 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.5975, allocations: 11.94 kB / 0.6134 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.5975, allocations: 0 / 0.6134 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.5975, allocations: 5.109 kB / 0.6134 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009127/0.5985, allocations: 0.7979 MB / 0.6142 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.5985, allocations: 0.875 kB / 0.6142 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007038/0.5992, allocations: 147.8 kB / 0.6144 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005542/0.5997, allocations: 88.7 kB / 0.6144 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.416e-05/0.5998, allocations: 23.98 kB / 0.6145 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/0.6017, allocations: 1.547 MB / 0.616 GB, free: 6.688 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6017, allocations: 0 / 0.616 GB, free: 6.688 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/0.6039, allocations: 0.8557 MB / 0.6168 GB, free: 5.809 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/0.6043, allocations: 240.1 kB / 0.617 GB, free: 5.555 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-05/0.6044, allocations: 15.98 kB / 0.6171 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005897/0.605, allocations: 59.88 kB / 0.6171 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.6051, allocations: 57.94 kB / 0.6172 GB, free: 5.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.007e-05/0.6052, allocations: 35.91 kB / 0.6172 GB, free: 5.387 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004198/0.6056, allocations: 362.8 kB / 0.6176 GB, free: 5.035 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6056, allocations: 0 / 0.6176 GB, free: 5.035 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007619/0.6064, allocations: 279.2 kB / 0.6178 GB, free: 4.762 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001296/0.6077, allocations: 0.5782 MB / 0.6184 GB, free: 4.422 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001909/0.6096, allocations: 0.7619 MB / 0.6191 GB, free: 3.656 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/0.6096, allocations: 3.984 kB / 0.6191 GB, free: 3.652 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.6107, allocations: 498.7 kB / 0.6196 GB, free: 3.148 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00091/0.6116, allocations: 208.5 kB / 0.6198 GB, free: 2.949 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/0.6153, allocations: 1.926 MB / 0.6217 GB, free: 1.004 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.6158, allocations: 0.9726 MB / 0.6226 GB, free: 4 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009384/0.6167, allocations: 230.4 kB / 0.6229 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002503/0.617, allocations: 91.39 kB / 0.6229 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of SimCode: time 7.01e-07/0.617, allocations: 0 / 0.6229 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.02002/0.637, allocations: 11.94 MB / 0.6346 GB, free: 3.871 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)