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.0008405/0.0008405, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.006971/0.006971, allocations: 171.5 kB / 16.27 MB, free: 6.648 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.442/1.442, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4063/0.4063, allocations: 55.02 MB / 325.7 MB, free: 0.6172 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.000524/0.000524, allocations: 12 kB / 397.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3786, allocations: 60.72 MB / 458 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.003872/0.3825, allocations: 3.531 MB / 461.5 MB, free: 37.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1756/0.5582, allocations: 146.3 MB / 0.5935 GB, free: 1.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.5592, allocations: 15.88 kB / 0.5935 GB, free: 1.145 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00071/0.56, allocations: 91.33 kB / 0.5936 GB, free: 1.055 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.002048/0.562, allocations: 355.6 kB / 0.594 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.5642, allocations: 0.6505 MB / 0.5946 GB, free: 68 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001555/0.5658, allocations: 0.9994 MB / 0.5956 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008646/0.5667, allocations: 0.5077 MB / 0.5961 GB, free: 14.55 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005517/0.5672, allocations: 291.1 kB / 0.5963 GB, free: 14.27 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003862/0.5676, allocations: 322.2 kB / 0.5966 GB, free: 13.95 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.872e-05/0.5677, allocations: 16 kB / 0.5967 GB, free: 13.94 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007594/0.5685, allocations: 315.7 kB / 0.597 GB, free: 13.63 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.5686, allocations: 151.3 kB / 0.5971 GB, free: 13.48 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003336/0.569, allocations: 387.3 kB / 0.5975 GB, free: 13.09 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.5702, allocations: 1.236 MB / 0.5987 GB, free: 11.86 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.5702, allocations: 0 / 0.5987 GB, free: 11.86 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5702, allocations: 3.938 kB / 0.5987 GB, free: 11.85 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.5703, allocations: 0 / 0.5987 GB, free: 11.85 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.001958/0.5722, allocations: 1.056 MB / 0.5997 GB, free: 10.75 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.5723, allocations: 8.031 kB / 0.5997 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00234/0.5746, allocations: 364 kB / 0.6001 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009196/0.5756, allocations: 0.6326 MB / 0.6007 GB, free: 9.711 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/0.5756, allocations: 58 kB / 0.6007 GB, free: 9.656 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.5758, allocations: 72 kB / 0.6008 GB, free: 9.586 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.5776, allocations: 0.8837 MB / 0.6017 GB, free: 8.672 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.5777, allocations: 7.984 kB / 0.6017 GB, free: 8.664 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-05/0.5777, allocations: 36 kB / 0.6017 GB, free: 8.629 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.5778, allocations: 16 kB / 0.6017 GB, free: 8.613 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.5801, allocations: 1.159 MB / 0.6029 GB, free: 7.457 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004594/0.5847, allocations: 2.361 MB / 0.6052 GB, free: 5.027 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/0.5869, allocations: 0.9522 MB / 0.6061 GB, free: 4.055 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007012/0.5877, allocations: 319.4 kB / 0.6064 GB, free: 3.734 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006476/0.5883, allocations: 478 kB / 0.6069 GB, free: 3.176 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.5894, allocations: 472.8 kB / 0.6073 GB, free: 2.691 MB / 478.1 MB Notification: Performance of pre-optimization done (n=73): time 1.864e-06/0.5894, allocations: 4 kB / 0.6073 GB, free: 2.688 MB / 478.1 MB Notification: Performance of matching and sorting (n=73): time 0.003755/0.5931, allocations: 1.171 MB / 0.6085 GB, free: 1.492 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.5932, allocations: 111.5 kB / 0.6086 GB, free: 1.359 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006485/0.5939, allocations: 0.495 MB / 0.609 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.79e-05/0.594, allocations: 41.7 kB / 0.6091 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/0.5942, allocations: 325.3 kB / 0.6094 GB, free: 496 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.5945, allocations: 244.4 kB / 0.6096 GB, free: 248 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.566e-05/0.5946, allocations: 53.69 kB / 0.6097 GB, free: 188 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.5947, allocations: 370.8 kB / 0.61 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00067/0.5954, allocations: 253.1 kB / 0.6103 GB, free: 15.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007096/0.5961, allocations: 320.2 kB / 0.6106 GB, free: 15.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.5976, allocations: 0.5862 MB / 0.6112 GB, free: 14.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.5976, allocations: 0 / 0.6112 GB, free: 14.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002148/0.5997, allocations: 0.7745 MB / 0.6119 GB, free: 13.85 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.5998, allocations: 8.562 kB / 0.6119 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.5998, allocations: 1.188 kB / 0.6119 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000598/0.6004, allocations: 80.81 kB / 0.612 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007502/0.6012, allocations: 151.8 kB / 0.6121 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.6032, allocations: 1.522 MB / 0.6136 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007018/0.6039, allocations: 87.45 kB / 0.6137 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.936e-05/0.604, allocations: 27.98 kB / 0.6137 GB, free: 11.84 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.0004448/0.6044, allocations: 239.2 kB / 0.614 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.6046, allocations: 67.34 kB / 0.614 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/0.6073, allocations: 1.026 MB / 0.615 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/0.6073, allocations: 8 kB / 0.615 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.6073, allocations: 1.25 kB / 0.615 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.6073, allocations: 7.984 kB / 0.615 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003674/0.611, allocations: 1.888 MB / 0.6169 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.611, allocations: 0.5625 kB / 0.6169 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007236/0.6118, allocations: 155.8 kB / 0.617 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005261/0.6123, allocations: 84.77 kB / 0.6171 GB, free: 8.289 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-05/0.6124, allocations: 27.92 kB / 0.6171 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.6142, allocations: 1.546 MB / 0.6187 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6142, allocations: 4.031 kB / 0.6187 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/0.6164, allocations: 0.9453 MB / 0.6196 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003657/0.6168, allocations: 263.8 kB / 0.6198 GB, free: 5.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.052e-05/0.6169, allocations: 12 kB / 0.6198 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006432/0.6176, allocations: 71.94 kB / 0.6199 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.6177, allocations: 56.92 kB / 0.62 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-05/0.6178, allocations: 27.98 kB / 0.62 GB, free: 5.176 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004832/0.6183, allocations: 362.8 kB / 0.6203 GB, free: 4.824 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6183, allocations: 0 / 0.6203 GB, free: 4.824 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008709/0.6192, allocations: 275.4 kB / 0.6206 GB, free: 4.555 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.001314/0.6205, allocations: 0.5903 MB / 0.6212 GB, free: 4.184 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001994/0.6225, allocations: 0.7829 MB / 0.6219 GB, free: 3.391 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6225, allocations: 0 / 0.6219 GB, free: 3.391 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.6236, allocations: 0.508 MB / 0.6224 GB, free: 2.867 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.6247, allocations: 206 kB / 0.6226 GB, free: 2.672 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00405/0.6287, allocations: 2.001 MB / 0.6246 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00064/0.6294, allocations: 0.9727 MB / 0.6255 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009073/0.6303, allocations: 254.4 kB / 0.6258 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.6306, allocations: 87.39 kB / 0.6259 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of SimCode: time 6.92e-07/0.6306, allocations: 0 / 0.6259 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of Templates: time 0.01952/0.6501, allocations: 12.14 MB / 0.6377 GB, free: 3.266 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: