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.0009361/0.0009362, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006108/0.006108, allocations: 170.1 kB / 16.26 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.475/1.475, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2262/0.2262, allocations: 22.34 MB / 313.8 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003275, allocations: 8 kB / 382.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3279, allocations: 55.97 MB / 438.6 MB, free: 39.55 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_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/flowTwoPorts_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.0287/0.3566, allocations: 21.35 MB / 459.9 MB, free: 32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005687/0.3572, allocations: 199.1 kB / 460.1 MB, free: 31.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.3574, allocations: 7.094 kB / 460.1 MB, free: 31.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.581e-05/0.3574, allocations: 11.64 kB / 460.1 MB, free: 31.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.3577, allocations: 53.34 kB / 460.2 MB, free: 31.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.859e-05/0.3578, allocations: 31.91 kB / 460.2 MB, free: 31.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.3579, allocations: 176.2 kB / 460.4 MB, free: 31.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.3582, allocations: 100.6 kB / 460.5 MB, free: 31.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.3583, allocations: 76.28 kB / 460.5 MB, free: 31.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.3585, allocations: 77.66 kB / 460.6 MB, free: 31.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.3585, allocations: 13.59 kB / 460.6 MB, free: 31.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.515e-05/0.3586, allocations: 8.75 kB / 460.6 MB, free: 31.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.122e-05/0.3586, allocations: 36.05 kB / 460.7 MB, free: 31.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.3587, allocations: 101 kB / 460.8 MB, free: 31.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.359, allocations: 177.2 kB / 461 MB, free: 31.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.359, allocations: 0 / 461 MB, free: 31.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.359, allocations: 1.062 kB / 461 MB, free: 31.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.359, allocations: 0 / 461 MB, free: 31.42 MB / 350.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.0006709/0.3597, allocations: 429.6 kB / 461.4 MB, free: 31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.3597, allocations: 17.22 kB / 461.4 MB, free: 31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.558e-05/0.3598, allocations: 25.81 kB / 461.4 MB, free: 30.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.3601, allocations: 228.8 kB / 461.6 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.3601, allocations: 13.89 kB / 461.7 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.3602, allocations: 11.19 kB / 461.7 MB, free: 30.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.3605, allocations: 148.9 kB / 461.8 MB, free: 30.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.3605, allocations: 0 / 461.8 MB, free: 30.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.3606, allocations: 6.188 kB / 461.8 MB, free: 30.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3606, allocations: 6.594 kB / 461.8 MB, free: 30.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/0.3609, allocations: 100.4 kB / 461.9 MB, free: 30.61 MB / 350.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.0008524/0.3617, allocations: 0.6341 MB / 462.6 MB, free: 30.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.3619, allocations: 59.95 kB / 462.6 MB, free: 30.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.362, allocations: 31.23 kB / 462.6 MB, free: 30.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.362, allocations: 1.531 kB / 462.6 MB, free: 30.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.3621, allocations: 39.92 kB / 462.7 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001003/0.3622, allocations: 17.38 kB / 462.7 MB, free: 29.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3622, allocations: 0 / 462.7 MB, free: 29.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004154/0.3626, allocations: 112.9 kB / 462.8 MB, free: 29.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.3626, allocations: 52.56 kB / 462.9 MB, free: 29.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.3628, allocations: 197.6 kB / 463.1 MB, free: 29.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.3628, allocations: 30.8 kB / 463.1 MB, free: 29.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.3629, allocations: 132.2 kB / 463.2 MB, free: 29.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.3629, allocations: 29.77 kB / 463.2 MB, free: 29.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.363, allocations: 20.81 kB / 463.3 MB, free: 29.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.606e-05/0.363, allocations: 328.2 kB / 463.6 MB, free: 29.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.398e-05/0.3631, allocations: 22.89 kB / 463.6 MB, free: 29.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.995e-05/0.3633, allocations: 50.14 kB / 463.7 MB, free: 29.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.3643, allocations: 195.8 kB / 463.8 MB, free: 29.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.3643, allocations: 5.031 kB / 463.9 MB, free: 29.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002682/0.3646, allocations: 115.5 kB / 464 MB, free: 28.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3646, allocations: 6.656 kB / 464 MB, free: 28.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3646, allocations: 0 / 464 MB, free: 28.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3647, allocations: 1.438 kB / 464 MB, free: 28.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.3648, allocations: 29.94 kB / 464 MB, free: 28.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3648, allocations: 1.188 kB / 464 MB, free: 28.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.836e-05/0.3649, allocations: 13.34 kB / 464 MB, free: 28.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.365, allocations: 3.438 kB / 464 MB, free: 28.97 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: H.T:VARIABLE(min = max(0.0, 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.000177/0.3651, allocations: 140.8 kB / 464.2 MB, free: 28.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.3652, allocations: 10.03 kB / 464.2 MB, free: 28.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.3654, allocations: 123.2 kB / 464.3 MB, free: 28.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3655, allocations: 1.188 kB / 464.3 MB, free: 28.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.3655, allocations: 5.25 kB / 464.3 MB, free: 28.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3655, allocations: 3.938 kB / 464.3 MB, free: 28.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.3657, allocations: 231.3 kB / 464.5 MB, free: 28.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3657, allocations: 0 / 464.5 MB, free: 28.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.3659, allocations: 23.41 kB / 464.5 MB, free: 28.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3659, allocations: 1.344 kB / 464.5 MB, free: 28.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3659, allocations: 1.031 kB / 464.5 MB, free: 28.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3659, allocations: 0.9688 kB / 464.5 MB, free: 28.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3659, allocations: 0 / 464.5 MB, free: 28.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.3662, allocations: 250.9 kB / 464.8 MB, free: 28.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.3663, allocations: 91.91 kB / 464.9 MB, free: 28.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.3663, allocations: 4.969 kB / 464.9 MB, free: 28.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.3664, allocations: 4.969 kB / 464.9 MB, free: 28.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.3665, allocations: 10.53 kB / 464.9 MB, free: 28.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.3665, allocations: 2.188 kB / 464.9 MB, free: 28.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.3666, allocations: 145.5 kB / 465 MB, free: 28.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3666, allocations: 0 / 465 MB, free: 28.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.3669, allocations: 34.56 kB / 465.1 MB, free: 28.12 MB / 350.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.0001007/0.367, allocations: 96.84 kB / 465.2 MB, free: 28.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.3672, allocations: 65.67 kB / 465.2 MB, free: 28.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3673, allocations: 0 / 465.2 MB, free: 28.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.133e-05/0.3673, allocations: 41.66 kB / 465.3 MB, free: 28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.3677, allocations: 33.42 kB / 465.3 MB, free: 27.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006485/0.3683, allocations: 478.1 kB / 465.8 MB, free: 27.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.3685, allocations: 0.7193 MB / 466.5 MB, free: 26.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.3686, allocations: 20.5 kB / 466.5 MB, free: 26.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.3686, allocations: 20.48 kB / 466.5 MB, free: 26.96 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3687, allocations: 4 kB / 466.5 MB, free: 26.96 MB / 350.1 MB Notification: Performance of Templates: time 0.004495/0.3732, allocations: 1.645 MB / 468.2 MB, free: 26.83 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 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe 2>&1)