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.000954/0.0009541, allocations: 87.98 kB / 16.02 MB, free: 80 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.001176/0.001176, allocations: 185.7 kB / 16.92 MB, free: 6.688 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.296/1.296, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1922/0.1922, allocations: 22.34 MB / 314.4 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000285/0.000285, allocations: 20.16 kB / 383.3 MB, free: 10.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2287, allocations: 55.98 MB / 439.2 MB, free: 39.39 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.01921/0.2479, allocations: 21.35 MB / 460.6 MB, free: 31.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004024/0.2483, allocations: 190.4 kB / 460.8 MB, free: 31.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.059e-05/0.2484, allocations: 3.344 kB / 460.8 MB, free: 31.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.935e-05/0.2484, allocations: 24.03 kB / 460.8 MB, free: 31.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.2486, allocations: 48.39 kB / 460.8 MB, free: 31.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.548e-05/0.2487, allocations: 32.5 kB / 460.9 MB, free: 31.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.2489, allocations: 173 kB / 461 MB, free: 31.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.2491, allocations: 104.5 kB / 461.1 MB, free: 31.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.2492, allocations: 66.45 kB / 461.2 MB, free: 31.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.2493, allocations: 81.59 kB / 461.3 MB, free: 31.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.2493, allocations: 13.41 kB / 461.3 MB, free: 31.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.862e-05/0.2494, allocations: 16.88 kB / 461.3 MB, free: 31.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.2494, allocations: 27.39 kB / 461.3 MB, free: 31.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.063e-05/0.2495, allocations: 104.1 kB / 461.5 MB, free: 31.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.2496, allocations: 131 kB / 461.6 MB, free: 31.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2496, allocations: 1.219 kB / 461.6 MB, free: 31.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2496, allocations: 0 / 461.6 MB, free: 31.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.2496, allocations: 0 / 461.6 MB, free: 31.3 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.000433/0.2501, allocations: 429.8 kB / 462 MB, free: 30.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.2501, allocations: 21.31 kB / 462 MB, free: 30.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.2502, allocations: 24.81 kB / 462 MB, free: 30.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.2503, allocations: 229 kB / 462.3 MB, free: 30.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.2504, allocations: 9.922 kB / 462.3 MB, free: 30.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.2504, allocations: 11.41 kB / 462.3 MB, free: 30.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.2507, allocations: 151.7 kB / 462.4 MB, free: 30.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2507, allocations: 3.938 kB / 462.4 MB, free: 30.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.2507, allocations: 5.094 kB / 462.4 MB, free: 30.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2507, allocations: 7.938 kB / 462.5 MB, free: 30.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002617/0.251, allocations: 95.72 kB / 462.5 MB, free: 30.49 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.0007267/0.2517, allocations: 0.6313 MB / 463.2 MB, free: 29.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.2519, allocations: 66.97 kB / 463.2 MB, free: 29.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.881e-05/0.252, allocations: 31.83 kB / 463.3 MB, free: 29.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.252, allocations: 1.719 kB / 463.3 MB, free: 29.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.117e-05/0.252, allocations: 38.03 kB / 463.3 MB, free: 29.84 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 9.571e-05/0.2521, allocations: 15.03 kB / 463.3 MB, free: 29.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.2521, allocations: 3.984 kB / 463.3 MB, free: 29.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003656/0.2525, allocations: 113 kB / 463.4 MB, free: 29.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.671e-05/0.2525, allocations: 56.44 kB / 463.5 MB, free: 29.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.2527, allocations: 200.9 kB / 463.7 MB, free: 29.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.709e-06/0.2527, allocations: 26.73 kB / 463.7 MB, free: 29.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/0.2528, allocations: 130 kB / 463.8 MB, free: 29.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.2528, allocations: 27.66 kB / 463.9 MB, free: 29.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.2528, allocations: 23.2 kB / 463.9 MB, free: 29.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.9e-05/0.2528, allocations: 323 kB / 464.2 MB, free: 29.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.56e-05/0.253, allocations: 22.59 kB / 464.2 MB, free: 29.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.483e-05/0.2531, allocations: 51.5 kB / 464.3 MB, free: 29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.2541, allocations: 198.5 kB / 464.5 MB, free: 28.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2541, allocations: 4 kB / 464.5 MB, free: 28.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002643/0.2544, allocations: 119.8 kB / 464.6 MB, free: 28.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.2544, allocations: 5.594 kB / 464.6 MB, free: 28.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2544, allocations: 1 kB / 464.6 MB, free: 28.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2544, allocations: 1.156 kB / 464.6 MB, free: 28.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.2546, allocations: 26.22 kB / 464.6 MB, free: 28.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2546, allocations: 4.219 kB / 464.6 MB, free: 28.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.437e-05/0.2547, allocations: 9.031 kB / 464.6 MB, free: 28.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.2547, allocations: 4.219 kB / 464.6 MB, free: 28.84 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.0001253/0.2548, allocations: 141.8 kB / 464.8 MB, free: 28.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.2549, allocations: 9.438 kB / 464.8 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.2551, allocations: 122.7 kB / 464.9 MB, free: 28.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.2551, allocations: 2.219 kB / 464.9 MB, free: 28.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2551, allocations: 4 kB / 464.9 MB, free: 28.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2551, allocations: 3.938 kB / 464.9 MB, free: 28.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.2553, allocations: 229.2 kB / 465.2 MB, free: 28.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2553, allocations: 0 / 465.2 MB, free: 28.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.2555, allocations: 22.58 kB / 465.2 MB, free: 28.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2555, allocations: 1.312 kB / 465.2 MB, free: 28.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.2555, allocations: 1.281 kB / 465.2 MB, free: 28.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.2555, allocations: 4.906 kB / 465.2 MB, free: 28.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2555, allocations: 0 / 465.2 MB, free: 28.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.2558, allocations: 242 kB / 465.4 MB, free: 28.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.2558, allocations: 93.27 kB / 465.5 MB, free: 28.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.2558, allocations: 5.062 kB / 465.5 MB, free: 28.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.2559, allocations: 7 kB / 465.5 MB, free: 28.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.256, allocations: 10.55 kB / 465.5 MB, free: 28.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.256, allocations: 2.969 kB / 465.5 MB, free: 28.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.887e-05/0.2561, allocations: 145.7 kB / 465.7 MB, free: 28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2561, allocations: 0 / 465.7 MB, free: 28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.2564, allocations: 33.91 kB / 465.7 MB, free: 28 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 6.746e-05/0.2564, allocations: 100.9 kB / 465.8 MB, free: 27.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.2566, allocations: 69.72 kB / 465.9 MB, free: 27.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2566, allocations: 1.094 kB / 465.9 MB, free: 27.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.887e-05/0.2567, allocations: 36.64 kB / 465.9 MB, free: 27.87 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.257, allocations: 32.17 kB / 465.9 MB, free: 27.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.2576, allocations: 0.4942 MB / 466.4 MB, free: 27.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.2577, allocations: 0.716 MB / 467.2 MB, free: 26.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.2577, allocations: 21.55 kB / 467.2 MB, free: 26.8 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2577, allocations: 0 / 467.2 MB, free: 26.8 MB / 350.1 MB Notification: Performance of Templates: time 0.003067/0.2608, allocations: 1.968 MB / 469.1 MB, free: 26.66 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)