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.001594/0.001594, allocations: 108 kB / 15.61 MB, free: 152 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.002189/0.002189, allocations: 197.7 kB / 16.53 MB, free: 6.664 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.436/1.436, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2265/0.2265, allocations: 22.36 MB / 312.7 MB, free: 12.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.89 kB / 380.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2884, allocations: 54.94 MB / 435.8 MB, free: 39.64 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.03233/0.3207, allocations: 21.61 MB / 457.4 MB, free: 32.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007267/0.3215, allocations: 177.7 kB / 457.5 MB, free: 31.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.3216, allocations: 6.125 kB / 457.6 MB, free: 31.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.455e-05/0.3217, allocations: 24.41 kB / 457.6 MB, free: 31.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.322, allocations: 69.72 kB / 457.6 MB, free: 31.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.808e-05/0.3221, allocations: 31.97 kB / 457.7 MB, free: 31.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.3223, allocations: 174.3 kB / 457.8 MB, free: 31.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.3226, allocations: 121 kB / 458 MB, free: 31.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.3228, allocations: 77.05 kB / 458 MB, free: 31.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.3229, allocations: 85.28 kB / 458.1 MB, free: 31.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/0.323, allocations: 14.06 kB / 458.1 MB, free: 31.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.078e-05/0.323, allocations: 16.72 kB / 458.2 MB, free: 31.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.3231, allocations: 39.89 kB / 458.2 MB, free: 31.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.3232, allocations: 83.27 kB / 458.3 MB, free: 31.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.3234, allocations: 187.6 kB / 458.5 MB, free: 31.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3234, allocations: 1.156 kB / 458.5 MB, free: 31.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3234, allocations: 0 / 458.5 MB, free: 31.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.3234, allocations: 0 / 458.5 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.0005832/0.324, allocations: 456.3 kB / 458.9 MB, free: 30.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.324, allocations: 13.06 kB / 458.9 MB, free: 30.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.3241, allocations: 16.72 kB / 458.9 MB, free: 30.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.3243, allocations: 227.2 kB / 459.2 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.3243, allocations: 9.172 kB / 459.2 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.3244, allocations: 15.41 kB / 459.2 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.3247, allocations: 152 kB / 459.3 MB, free: 30.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3247, allocations: 3.984 kB / 459.3 MB, free: 30.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.3247, allocations: 1.562 kB / 459.3 MB, free: 30.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.3247, allocations: 3.594 kB / 459.3 MB, free: 30.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.325, allocations: 111.3 kB / 459.4 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.0008878/0.3259, allocations: 0.6338 MB / 460.1 MB, free: 30.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.3261, allocations: 55.03 kB / 460.1 MB, free: 30.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.3262, allocations: 35.17 kB / 460.2 MB, free: 30 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.3262, allocations: 5.062 kB / 460.2 MB, free: 30 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.3263, allocations: 31.62 kB / 460.2 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001033/0.3264, allocations: 21.92 kB / 460.2 MB, free: 29.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.3264, allocations: 0 / 460.2 MB, free: 29.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004048/0.3268, allocations: 109.9 kB / 460.3 MB, free: 29.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.3268, allocations: 52.53 kB / 460.4 MB, free: 29.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.327, allocations: 197.2 kB / 460.6 MB, free: 29.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.327, allocations: 26.86 kB / 460.6 MB, free: 29.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.3271, allocations: 130.6 kB / 460.7 MB, free: 29.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.3271, allocations: 34.67 kB / 460.8 MB, free: 29.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.3272, allocations: 28.7 kB / 460.8 MB, free: 29.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.604e-05/0.3272, allocations: 326.3 kB / 461.1 MB, free: 29.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.3273, allocations: 33.59 kB / 461.1 MB, free: 29.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.556e-05/0.3275, allocations: 45.75 kB / 461.2 MB, free: 29.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.3285, allocations: 198.7 kB / 461.4 MB, free: 29.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3285, allocations: 1.25 kB / 461.4 MB, free: 29.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002588/0.3287, allocations: 119.9 kB / 461.5 MB, free: 28.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3288, allocations: 5.656 kB / 461.5 MB, free: 28.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3288, allocations: 0 / 461.5 MB, free: 28.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3288, allocations: 2.312 kB / 461.5 MB, free: 28.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.329, allocations: 33.02 kB / 461.5 MB, free: 28.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.329, allocations: 1.031 kB / 461.5 MB, free: 28.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.654e-05/0.3291, allocations: 5 kB / 461.5 MB, free: 28.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3291, allocations: 3.469 kB / 461.5 MB, free: 28.96 MB / 350.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.0001432/0.3292, allocations: 137.8 kB / 461.7 MB, free: 28.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.3293, allocations: 15.09 kB / 461.7 MB, free: 28.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.3295, allocations: 122.6 kB / 461.8 MB, free: 28.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3295, allocations: 5.375 kB / 461.8 MB, free: 28.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3295, allocations: 0 / 461.8 MB, free: 28.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.3295, allocations: 3.938 kB / 461.8 MB, free: 28.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.3298, allocations: 233.5 kB / 462.1 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3298, allocations: 0 / 462.1 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.3299, allocations: 26.89 kB / 462.1 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.3299, allocations: 1.062 kB / 462.1 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.3299, allocations: 0.9688 kB / 462.1 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3299, allocations: 1.469 kB / 462.1 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3299, allocations: 3.938 kB / 462.1 MB, free: 28.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.3302, allocations: 241.2 kB / 462.3 MB, free: 28.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.3303, allocations: 89.17 kB / 462.4 MB, free: 28.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.3303, allocations: 5.281 kB / 462.4 MB, free: 28.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.599e-05/0.3304, allocations: 3.375 kB / 462.4 MB, free: 28.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.3304, allocations: 7.5 kB / 462.4 MB, free: 28.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.3304, allocations: 6.328 kB / 462.4 MB, free: 28.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.13e-05/0.3305, allocations: 141.9 kB / 462.6 MB, free: 28.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3305, allocations: 0 / 462.6 MB, free: 28.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.3308, allocations: 33.34 kB / 462.6 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 9.66e-05/0.3309, allocations: 93.53 kB / 462.7 MB, free: 28.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.3311, allocations: 77.95 kB / 462.8 MB, free: 28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3311, allocations: 0 / 462.8 MB, free: 28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.152e-05/0.3312, allocations: 32.47 kB / 462.8 MB, free: 28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.3316, allocations: 40.08 kB / 462.8 MB, free: 27.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005999/0.3322, allocations: 405.1 kB / 463.2 MB, free: 27.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.3323, allocations: 0.7159 MB / 464 MB, free: 27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.009e-05/0.3324, allocations: 19.45 kB / 464 MB, free: 27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.3325, allocations: 24.69 kB / 464 MB, free: 26.99 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3325, allocations: 0 / 464 MB, free: 26.99 MB / 350.1 MB Notification: Performance of Templates: time 0.004493/0.337, allocations: 1.778 MB / 465.8 MB, free: 26.85 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)