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.005586/0.005586, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001258/0.001258, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2293/0.2293, allocations: 22.37 MB / 312.9 MB, free: 12.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 64.48 kB / 437.1 MB, free: 33.81 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09573/0.09712, allocations: 54.97 MB / 492 MB, free: 1.203 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.03697/0.1341, allocations: 21.67 MB / 0.5017 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007254/0.1349, allocations: 191.3 kB / 0.5019 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.1351, allocations: 0 / 0.5019 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.542e-05/0.1352, allocations: 23.78 kB / 0.5019 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.1355, allocations: 67.42 kB / 0.5019 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.1356, allocations: 23.97 kB / 0.502 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.1359, allocations: 183.1 kB / 0.5021 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002632/0.1361, allocations: 121.4 kB / 0.5023 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.1363, allocations: 87.69 kB / 0.5023 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.1365, allocations: 87.62 kB / 0.5024 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.1365, allocations: 12 kB / 0.5024 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.259e-05/0.1366, allocations: 16 kB / 0.5025 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.188e-05/0.1366, allocations: 35.84 kB / 0.5025 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.609e-05/0.1367, allocations: 83.55 kB / 0.5026 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.1369, allocations: 187.3 kB / 0.5027 GB, free: 10.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.137, allocations: 0 / 0.5027 GB, free: 10.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.137, allocations: 0 / 0.5027 GB, free: 10.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.137, allocations: 4 kB / 0.5027 GB, free: 10.55 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.0006962/0.1377, allocations: 459 kB / 0.5032 GB, free: 10.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1377, allocations: 8.031 kB / 0.5032 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.649e-05/0.1378, allocations: 24.66 kB / 0.5032 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.1381, allocations: 220.7 kB / 0.5034 GB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.1381, allocations: 8.609 kB / 0.5034 GB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.1381, allocations: 12.38 kB / 0.5034 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.1385, allocations: 158.8 kB / 0.5036 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.1385, allocations: 4 kB / 0.5036 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.1385, allocations: 8 kB / 0.5036 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1385, allocations: 0 / 0.5036 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.1389, allocations: 105 kB / 0.5037 GB, free: 9.473 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.001007/0.1399, allocations: 0.6239 MB / 0.5043 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1401, allocations: 62.48 kB / 0.5044 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.1402, allocations: 36.84 kB / 0.5044 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.1402, allocations: 8.125 kB / 0.5044 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.1402, allocations: 34.56 kB / 0.5045 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001108/0.1404, allocations: 7.938 kB / 0.5045 GB, free: 8.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.1404, allocations: 0 / 0.5045 GB, free: 8.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004334/0.1408, allocations: 117.5 kB / 0.5046 GB, free: 8.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.1409, allocations: 51.41 kB / 0.5046 GB, free: 8.426 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.1411, allocations: 198.5 kB / 0.5048 GB, free: 8.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1411, allocations: 33.64 kB / 0.5048 GB, free: 8.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.121e-05/0.1412, allocations: 127.8 kB / 0.505 GB, free: 8.051 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.1412, allocations: 27.58 kB / 0.505 GB, free: 8.023 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.142e-05/0.1413, allocations: 37.55 kB / 0.505 GB, free: 7.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1414, allocations: 326.8 kB / 0.5053 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.1415, allocations: 27.98 kB / 0.5054 GB, free: 7.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.1417, allocations: 42.56 kB / 0.5054 GB, free: 7.574 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.1428, allocations: 202.3 kB / 0.5056 GB, free: 7.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1428, allocations: 0 / 0.5056 GB, free: 7.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003136/0.1431, allocations: 121.5 kB / 0.5057 GB, free: 7.242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.1432, allocations: 4 kB / 0.5057 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.1432, allocations: 3.984 kB / 0.5057 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.1432, allocations: 4 kB / 0.5057 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.1434, allocations: 27.92 kB / 0.5058 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1434, allocations: 0 / 0.5058 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.954e-05/0.1435, allocations: 3.938 kB / 0.5058 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.1435, allocations: 8 kB / 0.5058 GB, free: 7.191 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.0001843/0.1437, allocations: 134.6 kB / 0.5059 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.1438, allocations: 16 kB / 0.5059 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.144, allocations: 118.8 kB / 0.506 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1441, allocations: 4 kB / 0.506 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1441, allocations: 0 / 0.506 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1441, allocations: 3.938 kB / 0.506 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.1443, allocations: 229.5 kB / 0.5062 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1443, allocations: 4 kB / 0.5063 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.1445, allocations: 23.92 kB / 0.5063 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1445, allocations: 0 / 0.5063 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.1445, allocations: 7.984 kB / 0.5063 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1445, allocations: 4 kB / 0.5063 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1446, allocations: 0 / 0.5063 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.1449, allocations: 235.1 kB / 0.5065 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/0.145, allocations: 88.95 kB / 0.5066 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.145, allocations: 8.062 kB / 0.5066 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.1451, allocations: 4 kB / 0.5066 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.1452, allocations: 7.922 kB / 0.5066 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.1452, allocations: 8 kB / 0.5066 GB, free: 6.211 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.1453, allocations: 140.2 kB / 0.5068 GB, free: 6.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1453, allocations: 0 / 0.5068 GB, free: 6.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.1456, allocations: 32 kB / 0.5068 GB, free: 6.043 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.0001218/0.1458, allocations: 95.25 kB / 0.5069 GB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.146, allocations: 79.83 kB / 0.507 GB, free: 5.859 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.146, allocations: 384 / 0.507 GB, free: 5.859 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.8e-05/0.1461, allocations: 35.92 kB / 0.507 GB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.1465, allocations: 38.67 kB / 0.507 GB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007323/0.1472, allocations: 386 kB / 0.5074 GB, free: 5.387 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.1475, allocations: 0.728 MB / 0.5081 GB, free: 4.633 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.332e-05/0.1476, allocations: 21.55 kB / 0.5081 GB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.1477, allocations: 19.42 kB / 0.5081 GB, free: 4.594 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1477, allocations: 0 / 0.5081 GB, free: 4.594 MB / 382.1 MB Notification: Performance of Templates: time 0.005062/0.1527, allocations: 1.79 MB / 0.5099 GB, free: 2.812 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)