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.001247/0.001247, 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.001442/0.001442, allocations: 191.2 kB / 16.14 MB, free: 6.703 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.309/1.309, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3808/0.3808, allocations: 54.93 MB / 324.3 MB, free: 180 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.001255/0.001255, allocations: 64.38 kB / 394.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1091, allocations: 59.59 MB / 454.3 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.1801/0.2893, allocations: 3.933 MB / 458.2 MB, free: 37.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1567/0.4461, allocations: 147.8 MB / 0.5918 GB, free: 88 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006775/0.4468, allocations: 11.94 kB / 0.5919 GB, free: 76 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005447/0.4474, allocations: 99.33 kB / 0.592 GB, free: 15.97 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.001319/0.4487, allocations: 346.2 kB / 0.5923 GB, free: 15.64 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.4504, allocations: 0.6527 MB / 0.5929 GB, free: 15 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009814/0.4514, allocations: 1.003 MB / 0.5939 GB, free: 13.99 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007168/0.4522, allocations: 0.5293 MB / 0.5944 GB, free: 13.46 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004473/0.4526, allocations: 354.5 kB / 0.5948 GB, free: 13.11 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003543/0.453, allocations: 394.2 kB / 0.5951 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.169e-05/0.4531, allocations: 44 kB / 0.5952 GB, free: 12.68 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007317/0.4538, allocations: 343.7 kB / 0.5955 GB, free: 12.35 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.454, allocations: 207.1 kB / 0.5957 GB, free: 12.14 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003801/0.4544, allocations: 422.8 kB / 0.5961 GB, free: 11.73 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.4556, allocations: 1.266 MB / 0.5973 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4557, allocations: 0 / 0.5973 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.4557, allocations: 0 / 0.5973 GB, free: 10.46 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.4557, allocations: 0 / 0.5973 GB, free: 10.46 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.001954/0.4576, allocations: 1.238 MB / 0.5985 GB, free: 9.18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.4577, allocations: 12.03 kB / 0.5986 GB, free: 9.168 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/0.46, allocations: 346.9 kB / 0.5989 GB, free: 8.828 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008353/0.4609, allocations: 0.621 MB / 0.5995 GB, free: 8.164 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/0.4609, allocations: 58 kB / 0.5996 GB, free: 8.109 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.461, allocations: 79.92 kB / 0.5996 GB, free: 8.031 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.4627, allocations: 0.8837 MB / 0.6005 GB, free: 7.117 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.4627, allocations: 5.5 kB / 0.6005 GB, free: 7.113 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-05/0.4628, allocations: 36 kB / 0.6005 GB, free: 7.078 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.4628, allocations: 16 kB / 0.6005 GB, free: 7.062 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/0.465, allocations: 1.132 MB / 0.6016 GB, free: 5.934 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003833/0.4688, allocations: 2.335 MB / 0.6039 GB, free: 3.527 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/0.471, allocations: 0.9363 MB / 0.6048 GB, free: 2.57 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006844/0.4717, allocations: 318.8 kB / 0.6051 GB, free: 2.25 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006988/0.4724, allocations: 466.1 kB / 0.6056 GB, free: 1.703 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.4734, allocations: 480 kB / 0.6061 GB, free: 1.211 MB / 478.1 MB Notification: Performance of pre-optimization done (n=73): time 2.254e-06/0.4735, allocations: 4 kB / 0.6061 GB, free: 1.207 MB / 478.1 MB Notification: Performance of matching and sorting (n=73): time 0.003508/0.477, allocations: 1.152 MB / 0.6072 GB, free: 32 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.609e-05/0.4771, allocations: 111.5 kB / 0.6073 GB, free: 15.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006209/0.4777, allocations: 0.495 MB / 0.6078 GB, free: 15.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.291e-05/0.4778, allocations: 41.7 kB / 0.6078 GB, free: 15.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.4781, allocations: 333 kB / 0.6081 GB, free: 15.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.4783, allocations: 236.6 kB / 0.6084 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.4785, allocations: 130.2 kB / 0.6085 GB, free: 14.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.4787, allocations: 370.8 kB / 0.6088 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006083/0.4793, allocations: 245.2 kB / 0.6091 GB, free: 14.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006653/0.4799, allocations: 324.2 kB / 0.6094 GB, free: 13.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.4812, allocations: 0.5723 MB / 0.6099 GB, free: 13.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4812, allocations: 4 kB / 0.6099 GB, free: 13.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002054/0.4833, allocations: 0.7705 MB / 0.6107 GB, free: 12.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.4833, allocations: 8 kB / 0.6107 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.4834, allocations: 0 / 0.6107 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006349/0.484, allocations: 84.86 kB / 0.6108 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007512/0.4848, allocations: 147.8 kB / 0.6109 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.4867, allocations: 1.522 MB / 0.6124 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005845/0.4873, allocations: 67.53 kB / 0.6125 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.245e-05/0.4874, allocations: 32.03 kB / 0.6125 GB, free: 10.34 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.0003581/0.4878, allocations: 242.7 kB / 0.6127 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.4879, allocations: 71.16 kB / 0.6128 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/0.4905, allocations: 1.007 MB / 0.6138 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.4905, allocations: 8 kB / 0.6138 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.4905, allocations: 0 / 0.6138 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.4905, allocations: 5.547 kB / 0.6138 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003338/0.4938, allocations: 1.891 MB / 0.6156 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4939, allocations: 0 / 0.6156 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006972/0.4946, allocations: 155.8 kB / 0.6158 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005139/0.4951, allocations: 80.78 kB / 0.6159 GB, free: 6.809 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.035e-05/0.4952, allocations: 19.98 kB / 0.6159 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.4969, allocations: 1.554 MB / 0.6174 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4969, allocations: 0.9375 kB / 0.6174 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.4991, allocations: 0.9299 MB / 0.6183 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003319/0.4995, allocations: 244 kB / 0.6185 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.74e-05/0.4996, allocations: 19.94 kB / 0.6186 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005925/0.5002, allocations: 51.94 kB / 0.6186 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.5003, allocations: 64.86 kB / 0.6187 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.988e-05/0.5004, allocations: 31.97 kB / 0.6187 GB, free: 3.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004351/0.5008, allocations: 358.8 kB / 0.619 GB, free: 3.383 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5008, allocations: 0 / 0.619 GB, free: 3.383 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008526/0.5017, allocations: 279.3 kB / 0.6193 GB, free: 3.109 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.001311/0.503, allocations: 0.594 MB / 0.6199 GB, free: 2.746 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.5049, allocations: 0.7712 MB / 0.6206 GB, free: 1.969 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5049, allocations: 0 / 0.6206 GB, free: 1.969 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.5059, allocations: 0.5002 MB / 0.6211 GB, free: 1.453 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009358/0.5069, allocations: 207.2 kB / 0.6213 GB, free: 1.258 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.5105, allocations: 1.947 MB / 0.6232 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.511, allocations: 0.9649 MB / 0.6242 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009346/0.5119, allocations: 242.9 kB / 0.6244 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002668/0.5122, allocations: 95.38 kB / 0.6245 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.5122, allocations: 0 / 0.6245 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.01952/0.5318, allocations: 12.22 MB / 0.6364 GB, free: 1.871 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)