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.007127/0.007127, allocations: 101.6 kB / 15.73 MB, free: 6.047 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.001588/0.001588, allocations: 196.4 kB / 16.67 MB, free: 5.977 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2096/0.2096, allocations: 22.35 MB / 312.9 MB, free: 12.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 68.27 kB / 437.1 MB, free: 33.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.11, allocations: 54.96 MB / 492 MB, free: 1.199 MB / 350.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.03158/0.1417, allocations: 21.71 MB / 0.5017 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008449/0.1425, allocations: 219.2 kB / 0.5019 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.1427, allocations: 15.94 kB / 0.5019 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.245e-05/0.1428, allocations: 31.7 kB / 0.502 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.143, allocations: 95.17 kB / 0.502 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.1432, allocations: 39.95 kB / 0.5021 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.1435, allocations: 286.5 kB / 0.5024 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.1438, allocations: 128.7 kB / 0.5025 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.144, allocations: 127.5 kB / 0.5026 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.1442, allocations: 95.56 kB / 0.5027 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.1442, allocations: 15.98 kB / 0.5027 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.463e-05/0.1442, allocations: 19.94 kB / 0.5027 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.424e-05/0.1443, allocations: 35.86 kB / 0.5028 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.1444, allocations: 107.4 kB / 0.5029 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.1446, allocations: 211.2 kB / 0.5031 GB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1447, allocations: 3.984 kB / 0.5031 GB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1447, allocations: 0 / 0.5031 GB, free: 10.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1447, allocations: 0 / 0.5031 GB, free: 10.21 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.0007471/0.1454, allocations: 0.5023 MB / 0.5036 GB, free: 9.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1455, allocations: 16.03 kB / 0.5036 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.1455, allocations: 24.66 kB / 0.5036 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.1458, allocations: 268.5 kB / 0.5039 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1459, allocations: 16.31 kB / 0.5039 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.1459, allocations: 12.38 kB / 0.5039 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.1463, allocations: 171.3 kB / 0.504 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1463, allocations: 3.984 kB / 0.5041 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.1463, allocations: 8 kB / 0.5041 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.1463, allocations: 0 / 0.5041 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.1465, allocations: 95.89 kB / 0.5042 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008562/0.1474, allocations: 0.8093 MB / 0.5049 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.1476, allocations: 78.55 kB / 0.505 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.997e-05/0.1476, allocations: 40.78 kB / 0.5051 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.1477, allocations: 4 kB / 0.5051 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1477, allocations: 34.56 kB / 0.5051 GB, free: 7.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.1477, allocations: 0 / 0.5051 GB, free: 7.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002932/0.148, allocations: 125.3 kB / 0.5052 GB, free: 7.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.148, allocations: 55.41 kB / 0.5053 GB, free: 7.742 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.1483, allocations: 275 kB / 0.5055 GB, free: 7.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.1483, allocations: 25.7 kB / 0.5056 GB, free: 7.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.048e-05/0.1484, allocations: 139.9 kB / 0.5057 GB, free: 7.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.1484, allocations: 31.56 kB / 0.5057 GB, free: 7.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.1485, allocations: 29.7 kB / 0.5057 GB, free: 7.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1486, allocations: 334.8 kB / 0.5061 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.854e-05/0.1487, allocations: 27.98 kB / 0.5061 GB, free: 6.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.1487, allocations: 46.56 kB / 0.5061 GB, free: 6.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005255/0.1493, allocations: 154.4 kB / 0.5063 GB, free: 6.648 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.1493, allocations: 4 kB / 0.5063 GB, free: 6.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002165/0.1495, allocations: 133.3 kB / 0.5064 GB, free: 6.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1495, allocations: 4.062 kB / 0.5064 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1496, allocations: 11.98 kB / 0.5064 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1496, allocations: 0 / 0.5064 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.1498, allocations: 23.94 kB / 0.5065 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.1498, allocations: 7.938 kB / 0.5065 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.732e-05/0.1499, allocations: 19.77 kB / 0.5065 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.1499, allocations: 8 kB / 0.5065 GB, free: 6.434 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.0001621/0.1501, allocations: 133.9 kB / 0.5066 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.1501, allocations: 23.72 kB / 0.5066 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/0.1502, allocations: 29.67 kB / 0.5067 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1502, allocations: 4 kB / 0.5067 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1502, allocations: 3.938 kB / 0.5067 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1502, allocations: 0 / 0.5067 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.1505, allocations: 245.6 kB / 0.5069 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1505, allocations: 7.938 kB / 0.5069 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.1506, allocations: 19.98 kB / 0.5069 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1506, allocations: 8 kB / 0.5069 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1507, allocations: 0 / 0.5069 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1507, allocations: 0 / 0.5069 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1507, allocations: 7.938 kB / 0.5069 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.151, allocations: 231.2 kB / 0.5072 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.151, allocations: 96.84 kB / 0.5073 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.1511, allocations: 0 / 0.5073 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1512, allocations: 11.94 kB / 0.5073 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.1512, allocations: 11.94 kB / 0.5073 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.1513, allocations: 4 kB / 0.5073 GB, free: 5.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001818/0.1514, allocations: 190 kB / 0.5075 GB, free: 5.332 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1514, allocations: 4 kB / 0.5075 GB, free: 5.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.1517, allocations: 36 kB / 0.5075 GB, free: 5.293 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.0001083/0.1518, allocations: 99.19 kB / 0.5076 GB, free: 5.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.1521, allocations: 75.89 kB / 0.5077 GB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1521, allocations: 4.125 kB / 0.5077 GB, free: 5.105 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.597e-05/0.1521, allocations: 35.98 kB / 0.5077 GB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.1525, allocations: 51.73 kB / 0.5078 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000885/0.1534, allocations: 0.4929 MB / 0.5082 GB, free: 4.496 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.1537, allocations: 0.7323 MB / 0.509 GB, free: 3.738 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.993e-05/0.1538, allocations: 30.28 kB / 0.509 GB, free: 3.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.1539, allocations: 19.44 kB / 0.509 GB, free: 3.691 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1539, allocations: 0 / 0.509 GB, free: 3.691 MB / 382.1 MB Notification: Performance of Templates: time 0.005232/0.1591, allocations: 2.27 MB / 0.5112 GB, free: 1.449 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)