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.0009742/0.0009743, allocations: 92.7 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.001063/0.001063, allocations: 178.9 kB / 16.92 MB, free: 6.652 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.327/1.327, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2031/0.2031, allocations: 22.34 MB / 314.4 MB, free: 13.05 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.0003173, allocations: 11.94 kB / 383.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2343, allocations: 55.97 MB / 439.2 MB, free: 39.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.002424/0.2368, allocations: 3.24 MB / 442.5 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.238, allocations: 0.9501 MB / 443.4 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.2381, allocations: 14.31 kB / 443.4 MB, free: 36.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.2383, allocations: 69.31 kB / 443.5 MB, free: 36.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000368/0.2387, allocations: 231.4 kB / 443.7 MB, free: 35.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.239, allocations: 160.5 kB / 443.9 MB, free: 35.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008458/0.2398, allocations: 1.363 MB / 445.2 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005918/0.2404, allocations: 0.6496 MB / 445.9 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002863/0.2407, allocations: 339.9 kB / 446.2 MB, free: 34.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004584/0.2412, allocations: 483.6 kB / 446.7 MB, free: 34.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.598e-05/0.2413, allocations: 48 kB / 446.7 MB, free: 34.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.2414, allocations: 49.84 kB / 446.8 MB, free: 34.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.2416, allocations: 277.8 kB / 447.1 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002918/0.2419, allocations: 442.9 kB / 447.5 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005653/0.2425, allocations: 1.063 MB / 448.6 MB, free: 34.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2425, allocations: 0 / 448.6 MB, free: 34.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2425, allocations: 4 kB / 448.6 MB, free: 34.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.2425, allocations: 3.938 kB / 448.6 MB, free: 34.24 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.001872/0.2444, allocations: 1.094 MB / 449.7 MB, free: 33.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.2444, allocations: 12.75 kB / 449.7 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.2446, allocations: 86.28 kB / 449.8 MB, free: 33.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006557/0.2452, allocations: 0.5412 MB / 450.3 MB, free: 33.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.703e-05/0.2453, allocations: 73.23 kB / 450.4 MB, free: 33.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.2455, allocations: 76.06 kB / 450.4 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.2467, allocations: 0.8327 MB / 451.3 MB, free: 32.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.2467, allocations: 0 / 451.3 MB, free: 32.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.93e-05/0.2468, allocations: 27.94 kB / 451.3 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.2468, allocations: 16.8 kB / 451.3 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.2479, allocations: 0.719 MB / 452 MB, free: 32.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004149/0.2521, allocations: 3.781 MB / 455.8 MB, free: 29.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/0.2541, allocations: 0.9015 MB / 456.7 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005279/0.2547, allocations: 371.6 kB / 457.1 MB, free: 29.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.62e-05/0.2547, allocations: 14.89 kB / 457.1 MB, free: 29.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.2548, allocations: 46.28 kB / 457.1 MB, free: 29.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.214e-06/0.2548, allocations: 0 / 457.1 MB, free: 29.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.003117/0.2579, allocations: 1.748 MB / 458.9 MB, free: 28.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.2579, allocations: 57.47 kB / 459 MB, free: 28.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005104/0.2584, allocations: 473.6 kB / 459.4 MB, free: 28.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.165e-05/0.2585, allocations: 36.55 kB / 459.5 MB, free: 28.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.2587, allocations: 339.6 kB / 459.8 MB, free: 27.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.2588, allocations: 225.2 kB / 460 MB, free: 27.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-05/0.2589, allocations: 69.97 kB / 460.1 MB, free: 27.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.466e-05/0.259, allocations: 381.5 kB / 460.4 MB, free: 27.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006268/0.2596, allocations: 450.4 kB / 460.9 MB, free: 27.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00068/0.2603, allocations: 0.5919 MB / 461.5 MB, free: 26.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00708/0.2674, allocations: 2.486 MB / 464 MB, free: 25.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.2674, allocations: 2.406 kB / 464 MB, free: 25.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002304/0.2697, allocations: 1.299 MB / 465.3 MB, free: 25.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.2698, allocations: 9 kB / 465.3 MB, free: 25.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.2698, allocations: 4.969 kB / 465.3 MB, free: 25.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007291/0.2705, allocations: 222.3 kB / 465.5 MB, free: 25.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.2718, allocations: 256.9 kB / 465.7 MB, free: 25.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004243/0.2761, allocations: 7.376 MB / 473.1 MB, free: 17.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007396/0.2768, allocations: 93.78 kB / 473.2 MB, free: 17.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.586e-05/0.2769, allocations: 29.95 kB / 473.2 MB, free: 17.92 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.0004363/0.2774, allocations: 282.4 kB / 473.5 MB, free: 17.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.2775, allocations: 58.03 kB / 473.6 MB, free: 17.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.2792, allocations: 0.9749 MB / 474.5 MB, free: 17.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.2792, allocations: 10.41 kB / 474.6 MB, free: 17.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2792, allocations: 5.984 kB / 474.6 MB, free: 17.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.2793, allocations: 2.719 kB / 474.6 MB, free: 17.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.2803, allocations: 0.8939 MB / 475.5 MB, free: 16.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2803, allocations: 0 / 475.5 MB, free: 16.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/0.2817, allocations: 214.2 kB / 475.7 MB, free: 16.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005116/0.2822, allocations: 174.7 kB / 475.8 MB, free: 16.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.54e-05/0.2823, allocations: 30.7 kB / 475.9 MB, free: 16.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003426/0.2857, allocations: 6.92 MB / 482.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2857, allocations: 0 / 482.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.2879, allocations: 1.367 MB / 484.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.2881, allocations: 144.2 kB / 484.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.2882, allocations: 27.42 kB / 484.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004448/0.2886, allocations: 46.58 kB / 484.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.2888, allocations: 47.03 kB / 484.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.2888, allocations: 16.28 kB / 484.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000344/0.2892, allocations: 331.7 kB / 484.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2892, allocations: 0 / 484.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008266/0.29, allocations: 256.1 kB / 485 MB, free: 8.75 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.0001496/0.2902, allocations: 136.6 kB / 485.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.292, allocations: 1.487 MB / 486.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2921, allocations: 1.219 kB / 486.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009434/0.293, allocations: 0.9594 MB / 487.6 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007464/0.2938, allocations: 173.5 kB / 487.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004684/0.2985, allocations: 3.563 MB / 491.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.2989, allocations: 0.9739 MB / 492.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/0.2992, allocations: 61.27 kB / 492.4 MB, free: 4 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2992, allocations: 0 / 492.4 MB, free: 4 MB / 350.1 MB Notification: Performance of Templates: time 0.02406/0.3233, allocations: 22.13 MB / 0.5024 GB, free: 15.44 MB / 382.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)