Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_003.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_circuit_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_003") translateModel(AES.Devel_test_models.Test_liquid_circuit_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_003") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.001113/0.001113, allocations: 201.3 kB / 16.14 MB, free: 6.594 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.334/1.334, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2027/0.2027, allocations: 22.34 MB / 312.3 MB, free: 12.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 67.89 kB / 380.1 MB, free: 11.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3122, allocations: 54.94 MB / 435 MB, free: 39.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.003791/0.316, allocations: 3.628 MB / 438.7 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.3173, allocations: 0.9632 MB / 439.6 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.3175, allocations: 5.094 kB / 439.6 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.3177, allocations: 73.12 kB / 439.7 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.3181, allocations: 236 kB / 439.9 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.3184, allocations: 164.3 kB / 440.1 MB, free: 35.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000782/0.3192, allocations: 1.357 MB / 441.5 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006204/0.3199, allocations: 0.6761 MB / 442.1 MB, free: 35.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.3202, allocations: 366.5 kB / 442.5 MB, free: 35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004609/0.3207, allocations: 0.5176 MB / 443 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.3208, allocations: 65.84 kB / 443.1 MB, free: 34.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.3209, allocations: 60.97 kB / 443.1 MB, free: 34.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.3211, allocations: 296 kB / 443.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003426/0.3215, allocations: 445.9 kB / 443.9 MB, free: 34.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000729/0.3222, allocations: 1.297 MB / 445.1 MB, free: 33.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3222, allocations: 0 / 445.1 MB, free: 33.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3222, allocations: 0 / 445.1 MB, free: 33.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.3223, allocations: 3.938 kB / 445.2 MB, free: 33.98 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.002203/0.3245, allocations: 1.221 MB / 446.4 MB, free: 33.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3245, allocations: 12.72 kB / 446.4 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.3247, allocations: 89.05 kB / 446.5 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005739/0.3252, allocations: 0.5413 MB / 447 MB, free: 32.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-05/0.3253, allocations: 81.67 kB / 447.1 MB, free: 32.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.3254, allocations: 73.56 kB / 447.2 MB, free: 32.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.3266, allocations: 0.8273 MB / 448 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.3266, allocations: 2.625 kB / 448 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.728e-05/0.3267, allocations: 26.19 kB / 448 MB, free: 32.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.3267, allocations: 17.56 kB / 448 MB, free: 32.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009987/0.3277, allocations: 0.7248 MB / 448.8 MB, free: 32.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004012/0.3317, allocations: 3.745 MB / 452.5 MB, free: 29.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.3337, allocations: 0.9067 MB / 453.4 MB, free: 29.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004721/0.3342, allocations: 374.2 kB / 453.8 MB, free: 29.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.098e-05/0.3343, allocations: 6.344 kB / 453.8 MB, free: 29.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.3343, allocations: 38.34 kB / 453.8 MB, free: 29.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.195e-06/0.3343, allocations: 0 / 453.8 MB, free: 29.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.002977/0.3373, allocations: 1.718 MB / 455.5 MB, free: 28.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.3373, allocations: 65.19 kB / 455.6 MB, free: 27.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004977/0.3378, allocations: 472.9 kB / 456.1 MB, free: 27.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.3379, allocations: 39.98 kB / 456.1 MB, free: 27.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.3381, allocations: 348 kB / 456.4 MB, free: 27.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.3382, allocations: 224.9 kB / 456.7 MB, free: 27.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.3384, allocations: 147.6 kB / 456.8 MB, free: 27.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.3385, allocations: 374.1 kB / 457.2 MB, free: 26.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006047/0.3391, allocations: 457 kB / 457.6 MB, free: 26.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006653/0.3398, allocations: 0.588 MB / 458.2 MB, free: 26.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006782/0.3466, allocations: 2.396 MB / 460.6 MB, free: 25.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.3466, allocations: 1.219 kB / 460.6 MB, free: 25.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002245/0.3489, allocations: 1.287 MB / 461.9 MB, free: 24.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.3489, allocations: 6.812 kB / 461.9 MB, free: 24.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.3489, allocations: 9.25 kB / 461.9 MB, free: 24.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006819/0.3496, allocations: 210.3 kB / 462.1 MB, free: 24.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.3508, allocations: 261.1 kB / 462.4 MB, free: 24.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004331/0.3551, allocations: 7.357 MB / 469.7 MB, free: 17.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006837/0.3558, allocations: 96.02 kB / 469.8 MB, free: 17.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.564e-05/0.3559, allocations: 33.09 kB / 469.9 MB, free: 17.57 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004193/0.3563, allocations: 281.5 kB / 470.1 MB, free: 17.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.3564, allocations: 54.75 kB / 470.2 MB, free: 17.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/0.3581, allocations: 0.9786 MB / 471.2 MB, free: 16.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.3582, allocations: 14.38 kB / 471.2 MB, free: 16.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3582, allocations: 2.094 kB / 471.2 MB, free: 16.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.3582, allocations: 2.625 kB / 471.2 MB, free: 16.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.3594, allocations: 0.8817 MB / 472.1 MB, free: 16.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3594, allocations: 1.406 kB / 472.1 MB, free: 16.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/0.3608, allocations: 213.9 kB / 472.3 MB, free: 16.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004985/0.3613, allocations: 174.4 kB / 472.4 MB, free: 16.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.532e-05/0.3614, allocations: 34.53 kB / 472.5 MB, free: 16.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003469/0.3648, allocations: 6.92 MB / 479.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3648, allocations: 0 / 479.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/0.3671, allocations: 1.368 MB / 480.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.3672, allocations: 144.3 kB / 480.9 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.3673, allocations: 32.53 kB / 480.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.3678, allocations: 37.67 kB / 481 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.3679, allocations: 47.11 kB / 481 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/0.368, allocations: 18.64 kB / 481 MB, free: 8.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003592/0.3683, allocations: 323.7 kB / 481.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3683, allocations: 0 / 481.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008348/0.3692, allocations: 262.5 kB / 481.6 MB, free: 8.398 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (tube.fluidStream.T[1],tube.fluidStream.T[2],tube.fluidStream.T[3],tube.fluidStream.T[4],tube.fluidStream.T[5],tube.wall.wall.T[1,1],tube.wall.wall.T[1,2],tube.wall.wall.T[1,3],tube.wall.wall.T[2,1],tube.wall.wall.T[2,2],tube.wall.wall.T[2,3],tube.wall.wall.T[3,1],tube.wall.wall.T[3,2],tube.wall.wall.T[3,3],tube.wall.wall.T[4,1],tube.wall.wall.T[4,2],tube.wall.wall.T[4,3],tube.wall.wall.T[5,1],tube.wall.wall.T[5,2],tube.wall.wall.T[5,3],H.Tfo,H.Ec) * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001656/0.3693, allocations: 139.3 kB / 481.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.3711, allocations: 1.481 MB / 483.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3711, allocations: 0 / 483.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009019/0.372, allocations: 0.9565 MB / 484.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007033/0.3727, allocations: 179.3 kB / 484.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004309/0.3771, allocations: 3.192 MB / 487.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.3775, allocations: 0.9785 MB / 488.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000633/0.3781, allocations: 212.2 kB / 488.7 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.3783, allocations: 52.5 kB / 488.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3784, allocations: 0 / 488.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of Templates: time 0.01619/0.3945, allocations: 11.13 MB / 499.9 MB, free: 10.95 MB / 366.1 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_circuit_003.makefile (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_003.sim & ./AES_AES.Devel_test_models.Test_liquid_circuit_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe 2>&1)