Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_mixing_streams.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_liquid_mixing_streams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_mixing_streams") translateModel(AES.Devel_test_models.Test_liquid_mixing_streams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_mixing_streams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 109.3 kB / 15.7 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 195.2 kB / 16.63 MB, free: 6.613 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.41/1.41, allocations: 222.9 MB / 240.3 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2136/0.2136, allocations: 22.37 MB / 312.9 MB, free: 12.47 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 63.03 kB / 437 MB, free: 33.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1576, allocations: 54.97 MB / 492 MB, free: 1.207 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_liquid_mixing_streams): time 0.03298/0.1906, allocations: 21.41 MB / 0.5014 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000825/0.1915, allocations: 187.2 kB / 0.5015 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.1918, allocations: 7.938 kB / 0.5016 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.1919, allocations: 19.78 kB / 0.5016 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003801/0.1923, allocations: 55.5 kB / 0.5016 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.1924, allocations: 47.81 kB / 0.5017 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.1927, allocations: 175.1 kB / 0.5018 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003171/0.1931, allocations: 121.4 kB / 0.502 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.1933, allocations: 79.7 kB / 0.502 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.1935, allocations: 83.62 kB / 0.5021 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.1935, allocations: 12 kB / 0.5021 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.366e-05/0.1935, allocations: 16 kB / 0.5021 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.784e-05/0.1936, allocations: 39.83 kB / 0.5022 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.1937, allocations: 83.61 kB / 0.5023 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.194, allocations: 191.2 kB / 0.5024 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.194, allocations: 0 / 0.5024 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.194, allocations: 0 / 0.5024 GB, free: 10.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.194, allocations: 4 kB / 0.5024 GB, free: 10.82 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008629/0.1949, allocations: 451 kB / 0.5029 GB, free: 10.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.195, allocations: 8.031 kB / 0.5029 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.063e-05/0.1951, allocations: 20.66 kB / 0.5029 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.1954, allocations: 224.7 kB / 0.5031 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.1954, allocations: 12.55 kB / 0.5031 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.1955, allocations: 12.38 kB / 0.5031 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.1958, allocations: 158.8 kB / 0.5033 GB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1958, allocations: 0 / 0.5033 GB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.1958, allocations: 8 kB / 0.5033 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1959, allocations: 0 / 0.5033 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003055/0.1962, allocations: 99.95 kB / 0.5034 GB, free: 9.75 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.1973, allocations: 0.6394 MB / 0.504 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.1975, allocations: 54.55 kB / 0.5041 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.1976, allocations: 36.84 kB / 0.5041 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.1976, allocations: 4 kB / 0.5041 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.1976, allocations: 38.5 kB / 0.5041 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001075/0.1978, allocations: 4 kB / 0.5041 GB, free: 8.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1978, allocations: 0 / 0.5041 GB, free: 8.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004271/0.1982, allocations: 117.6 kB / 0.5043 GB, free: 8.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001914/0.1984, allocations: 51.41 kB / 0.5043 GB, free: 8.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.1986, allocations: 198.5 kB / 0.5045 GB, free: 8.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1987, allocations: 33.64 kB / 0.5045 GB, free: 8.453 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.513e-05/0.1988, allocations: 135.7 kB / 0.5047 GB, free: 8.316 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.1988, allocations: 23.64 kB / 0.5047 GB, free: 8.293 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-05/0.1989, allocations: 37.61 kB / 0.5047 GB, free: 8.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.199, allocations: 322.8 kB / 0.505 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.1991, allocations: 23.98 kB / 0.5051 GB, free: 7.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1992, allocations: 46.5 kB / 0.5051 GB, free: 7.848 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.2003, allocations: 206.3 kB / 0.5053 GB, free: 7.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2004, allocations: 0 / 0.5053 GB, free: 7.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000291/0.2007, allocations: 117.4 kB / 0.5054 GB, free: 7.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2007, allocations: 4 kB / 0.5054 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2007, allocations: 0 / 0.5054 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.2007, allocations: 4 kB / 0.5054 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.2009, allocations: 31.91 kB / 0.5054 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2009, allocations: 4.062 kB / 0.5054 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.245e-05/0.201, allocations: 3.938 kB / 0.5054 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.201, allocations: 4 kB / 0.5055 GB, free: 7.465 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: H.T:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "fluid T" 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 (12): * Single equations (assignments): 12 * 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.0002027/0.2012, allocations: 135.3 kB / 0.5056 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/0.2013, allocations: 11.91 kB / 0.5056 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/0.2016, allocations: 126.9 kB / 0.5057 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2016, allocations: 4 kB / 0.5057 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2016, allocations: 0 / 0.5057 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.2016, allocations: 3.938 kB / 0.5057 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.202, allocations: 229.6 kB / 0.5059 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.202, allocations: 0 / 0.5059 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.2021, allocations: 19.98 kB / 0.506 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.2021, allocations: 0 / 0.506 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.2022, allocations: 11.88 kB / 0.506 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2022, allocations: 4 kB / 0.506 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.2022, allocations: 7.984 kB / 0.506 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004434/0.2026, allocations: 231.2 kB / 0.5062 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.132e-05/0.2027, allocations: 88.95 kB / 0.5063 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.2028, allocations: 8 kB / 0.5063 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.2029, allocations: 4 kB / 0.5063 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.203, allocations: 11.92 kB / 0.5063 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.203, allocations: 4 kB / 0.5063 GB, free: 6.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001666/0.2032, allocations: 144.3 kB / 0.5065 GB, free: 6.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2032, allocations: 0 / 0.5065 GB, free: 6.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003088/0.2035, allocations: 32 kB / 0.5065 GB, free: 6.309 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (H.T) * 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 (10): * Single equations (assignments): 10 * 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.000203/0.2037, allocations: 95.19 kB / 0.5066 GB, free: 6.207 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003126/0.204, allocations: 71.91 kB / 0.5066 GB, free: 6.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.204, allocations: 0 / 0.5066 GB, free: 6.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.769e-05/0.2041, allocations: 36.3 kB / 0.5067 GB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.2046, allocations: 47.33 kB / 0.5067 GB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.2056, allocations: 385.9 kB / 0.5071 GB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.2062, allocations: 0.7202 MB / 0.5078 GB, free: 4.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.2063, allocations: 25.55 kB / 0.5078 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.2064, allocations: 15.44 kB / 0.5078 GB, free: 4.871 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2064, allocations: 0 / 0.5078 GB, free: 4.871 MB / 382.1 MB Notification: Performance of Templates: time 0.006023/0.2124, allocations: 1.769 MB / 0.5096 GB, free: 3.113 MB / 382.1 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_mixing_streams.makefile (rm -f AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_mixing_streams.sim & ./AES_AES.Devel_test_models.Test_liquid_mixing_streams -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe 2>&1)