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.00132/0.00132, allocations: 104 kB / 16.35 MB, free: 5.824 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.001453/0.001453, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09128/0.09128, allocations: 22.32 MB / 313.5 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 62.03 kB / 382.2 MB, free: 41.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1208, allocations: 54.97 MB / 437.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.005285/0.1262, allocations: 3.381 MB / 440.6 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.1285, allocations: 0.9352 MB / 441.5 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005013/0.129, allocations: 4 kB / 441.5 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003712/0.1295, allocations: 103.1 kB / 441.6 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006845/0.1302, allocations: 246.4 kB / 441.9 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006404/0.1308, allocations: 175.7 kB / 442 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.132, allocations: 1.159 MB / 443.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009075/0.1329, allocations: 0.8069 MB / 444 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004946/0.1334, allocations: 446.8 kB / 444.4 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006876/0.1341, allocations: 0.5218 MB / 445 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.1343, allocations: 124 kB / 445.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.1345, allocations: 124 kB / 445.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003197/0.1348, allocations: 355.1 kB / 445.5 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005711/0.1354, allocations: 0.5018 MB / 446 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.1365, allocations: 1.355 MB / 447.4 MB, free: 1.938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1365, allocations: 0 / 447.4 MB, free: 1.938 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1365, allocations: 0 / 447.4 MB, free: 1.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.1365, allocations: 0 / 447.4 MB, free: 1.938 MB / 318.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.002738/0.1393, allocations: 1.228 MB / 448.6 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.1393, allocations: 12.03 kB / 448.6 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.1395, allocations: 80 kB / 448.7 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008996/0.1404, allocations: 0.5381 MB / 449.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.062e-05/0.1405, allocations: 83.58 kB / 449.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.1407, allocations: 72.28 kB / 449.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.1421, allocations: 0.8303 MB / 450.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.1422, allocations: 7.984 kB / 450.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.397e-05/0.1422, allocations: 24 kB / 450.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.1423, allocations: 16 kB / 450.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.1435, allocations: 0.7196 MB / 451 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00527/0.1487, allocations: 3.728 MB / 454.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/0.151, allocations: 0.9112 MB / 455.6 MB, free: 9.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005644/0.1516, allocations: 366.4 kB / 456 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.406e-05/0.1517, allocations: 4.562 kB / 456 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1517, allocations: 43.16 kB / 456.1 MB, free: 8.875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=56): time 2.124e-06/0.1517, allocations: 0 / 456.1 MB, free: 8.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.003365/0.1551, allocations: 1.724 MB / 457.8 MB, free: 7.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.1551, allocations: 55.97 kB / 457.8 MB, free: 6.969 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006182/0.1558, allocations: 489.6 kB / 458.3 MB, free: 6.484 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.419e-05/0.1558, allocations: 33.7 kB / 458.3 MB, free: 6.445 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.156, allocations: 339.6 kB / 458.7 MB, free: 6.105 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.1563, allocations: 232.8 kB / 458.9 MB, free: 5.875 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/0.1565, allocations: 142.6 kB / 459 MB, free: 5.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1567, allocations: 378.7 kB / 459.4 MB, free: 5.352 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007001/0.1574, allocations: 452.6 kB / 459.9 MB, free: 4.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008255/0.1582, allocations: 0.5968 MB / 460.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006839/0.1651, allocations: 2.39 MB / 462.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.1651, allocations: 8 kB / 462.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002291/0.1674, allocations: 1.282 MB / 464.1 MB, free: 484 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1674, allocations: 8 kB / 464.1 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.1674, allocations: 4.062 kB / 464.1 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000738/0.1682, allocations: 220.1 kB / 464.4 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.1694, allocations: 255.7 kB / 464.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006282/0.1757, allocations: 7.899 MB / 472.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007271/0.1765, allocations: 87.19 kB / 472.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.1766, allocations: 39.92 kB / 472.6 MB, free: 7.223 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.0004646/0.1771, allocations: 273.1 kB / 472.9 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.1772, allocations: 63.27 kB / 473 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.179, allocations: 0.9789 MB / 473.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.179, allocations: 8 kB / 473.9 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.179, allocations: 0 / 473.9 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.179, allocations: 3.984 kB / 473.9 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.18, allocations: 0.8915 MB / 474.8 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1801, allocations: 4.094 kB / 474.8 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/0.1814, allocations: 211.8 kB / 475 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005271/0.182, allocations: 180 kB / 475.2 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.53e-05/0.1821, allocations: 35.98 kB / 475.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005238/0.1873, allocations: 7.444 MB / 482.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1873, allocations: 0 / 482.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/0.1896, allocations: 1.367 MB / 484.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.1897, allocations: 140.3 kB / 484.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.1898, allocations: 31.98 kB / 484.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004142/0.1903, allocations: 32.09 kB / 484.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.1904, allocations: 44.5 kB / 484.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.726e-05/0.1905, allocations: 23.92 kB / 484.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003775/0.1909, allocations: 327.1 kB / 484.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1909, allocations: 0 / 484.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008002/0.1917, allocations: 267.5 kB / 484.9 MB, free: 10.09 MB / 366.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.0001738/0.1919, allocations: 141.3 kB / 485.1 MB, free: 9.941 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002025/0.1939, allocations: 1.479 MB / 486.5 MB, free: 8.398 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1939, allocations: 0 / 486.5 MB, free: 8.398 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.1951, allocations: 0.9614 MB / 487.5 MB, free: 7.371 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007091/0.1958, allocations: 174.2 kB / 487.7 MB, free: 7.203 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004696/0.2005, allocations: 2.891 MB / 490.6 MB, free: 4.285 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005801/0.2011, allocations: 0.9772 MB / 491.5 MB, free: 3.281 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000611/0.2017, allocations: 220.9 kB / 491.8 MB, free: 3.062 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.2019, allocations: 43.44 kB / 491.8 MB, free: 3.02 MB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.2019, allocations: 0 / 491.8 MB, free: 3.02 MB / 366.1 MB Notification: Performance of Templates: time 0.01908/0.221, allocations: 11.67 MB / 0.4917 GB, free: 7.477 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 -s cvode -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe 2>&1)