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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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/AES main/package.mo): time 0.09186/0.09186, allocations: 17.69 MB / 33.64 MB, free: 1.738 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 174.3 kB / 38.91 MB, free: 8 kB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.856/1.856, allocations: 205.4 MB / 249.5 MB, free: 2.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007837/0.0007837, allocations: 95.52 kB / 302.2 MB, free: 4.422 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004153, allocations: 15.98 kB / 366.9 MB, free: 3.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2512, allocations: 51.99 MB / 418.9 MB, free: 24.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1021/0.3533, allocations: 78.25 MB / 497.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.3536, allocations: 67.95 kB / 497.3 MB, free: 9.957 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid Hsrc.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.Liquid.Node_wT_fixed$Hsrc. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid Hsnk.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.Liquid.Node_pT_fixed. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Liquid/HE_LiquidLiquid_1vol.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid HE.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.Liquid.HE_LiquidLiquid_1vol. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid Csrc.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.Liquid.Node_wT_fixed$Csrc. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid Csnk.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.Liquid.Node_pT_fixed. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.008622/0.3622, allocations: 3.4 MB / 0.4889 GB, free: 6.555 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.3622, allocations: 0 / 0.4889 GB, free: 6.555 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.3623, allocations: 4 kB / 0.4889 GB, free: 6.551 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007371/0.363, allocations: 0.5373 MB / 0.4894 GB, free: 5.961 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.3631, allocations: 8.031 kB / 0.4895 GB, free: 5.953 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.614e-05/0.3631, allocations: 32.56 kB / 0.4895 GB, free: 5.922 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005289/0.3637, allocations: 323.5 kB / 0.4898 GB, free: 5.566 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.3637, allocations: 12.38 kB / 0.4898 GB, free: 5.555 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.3637, allocations: 12.38 kB / 0.4898 GB, free: 5.543 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.364, allocations: 162.5 kB / 0.49 GB, free: 5.363 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.364, allocations: 3.938 kB / 0.49 GB, free: 5.359 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.364, allocations: 3.938 kB / 0.49 GB, free: 5.355 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.364, allocations: 4 kB / 0.49 GB, free: 5.352 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.3642, allocations: 95.89 kB / 0.4901 GB, free: 5.258 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.3653, allocations: 0.856 MB / 0.4909 GB, free: 4.336 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.3655, allocations: 62.56 kB / 0.491 GB, free: 4.266 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.448e-05/0.3655, allocations: 36.84 kB / 0.491 GB, free: 4.227 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.3656, allocations: 0 / 0.491 GB, free: 4.227 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.3656, allocations: 34.56 kB / 0.491 GB, free: 4.184 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.3656, allocations: 0 / 0.491 GB, free: 4.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003006/0.3659, allocations: 129.2 kB / 0.4912 GB, free: 4.051 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.366, allocations: 51.41 kB / 0.4912 GB, free: 3.988 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.3663, allocations: 320.5 kB / 0.4915 GB, free: 3.664 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.3663, allocations: 29.7 kB / 0.4915 GB, free: 3.629 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.3664, allocations: 160.3 kB / 0.4917 GB, free: 3.469 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.3665, allocations: 31.55 kB / 0.4917 GB, free: 3.438 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.3665, allocations: 4 kB / 0.4917 GB, free: 3.434 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3667, allocations: 342.8 kB / 0.4921 GB, free: 3.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.236e-05/0.3667, allocations: 34.12 kB / 0.4921 GB, free: 3.059 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.638e-05/0.3668, allocations: 58.56 kB / 0.4921 GB, free: 2.992 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007925/0.3676, allocations: 218.9 kB / 0.4924 GB, free: 2.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3676, allocations: 0 / 0.4924 GB, free: 2.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004291/0.3681, allocations: 198.2 kB / 0.4925 GB, free: 2.566 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3681, allocations: 7.984 kB / 0.4926 GB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3681, allocations: 0 / 0.4926 GB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002216/0.3683, allocations: 48.77 kB / 0.4926 GB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.3686, allocations: 36.05 kB / 0.4926 GB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.3699, allocations: 1.409 MB / 0.494 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.3701, allocations: 19.78 kB / 0.494 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.3701, allocations: 8 kB / 0.494 GB, free: 0.8945 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: HE.Tco:VARIABLE(min = 0.0 start = 313.15 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): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002146/0.3703, allocations: 129.8 kB / 0.4942 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.3704, allocations: 27.66 kB / 0.4942 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.481e-05/0.3704, allocations: 26.88 kB / 0.4942 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3704, allocations: 4 kB / 0.4942 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3705, allocations: 4 kB / 0.4942 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3705, allocations: 0 / 0.4942 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.3707, allocations: 253.5 kB / 0.4945 GB, free: 404 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3708, allocations: 3.938 kB / 0.4945 GB, free: 400 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.3709, allocations: 23.92 kB / 0.4945 GB, free: 376 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3709, allocations: 3.938 kB / 0.4945 GB, free: 372 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3709, allocations: 4 kB / 0.4945 GB, free: 368 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3709, allocations: 0 / 0.4945 GB, free: 368 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3709, allocations: 0 / 0.4945 GB, free: 368 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.3712, allocations: 235.1 kB / 0.4947 GB, free: 116 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2385/0.6097, allocations: 105.3 kB / 0.4948 GB, free: 82.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.6099, allocations: 2.75 kB / 0.4948 GB, free: 82.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.6102, allocations: 1.312 kB / 0.4948 GB, free: 82.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.6102, allocations: 3.344 kB / 0.4948 GB, free: 82.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.6102, allocations: 2.375 kB / 0.4948 GB, free: 82.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004833/0.6107, allocations: 228.1 kB / 0.495 GB, free: 82.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6107, allocations: 1.844 kB / 0.4951 GB, free: 82.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006338/0.6114, allocations: 55.28 kB / 0.4951 GB, free: 82.5 MB / 362.7 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002226/0.6116, allocations: 103.5 kB / 0.4952 GB, free: 82.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007392/0.6124, allocations: 214.7 kB / 0.4954 GB, free: 82.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.6124, allocations: 0.8438 kB / 0.4954 GB, free: 82.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.6125, allocations: 28.33 kB / 0.4954 GB, free: 82.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007084/0.6132, allocations: 65 kB / 0.4955 GB, free: 82.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.615, allocations: 0.6609 MB / 0.4961 GB, free: 81.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.6153, allocations: 0.7494 MB / 0.4969 GB, free: 81.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001881/0.6155, allocations: 26.05 kB / 0.4969 GB, free: 81.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.6155, allocations: 19.03 kB / 0.4969 GB, free: 81.28 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6156, allocations: 4 kB / 0.4969 GB, free: 81.28 MB / 362.7 MB Notification: Performance of Templates: time 0.00921/0.6248, allocations: 2.91 MB / 0.4998 GB, free: 81.11 MB / 362.7 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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe 2>&1)