Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009981/0.0009983, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0013/0.001301, allocations: 191.4 kB / 16.25 MB, free: 6.629 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.307/1.307, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.36/0.36, allocations: 54.94 MB / 324.4 MB, free: 144 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.001305/0.001305, allocations: 67.91 kB / 394.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1112, allocations: 59.58 MB / 454.4 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.1935/0.3048, allocations: 3.943 MB / 458.4 MB, free: 37.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1444/0.4492, allocations: 147.9 MB / 0.5921 GB, free: 0 / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005526/0.4498, allocations: 12.05 kB / 0.5921 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004378/0.4503, allocations: 95.27 kB / 0.5922 GB, free: 15.89 MB / 478.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.001193/0.4515, allocations: 367.4 kB / 0.5925 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.453, allocations: 0.6703 MB / 0.5932 GB, free: 14.87 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009477/0.4539, allocations: 1.089 MB / 0.5943 GB, free: 13.79 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006692/0.4546, allocations: 0.5273 MB / 0.5948 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004433/0.4551, allocations: 422.5 kB / 0.5952 GB, free: 12.84 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004111/0.4555, allocations: 418.2 kB / 0.5956 GB, free: 12.43 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.4556, allocations: 92 kB / 0.5957 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005969/0.4562, allocations: 395.7 kB / 0.596 GB, free: 11.95 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.4564, allocations: 251.2 kB / 0.5963 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003365/0.4568, allocations: 457.6 kB / 0.5967 GB, free: 11.26 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.458, allocations: 1.305 MB / 0.598 GB, free: 9.949 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.458, allocations: 4 kB / 0.598 GB, free: 9.945 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.458, allocations: 0 / 0.598 GB, free: 9.945 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.458, allocations: 0 / 0.598 GB, free: 9.945 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.001905/0.4599, allocations: 1.242 MB / 0.5992 GB, free: 8.656 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.46, allocations: 8.031 kB / 0.5992 GB, free: 8.648 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002245/0.4622, allocations: 350.9 kB / 0.5995 GB, free: 8.305 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007596/0.463, allocations: 0.6181 MB / 0.6001 GB, free: 7.648 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/0.463, allocations: 58 kB / 0.6002 GB, free: 7.59 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.4632, allocations: 79.98 kB / 0.6003 GB, free: 7.512 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.4648, allocations: 0.8798 MB / 0.6011 GB, free: 6.605 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.4648, allocations: 0 / 0.6011 GB, free: 6.605 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.67e-05/0.4649, allocations: 32 kB / 0.6012 GB, free: 6.574 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.4649, allocations: 24 kB / 0.6012 GB, free: 6.551 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.467, allocations: 1.132 MB / 0.6023 GB, free: 5.418 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003637/0.4707, allocations: 2.349 MB / 0.6046 GB, free: 3.004 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/0.4727, allocations: 0.9247 MB / 0.6055 GB, free: 2.059 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006545/0.4734, allocations: 319.5 kB / 0.6058 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006806/0.474, allocations: 470.2 kB / 0.6062 GB, free: 1.188 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.4751, allocations: 472 kB / 0.6067 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of pre-optimization done (n=73): time 2.375e-06/0.4751, allocations: 0 / 0.6067 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of matching and sorting (n=73): time 0.003405/0.4785, allocations: 1.16 MB / 0.6078 GB, free: 15.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.453e-05/0.4786, allocations: 119.5 kB / 0.6079 GB, free: 15.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006016/0.4792, allocations: 0.4911 MB / 0.6084 GB, free: 14.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.291e-05/0.4793, allocations: 37.7 kB / 0.6085 GB, free: 14.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000275/0.4796, allocations: 333.2 kB / 0.6088 GB, free: 14.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.4798, allocations: 240.5 kB / 0.609 GB, free: 14.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/0.48, allocations: 134.2 kB / 0.6091 GB, free: 14.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.4802, allocations: 366.8 kB / 0.6095 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006082/0.4808, allocations: 249.2 kB / 0.6097 GB, free: 13.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006684/0.4815, allocations: 324.2 kB / 0.61 GB, free: 13.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.4828, allocations: 0.5706 MB / 0.6106 GB, free: 12.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.4828, allocations: 0 / 0.6106 GB, free: 12.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00199/0.4848, allocations: 0.7667 MB / 0.6113 GB, free: 11.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.4848, allocations: 8.562 kB / 0.6113 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.4848, allocations: 4 kB / 0.6113 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005612/0.4854, allocations: 80.77 kB / 0.6114 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006995/0.4861, allocations: 151.8 kB / 0.6116 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/0.488, allocations: 1.627 MB / 0.6132 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000543/0.4885, allocations: 79.45 kB / 0.6132 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.209e-05/0.4886, allocations: 27.98 kB / 0.6133 GB, free: 9.711 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 (76): * Single equations (assignments): 75 * 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.0003079/0.4889, allocations: 237.7 kB / 0.6135 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.489, allocations: 71.19 kB / 0.6136 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/0.4915, allocations: 1.007 MB / 0.6145 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.4915, allocations: 8 kB / 0.6145 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.4915, allocations: 4 kB / 0.6146 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.4915, allocations: 3.984 kB / 0.6146 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/0.4946, allocations: 1.883 MB / 0.6164 GB, free: 6.418 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4947, allocations: 3.938 kB / 0.6164 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000673/0.4953, allocations: 147.8 kB / 0.6165 GB, free: 6.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004234/0.4958, allocations: 77.72 kB / 0.6166 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.198e-05/0.4958, allocations: 23.98 kB / 0.6166 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/0.4975, allocations: 1.656 MB / 0.6183 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4975, allocations: 0.7812 kB / 0.6183 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.4996, allocations: 0.9311 MB / 0.6192 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/0.4999, allocations: 248 kB / 0.6194 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.5, allocations: 27.86 kB / 0.6194 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005907/0.5006, allocations: 55.94 kB / 0.6195 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.5007, allocations: 53.08 kB / 0.6195 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.478e-05/0.5008, allocations: 37.64 kB / 0.6196 GB, free: 2.992 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003824/0.5012, allocations: 362.8 kB / 0.6199 GB, free: 2.641 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5012, allocations: 0 / 0.6199 GB, free: 2.641 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007034/0.5019, allocations: 283.2 kB / 0.6202 GB, free: 2.363 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 (81): * Single equations (assignments): 78 * 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.001157/0.503, allocations: 0.5824 MB / 0.6208 GB, free: 2.016 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.5053, allocations: 0.9235 MB / 0.6217 GB, free: 1.086 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5053, allocations: 0 / 0.6217 GB, free: 1.086 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.5063, allocations: 0.5002 MB / 0.6221 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009569/0.5073, allocations: 243.5 kB / 0.6224 GB, free: 368 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/0.511, allocations: 1.933 MB / 0.6243 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005203/0.5115, allocations: 0.9715 MB / 0.6252 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001013/0.5125, allocations: 236.1 kB / 0.6254 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/0.5128, allocations: 91.38 kB / 0.6255 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of SimCode: time 8.31e-07/0.5129, allocations: 0 / 0.6255 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of Templates: time 0.02184/0.5347, allocations: 12.66 MB / 0.6379 GB, free: 0.5352 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)