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.001284/0.001284, allocations: 100.1 kB / 15.88 MB, free: 12 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.001274/0.001274, allocations: 196 kB / 16.79 MB, free: 6.809 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.286/1.286, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1795/0.1795, allocations: 22.36 MB / 313 MB, free: 12.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 59.91 kB / 380.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2205, allocations: 54.94 MB / 435.7 MB, free: 39.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.003302/0.2239, allocations: 3.626 MB / 439.3 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.225, allocations: 0.9562 MB / 440.3 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.2251, allocations: 11.62 kB / 440.3 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.2253, allocations: 75.06 kB / 440.4 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003508/0.2257, allocations: 232 kB / 440.6 MB, free: 36.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.226, allocations: 154.4 kB / 440.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007491/0.2268, allocations: 1.364 MB / 442.1 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005456/0.2273, allocations: 0.6808 MB / 442.8 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.2276, allocations: 373 kB / 443.2 MB, free: 35.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004401/0.228, allocations: 0.5125 MB / 443.7 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.2281, allocations: 64.34 kB / 443.7 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.2283, allocations: 62.56 kB / 443.8 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.2285, allocations: 293 kB / 444.1 MB, free: 34.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003118/0.2288, allocations: 441.5 kB / 444.5 MB, free: 34.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005406/0.2293, allocations: 1.092 MB / 445.6 MB, free: 34.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2294, allocations: 3.938 kB / 445.6 MB, free: 34.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.2294, allocations: 0 / 445.6 MB, free: 34.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.2294, allocations: 0 / 445.6 MB, free: 34.34 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.002057/0.2314, allocations: 1.221 MB / 446.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.2315, allocations: 13.5 kB / 446.8 MB, free: 33.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.2316, allocations: 89.62 kB / 446.9 MB, free: 33.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006053/0.2322, allocations: 0.5406 MB / 447.5 MB, free: 33.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.9e-05/0.2323, allocations: 74.95 kB / 447.6 MB, free: 33.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.2324, allocations: 83.62 kB / 447.6 MB, free: 33.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.2336, allocations: 0.8263 MB / 448.5 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.2337, allocations: 3.234 kB / 448.5 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.176e-05/0.2337, allocations: 27.88 kB / 448.5 MB, free: 32.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.2337, allocations: 14.78 kB / 448.5 MB, free: 32.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.2348, allocations: 0.7194 MB / 449.2 MB, free: 32.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003969/0.2387, allocations: 3.748 MB / 453 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/0.2408, allocations: 0.9075 MB / 453.9 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004767/0.2413, allocations: 370.6 kB / 454.2 MB, free: 29.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.608e-05/0.2413, allocations: 10.98 kB / 454.3 MB, free: 29.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.2414, allocations: 38.25 kB / 454.3 MB, free: 29.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 1.663e-06/0.2414, allocations: 0 / 454.3 MB, free: 29.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.002959/0.2443, allocations: 1.721 MB / 456 MB, free: 28.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.2444, allocations: 57.31 kB / 456.1 MB, free: 28.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004584/0.2448, allocations: 480.9 kB / 456.5 MB, free: 28.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/0.2449, allocations: 31.86 kB / 456.6 MB, free: 28.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.245, allocations: 345.4 kB / 456.9 MB, free: 27.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.2452, allocations: 222.4 kB / 457.1 MB, free: 27.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.2454, allocations: 153 kB / 457.3 MB, free: 27.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.135e-05/0.2455, allocations: 372.8 kB / 457.6 MB, free: 27.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006225/0.2461, allocations: 453.9 kB / 458.1 MB, free: 27.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006424/0.2468, allocations: 0.592 MB / 458.7 MB, free: 26.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006819/0.2536, allocations: 2.388 MB / 461.1 MB, free: 25.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.2536, allocations: 6.406 kB / 461.1 MB, free: 25.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00219/0.2558, allocations: 1.285 MB / 462.3 MB, free: 25.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2558, allocations: 10.94 kB / 462.4 MB, free: 25.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.2559, allocations: 9.719 kB / 462.4 MB, free: 25.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007208/0.2566, allocations: 206 kB / 462.6 MB, free: 25.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.2578, allocations: 266.6 kB / 462.8 MB, free: 25.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004092/0.2619, allocations: 7.351 MB / 470.2 MB, free: 17.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006364/0.2625, allocations: 109.3 kB / 470.3 MB, free: 17.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.731e-05/0.2626, allocations: 29.62 kB / 470.3 MB, free: 17.91 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.0003966/0.263, allocations: 276.2 kB / 470.6 MB, free: 17.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.2631, allocations: 58.5 kB / 470.6 MB, free: 17.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.2649, allocations: 0.9746 MB / 471.6 MB, free: 17.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.2649, allocations: 10.81 kB / 471.6 MB, free: 17.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2649, allocations: 5.281 kB / 471.6 MB, free: 17.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.547e-06/0.2649, allocations: 3.422 kB / 471.6 MB, free: 17.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.2659, allocations: 0.8866 MB / 472.5 MB, free: 16.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2659, allocations: 0 / 472.5 MB, free: 16.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/0.2674, allocations: 213.6 kB / 472.7 MB, free: 16.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005294/0.2679, allocations: 178.3 kB / 472.9 MB, free: 16.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.235e-05/0.268, allocations: 30.56 kB / 472.9 MB, free: 16.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003385/0.2714, allocations: 6.921 MB / 479.9 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2714, allocations: 0 / 479.9 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/0.2735, allocations: 1.362 MB / 481.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.2737, allocations: 140 kB / 481.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.2738, allocations: 32.47 kB / 481.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/0.2742, allocations: 42 kB / 481.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.2744, allocations: 46.41 kB / 481.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.757e-05/0.2744, allocations: 16.91 kB / 481.5 MB, free: 8.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003407/0.2748, allocations: 333.8 kB / 481.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2748, allocations: 0 / 481.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008256/0.2756, allocations: 258.7 kB / 482.1 MB, free: 8.742 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.0001607/0.2758, allocations: 140.9 kB / 482.2 MB, free: 8.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.2776, allocations: 1.477 MB / 483.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2776, allocations: 0 / 483.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009462/0.2786, allocations: 0.9558 MB / 484.6 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007688/0.2793, allocations: 180.4 kB / 484.8 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004579/0.2839, allocations: 3.251 MB / 488.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.2844, allocations: 0.9753 MB / 489 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/0.2848, allocations: 58.33 kB / 489.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2848, allocations: 0 / 489.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of Templates: time 0.02186/0.3066, allocations: 22.18 MB / 0.4993 GB, free: 192 kB / 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)