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.001145/0.001145, allocations: 112 kB / 16.37 MB, free: 5.539 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.001231/0.001231, allocations: 190.8 kB / 17.3 MB, free: 5.18 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.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09155/0.09155, allocations: 22.33 MB / 313.5 MB, free: 8.926 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00223/0.002231, allocations: 67.11 kB / 382.2 MB, free: 41.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1095, allocations: 54.96 MB / 437.2 MB, free: 12.27 MB / 318.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.03082/0.1404, allocations: 21.39 MB / 458.6 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006508/0.141, allocations: 187.3 kB / 458.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.1412, allocations: 4 kB / 458.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.568e-05/0.1413, allocations: 19.73 kB / 458.8 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.1416, allocations: 63.48 kB / 458.9 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.681e-05/0.1417, allocations: 31.95 kB / 458.9 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.1419, allocations: 187 kB / 459.1 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.1421, allocations: 109.6 kB / 459.2 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.1423, allocations: 79.64 kB / 459.3 MB, free: 6.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.1424, allocations: 95.56 kB / 459.4 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.1425, allocations: 12 kB / 459.4 MB, free: 6.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.823e-05/0.1425, allocations: 16 kB / 459.4 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.1425, allocations: 35.89 kB / 459.4 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.538e-05/0.1426, allocations: 83.55 kB / 459.5 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.1428, allocations: 183.4 kB / 459.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1429, allocations: 0 / 459.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1429, allocations: 0 / 459.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1429, allocations: 0 / 459.7 MB, free: 5.93 MB / 334.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.000642/0.1435, allocations: 466.3 kB / 460.1 MB, free: 5.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1436, allocations: 16.03 kB / 460.2 MB, free: 5.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/0.1436, allocations: 20.73 kB / 460.2 MB, free: 5.391 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.1439, allocations: 228.6 kB / 460.4 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1439, allocations: 8.609 kB / 460.4 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.144, allocations: 8.375 kB / 460.4 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.1443, allocations: 163.7 kB / 460.6 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1443, allocations: 0 / 460.6 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.1443, allocations: 4 kB / 460.6 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1443, allocations: 4 kB / 460.6 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.1446, allocations: 99.95 kB / 460.7 MB, free: 4.84 MB / 334.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.000912/0.1455, allocations: 0.6277 MB / 461.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.1457, allocations: 58.55 kB / 461.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.1458, allocations: 40.84 kB / 461.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.1458, allocations: 0 / 461.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.1459, allocations: 30.56 kB / 461.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001124/0.146, allocations: 19.84 kB / 461.5 MB, free: 3.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.146, allocations: 0 / 461.5 MB, free: 3.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003914/0.1464, allocations: 113.6 kB / 461.6 MB, free: 3.855 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.1464, allocations: 51.41 kB / 461.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.1466, allocations: 202.4 kB / 461.8 MB, free: 3.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1466, allocations: 25.7 kB / 461.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.1467, allocations: 135.8 kB / 462 MB, free: 3.414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.1467, allocations: 27.64 kB / 462 MB, free: 3.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.1468, allocations: 21.72 kB / 462 MB, free: 3.359 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1469, allocations: 330.8 kB / 462.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.834e-05/0.147, allocations: 23.98 kB / 462.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.1471, allocations: 46.56 kB / 462.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.1482, allocations: 202.2 kB / 462.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1482, allocations: 4 kB / 462.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002708/0.1485, allocations: 121.4 kB / 462.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1485, allocations: 4 kB / 462.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1485, allocations: 64 / 462.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1485, allocations: 8 kB / 462.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.1487, allocations: 23.97 kB / 462.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.1487, allocations: 4 kB / 462.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.186e-05/0.1488, allocations: 7.938 kB / 462.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.1488, allocations: 4 kB / 462.8 MB, free: 2.562 MB / 334.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.000135/0.149, allocations: 138.4 kB / 462.9 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.149, allocations: 19.8 kB / 462.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.1493, allocations: 119 kB / 463 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.1493, allocations: 8 kB / 463.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1493, allocations: 0 / 463.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1493, allocations: 3.938 kB / 463.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.1495, allocations: 225.6 kB / 463.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1496, allocations: 0 / 463.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.1497, allocations: 19.98 kB / 463.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.1497, allocations: 4 kB / 463.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1497, allocations: 4 kB / 463.3 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1497, allocations: 0 / 463.3 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1498, allocations: 4 kB / 463.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.1501, allocations: 235.3 kB / 463.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.1501, allocations: 96.94 kB / 463.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.1502, allocations: 0 / 463.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1503, allocations: 0 / 463.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.1503, allocations: 19.98 kB / 463.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.1503, allocations: 4 kB / 463.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.1504, allocations: 148.2 kB / 463.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1505, allocations: 3.938 kB / 463.8 MB, free: 1.434 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.1507, allocations: 31.84 kB / 463.8 MB, free: 1.402 MB / 334.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 8.935e-05/0.1508, allocations: 99.25 kB / 463.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.151, allocations: 67.91 kB / 464 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1511, allocations: 128 / 464 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.469e-05/0.1511, allocations: 39.92 kB / 464 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.1515, allocations: 38.02 kB / 464.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006261/0.1521, allocations: 374.1 kB / 464.4 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.1524, allocations: 0.7241 MB / 465.2 MB, free: 12 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.424e-05/0.1525, allocations: 17.61 kB / 465.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.753e-05/0.1526, allocations: 19.44 kB / 465.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1526, allocations: 0 / 465.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of Templates: time 0.004482/0.1571, allocations: 1.774 MB / 467 MB, free: 14.23 MB / 350.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 -s gbode -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe 2>&1)