Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008421/0.0008421, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0009291/0.0009291, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4082/0.4082, allocations: 55.03 MB / 325.4 MB, free: 0.6992 MB / 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.0005683/0.0005683, allocations: 15.98 kB / 396.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4669, allocations: 60.71 MB / 457.4 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005826/0.4728, allocations: 4.127 MB / 461.5 MB, free: 38.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1912/0.664, allocations: 136.8 MB / 0.5842 GB, free: 10.37 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.6651, allocations: 11.94 kB / 0.5842 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005006/0.6656, allocations: 103.1 kB / 0.5843 GB, free: 10.26 MB / 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.001611/0.6672, allocations: 450.4 kB / 0.5848 GB, free: 9.82 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.6693, allocations: 0.6559 MB / 0.5854 GB, free: 9.172 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.6709, allocations: 1.311 MB / 0.5867 GB, free: 7.859 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.672, allocations: 0.7486 MB / 0.5874 GB, free: 7.094 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008386/0.6729, allocations: 441.7 kB / 0.5878 GB, free: 6.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005779/0.6735, allocations: 469.4 kB / 0.5883 GB, free: 6.199 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.23e-05/0.6736, allocations: 28 kB / 0.5883 GB, free: 6.172 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008685/0.6744, allocations: 307.7 kB / 0.5886 GB, free: 5.871 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.6747, allocations: 214.9 kB / 0.5888 GB, free: 5.66 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002642/0.6749, allocations: 249 kB / 0.5891 GB, free: 5.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.6765, allocations: 1.465 MB / 0.5905 GB, free: 3.941 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.6765, allocations: 0.6562 kB / 0.5905 GB, free: 3.941 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6765, allocations: 0 / 0.5905 GB, free: 3.941 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.137e-05/0.6766, allocations: 0 / 0.5905 GB, free: 3.941 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.002795/0.6794, allocations: 1.426 MB / 0.5919 GB, free: 2.465 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.6794, allocations: 11.97 kB / 0.5919 GB, free: 2.453 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.6814, allocations: 372.5 kB / 0.5922 GB, free: 2.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.6827, allocations: 0.7667 MB / 0.593 GB, free: 1.277 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.6829, allocations: 103.9 kB / 0.5931 GB, free: 1.176 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.683, allocations: 132 kB / 0.5932 GB, free: 1.047 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002651/0.6857, allocations: 1.391 MB / 0.5946 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.6857, allocations: 5.719 kB / 0.5946 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.6859, allocations: 56 kB / 0.5946 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.087e-05/0.6859, allocations: 32 kB / 0.5947 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/0.6887, allocations: 1.517 MB / 0.5962 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006695/0.6954, allocations: 3.562 MB / 0.5996 GB, free: 10.37 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002161/0.6976, allocations: 1.036 MB / 0.6006 GB, free: 9.336 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000812/0.6984, allocations: 436.8 kB / 0.6011 GB, free: 8.906 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006763/0.6991, allocations: 494.4 kB / 0.6015 GB, free: 8.328 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/0.7004, allocations: 0.6185 MB / 0.6021 GB, free: 7.691 MB / 478.1 MB Notification: Performance of pre-optimization done (n=104): time 3.136e-06/0.7004, allocations: 0 / 0.6021 GB, free: 7.691 MB / 478.1 MB Notification: Performance of matching and sorting (n=104): time 0.004109/0.7045, allocations: 1.551 MB / 0.6036 GB, free: 6.109 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.7047, allocations: 119.8 kB / 0.6038 GB, free: 5.969 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.7057, allocations: 0.6649 MB / 0.6044 GB, free: 5.297 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.745e-05/0.7058, allocations: 45.7 kB / 0.6045 GB, free: 5.246 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000537/0.7063, allocations: 0.5271 MB / 0.605 GB, free: 4.711 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003865/0.7067, allocations: 339 kB / 0.6053 GB, free: 4.375 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.726e-05/0.7068, allocations: 20 kB / 0.6053 GB, free: 4.355 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.707, allocations: 398.7 kB / 0.6057 GB, free: 3.957 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008294/0.7079, allocations: 371.3 kB / 0.606 GB, free: 3.598 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008511/0.7087, allocations: 459.9 kB / 0.6065 GB, free: 3.129 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009258/0.7097, allocations: 426.9 kB / 0.6069 GB, free: 2.715 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.7097, allocations: 0 / 0.6069 GB, free: 2.715 MB / 478.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002924/0.7126, allocations: 1.11 MB / 0.608 GB, free: 1.598 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.7127, allocations: 8.094 kB / 0.608 GB, free: 1.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.7127, allocations: 0 / 0.608 GB, free: 1.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006083/0.7133, allocations: 88.77 kB / 0.6081 GB, free: 1.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.7144, allocations: 227.6 kB / 0.6083 GB, free: 1.277 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.7166, allocations: 1.535 MB / 0.6098 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009008/0.7175, allocations: 112.1 kB / 0.6099 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-05/0.7176, allocations: 48.02 kB / 0.6099 GB, free: 15.45 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006341/0.7182, allocations: 289.7 kB / 0.6102 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.7184, allocations: 102.7 kB / 0.6103 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003366/0.7217, allocations: 1.426 MB / 0.6117 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.7218, allocations: 19.94 kB / 0.6117 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.7218, allocations: 0 / 0.6117 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.7218, allocations: 7.969 kB / 0.6117 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00464/0.7264, allocations: 2.532 MB / 0.6142 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.7265, allocations: 0 / 0.6142 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009219/0.7274, allocations: 211.7 kB / 0.6144 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000447/0.7279, allocations: 84.73 kB / 0.6145 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-05/0.7279, allocations: 32.72 kB / 0.6145 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.7298, allocations: 1.55 MB / 0.616 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7298, allocations: 4.062 kB / 0.616 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/0.7324, allocations: 1.195 MB / 0.6172 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000529/0.7329, allocations: 339.4 kB / 0.6175 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.733, allocations: 24 kB / 0.6175 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006711/0.7337, allocations: 71.94 kB / 0.6176 GB, free: 7.328 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.7339, allocations: 72.89 kB / 0.6177 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-05/0.734, allocations: 37.11 kB / 0.6177 GB, free: 7.219 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007046/0.7347, allocations: 0.5107 MB / 0.6182 GB, free: 6.711 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.7347, allocations: 0 / 0.6182 GB, free: 6.711 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001183/0.7359, allocations: 398.6 kB / 0.6186 GB, free: 6.32 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.conTim.tStart,weaDat.conTim1.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001383/0.7373, allocations: 0.5916 MB / 0.6192 GB, free: 5.957 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00244/0.7397, allocations: 1.054 MB / 0.6202 GB, free: 4.898 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.7397, allocations: 4 kB / 0.6202 GB, free: 4.895 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.741, allocations: 0.6328 MB / 0.6208 GB, free: 4.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.7421, allocations: 221.5 kB / 0.621 GB, free: 4.047 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005525/0.7477, allocations: 2.853 MB / 0.6238 GB, free: 1.172 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008481/0.7485, allocations: 1.139 MB / 0.6249 GB, free: 4 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001251/0.7498, allocations: 281.2 kB / 0.6252 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/0.7502, allocations: 127.4 kB / 0.6253 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of SimCode: time 1.172e-06/0.7502, allocations: 0 / 0.6253 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.03201/0.7822, allocations: 15.17 MB / 0.6401 GB, free: 0.5273 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) Environment - environmentSimulation: