Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(AES.Devel_test_models.Test_HE_LiquidLiquid_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001") translateModel(AES.Devel_test_models.Test_HE_LiquidLiquid_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.0009982/0.0009982, allocations: 188.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08886/0.08886, allocations: 22.32 MB / 313.5 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 63.91 kB / 437.7 MB, free: 11.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1072, allocations: 54.95 MB / 492.7 MB, free: 4.875 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HE_LiquidLiquid_001): time 0.3808/0.488, allocations: 21.7 MB / 0.5023 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006947/0.4888, allocations: 214.2 kB / 0.5025 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.4889, allocations: 12.62 kB / 0.5025 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.553e-05/0.489, allocations: 30.42 kB / 0.5026 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.4892, allocations: 94.33 kB / 0.5027 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.4893, allocations: 42 kB / 0.5027 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.4896, allocations: 290.4 kB / 0.503 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.4898, allocations: 125.7 kB / 0.5031 GB, free: 5.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.49, allocations: 128.7 kB / 0.5032 GB, free: 5.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.4901, allocations: 92 kB / 0.5033 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.4902, allocations: 13.78 kB / 0.5033 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.961e-05/0.4902, allocations: 18.72 kB / 0.5033 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.485e-05/0.4903, allocations: 37.53 kB / 0.5034 GB, free: 5.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.398e-05/0.4904, allocations: 112.4 kB / 0.5035 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.4906, allocations: 208 kB / 0.5037 GB, free: 5.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4906, allocations: 3.438 kB / 0.5037 GB, free: 5.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4906, allocations: 0 / 0.5037 GB, free: 5.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.4906, allocations: 0 / 0.5037 GB, free: 5.613 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006074/0.4912, allocations: 0.5162 MB / 0.5042 GB, free: 5.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.4913, allocations: 9.719 kB / 0.5042 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.4913, allocations: 24.81 kB / 0.5042 GB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.4916, allocations: 273.4 kB / 0.5045 GB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.4916, allocations: 9.75 kB / 0.5045 GB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.4916, allocations: 12 kB / 0.5045 GB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.4919, allocations: 174.7 kB / 0.5047 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.4919, allocations: 3.938 kB / 0.5047 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.492, allocations: 4.406 kB / 0.5047 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.492, allocations: 3.875 kB / 0.5047 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.4922, allocations: 101.3 kB / 0.5048 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007105/0.4929, allocations: 0.8009 MB / 0.5056 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.493, allocations: 76.88 kB / 0.5056 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.27e-05/0.4931, allocations: 39.98 kB / 0.5057 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.4931, allocations: 3.5 kB / 0.5057 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.4931, allocations: 35.41 kB / 0.5057 GB, free: 4.137 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.4931, allocations: 0 / 0.5057 GB, free: 4.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002673/0.4934, allocations: 128.2 kB / 0.5058 GB, free: 4.094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.4935, allocations: 55.34 kB / 0.5059 GB, free: 4.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.4937, allocations: 275.6 kB / 0.5061 GB, free: 3.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.4937, allocations: 26.95 kB / 0.5062 GB, free: 3.883 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.454e-05/0.4938, allocations: 146.9 kB / 0.5063 GB, free: 3.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.4938, allocations: 32.7 kB / 0.5063 GB, free: 3.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.4939, allocations: 24.12 kB / 0.5064 GB, free: 3.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.118e-05/0.4939, allocations: 337.6 kB / 0.5067 GB, free: 3.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.812e-05/0.494, allocations: 27.34 kB / 0.5067 GB, free: 3.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.289e-05/0.4941, allocations: 49.88 kB / 0.5068 GB, free: 3.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004915/0.4946, allocations: 156 kB / 0.5069 GB, free: 3.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4946, allocations: 0 / 0.5069 GB, free: 3.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001975/0.4948, allocations: 141.5 kB / 0.507 GB, free: 3.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.4948, allocations: 4.609 kB / 0.507 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4948, allocations: 4.234 kB / 0.507 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.4948, allocations: 0 / 0.507 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.495, allocations: 26.69 kB / 0.5071 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.495, allocations: 13.36 kB / 0.5071 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.279e-05/0.4951, allocations: 13.5 kB / 0.5071 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.4951, allocations: 5.562 kB / 0.5071 GB, free: 3.324 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = "K" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.4953, allocations: 134 kB / 0.5072 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.4953, allocations: 27.66 kB / 0.5073 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.4954, allocations: 25.11 kB / 0.5073 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4954, allocations: 1.469 kB / 0.5073 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4954, allocations: 6.625 kB / 0.5073 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4954, allocations: 0 / 0.5073 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.4956, allocations: 247.9 kB / 0.5075 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4956, allocations: 2.625 kB / 0.5075 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.4958, allocations: 20.55 kB / 0.5075 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.4958, allocations: 0 / 0.5075 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.4958, allocations: 10.47 kB / 0.5076 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4958, allocations: 0 / 0.5076 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4958, allocations: 6.594 kB / 0.5076 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.4961, allocations: 227 kB / 0.5078 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/0.4961, allocations: 102.5 kB / 0.5079 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.4962, allocations: 1.078 kB / 0.5079 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.4963, allocations: 6.531 kB / 0.5079 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.4963, allocations: 9.984 kB / 0.5079 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/0.4963, allocations: 2.188 kB / 0.5079 GB, free: 2.727 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001536/0.4965, allocations: 192.7 kB / 0.5081 GB, free: 2.648 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4965, allocations: 0 / 0.5081 GB, free: 2.648 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.4967, allocations: 38.69 kB / 0.5081 GB, free: 2.648 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001027/0.4968, allocations: 102.9 kB / 0.5082 GB, free: 2.555 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.497, allocations: 73.56 kB / 0.5083 GB, free: 2.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.497, allocations: 0 / 0.5083 GB, free: 2.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.196e-05/0.4971, allocations: 32.98 kB / 0.5083 GB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.4975, allocations: 51.77 kB / 0.5084 GB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000749/0.4982, allocations: 0.5158 MB / 0.5089 GB, free: 2.285 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.4984, allocations: 0.7323 MB / 0.5096 GB, free: 1.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.159e-05/0.4984, allocations: 20.25 kB / 0.5096 GB, free: 1.582 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4984, allocations: 2.656 kB / 0.5096 GB, free: 1.582 MB / 382.1 MB Notification: Performance of Templates: time 0.004468/0.5029, allocations: 2.515 MB / 0.5121 GB, free: 1.551 MB / 382.1 MB make -j1 -f AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.makefile (rm -f AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.sim & ./AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe 2>&1)