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.0009584/0.0009583, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001135/0.001135, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2651/0.2651, allocations: 22.34 MB / 313.3 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005203/0.0005206, allocations: 12 kB / 381.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3693, allocations: 55.97 MB / 437.8 MB, free: 39.57 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.002185/0.3716, allocations: 1.815 MB / 439.6 MB, free: 38.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003486/0.3719, allocations: 213.6 kB / 439.8 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.262e-05/0.372, allocations: 6.062 kB / 439.8 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.988e-05/0.3721, allocations: 21.58 kB / 439.9 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.3723, allocations: 79.3 kB / 439.9 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.307e-05/0.3724, allocations: 26.19 kB / 440 MB, free: 38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.3725, allocations: 130.2 kB / 440.1 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.3727, allocations: 95.61 kB / 440.2 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.3729, allocations: 76.09 kB / 440.3 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.671e-05/0.373, allocations: 75.47 kB / 440.3 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.373, allocations: 8.75 kB / 440.3 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.604e-05/0.373, allocations: 15.72 kB / 440.4 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.3731, allocations: 25.34 kB / 440.4 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.3731, allocations: 52.42 kB / 440.4 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.3732, allocations: 129.4 kB / 440.6 MB, free: 37.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.3732, allocations: 3.938 kB / 440.6 MB, free: 37.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3733, allocations: 0 / 440.6 MB, free: 37.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.3733, allocations: 0 / 440.6 MB, free: 37.72 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.000452/0.3737, allocations: 429.5 kB / 441 MB, free: 37.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.3738, allocations: 12.5 kB / 441 MB, free: 37.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.3738, allocations: 23.47 kB / 441 MB, free: 37.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.374, allocations: 224.5 kB / 441.2 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.374, allocations: 11.97 kB / 441.2 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.3741, allocations: 15.31 kB / 441.3 MB, free: 37.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.3743, allocations: 153.8 kB / 441.4 MB, free: 36.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3744, allocations: 2.344 kB / 441.4 MB, free: 36.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.3744, allocations: 0 / 441.4 MB, free: 36.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.3744, allocations: 2.438 kB / 441.4 MB, free: 36.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.3746, allocations: 106.1 kB / 441.5 MB, free: 36.93 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.0008042/0.3754, allocations: 0.6316 MB / 442.1 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.3756, allocations: 53.72 kB / 442.2 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.3756, allocations: 6.422 kB / 442.2 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.3757, allocations: 30.56 kB / 442.2 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 9.543e-05/0.3758, allocations: 13 kB / 442.2 MB, free: 36.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.3758, allocations: 0 / 442.2 MB, free: 36.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003734/0.3761, allocations: 121.7 kB / 442.4 MB, free: 36.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.3762, allocations: 58.16 kB / 442.4 MB, free: 36.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.3763, allocations: 194.3 kB / 442.6 MB, free: 36.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.3764, allocations: 25.7 kB / 442.6 MB, free: 35.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.3764, allocations: 138.4 kB / 442.8 MB, free: 35.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.3764, allocations: 22.75 kB / 442.8 MB, free: 35.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.3765, allocations: 0 / 442.8 MB, free: 35.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.934e-05/0.3765, allocations: 324.8 kB / 443.1 MB, free: 35.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.617e-05/0.3766, allocations: 26.61 kB / 443.1 MB, free: 35.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.906e-05/0.3767, allocations: 44.17 kB / 443.2 MB, free: 35.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.3768, allocations: 40.25 kB / 443.2 MB, free: 35.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3768, allocations: 0 / 443.2 MB, free: 35.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002288/0.3771, allocations: 122.7 kB / 443.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3771, allocations: 7.594 kB / 443.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3771, allocations: 4.062 kB / 443.4 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3771, allocations: 2.875 kB / 443.4 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.3773, allocations: 28.78 kB / 443.4 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3773, allocations: 0 / 443.4 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.72e-05/0.3774, allocations: 3.062 kB / 443.4 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3774, allocations: 2.906 kB / 443.4 MB, free: 35.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001817/0.3776, allocations: 123.8 kB / 443.5 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.3776, allocations: 24.39 kB / 443.5 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.3779, allocations: 120.6 kB / 443.7 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3779, allocations: 2.594 kB / 443.7 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3779, allocations: 192 / 443.7 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3779, allocations: 0 / 443.7 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.3781, allocations: 229.8 kB / 443.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3781, allocations: 0 / 443.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.3782, allocations: 33.39 kB / 443.9 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3782, allocations: 2.75 kB / 443.9 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3782, allocations: 7.953 kB / 443.9 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3783, allocations: 0 / 443.9 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3783, allocations: 3.094 kB / 443.9 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.3785, allocations: 228.9 kB / 444.1 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.3786, allocations: 90.55 kB / 444.2 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.3786, allocations: 4 kB / 444.2 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.791e-05/0.3787, allocations: 8.016 kB / 444.2 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.3788, allocations: 6.281 kB / 444.3 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.3788, allocations: 5.969 kB / 444.3 MB, free: 34.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.179e-05/0.3789, allocations: 147.4 kB / 444.4 MB, free: 34.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3789, allocations: 3.938 kB / 444.4 MB, free: 34.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.3791, allocations: 33.06 kB / 444.4 MB, free: 34.55 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 (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.0001009/0.3792, allocations: 97.52 kB / 444.5 MB, free: 34.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.3795, allocations: 73.38 kB / 444.6 MB, free: 34.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3795, allocations: 4 kB / 444.6 MB, free: 34.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.538e-05/0.3795, allocations: 35.75 kB / 444.6 MB, free: 34.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.3798, allocations: 29.33 kB / 444.7 MB, free: 34.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005899/0.3804, allocations: 466.2 kB / 445.1 MB, free: 34.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.3805, allocations: 0.7282 MB / 445.9 MB, free: 33.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.891e-05/0.3806, allocations: 23.41 kB / 445.9 MB, free: 33.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.3807, allocations: 17.69 kB / 445.9 MB, free: 33.39 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3807, allocations: 0 / 445.9 MB, free: 33.39 MB / 350.1 MB Notification: Performance of Templates: time 0.003729/0.3844, allocations: 1.586 MB / 447.5 MB, free: 33.27 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_mixing_streams.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: