Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_002.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_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_002") translateModel(AES.Devel_test_models.Test_liquid_circuit_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 105.5 kB / 16.36 MB, free: 6.285 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.001457/0.001457, allocations: 192 kB / 17.29 MB, free: 5.863 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.329/1.329, 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.0898/0.0898, allocations: 22.34 MB / 313.5 MB, free: 8.906 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 62.08 kB / 382.2 MB, free: 41.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1194, allocations: 54.96 MB / 437.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.004139/0.1236, allocations: 3.103 MB / 440.3 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.1252, allocations: 0.8848 MB / 441.2 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.1254, allocations: 11.94 kB / 441.2 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.1257, allocations: 83.23 kB / 441.3 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004644/0.1262, allocations: 226.6 kB / 441.5 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.1267, allocations: 167.7 kB / 441.7 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.1279, allocations: 1.088 MB / 442.8 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009465/0.1288, allocations: 0.7707 MB / 443.5 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004897/0.1293, allocations: 419 kB / 443.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006357/0.13, allocations: 0.4946 MB / 444.4 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.1301, allocations: 116 kB / 444.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.1303, allocations: 120 kB / 444.7 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002967/0.1306, allocations: 347.1 kB / 445 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004498/0.131, allocations: 474.1 kB / 445.5 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.1321, allocations: 1.281 MB / 446.7 MB, free: 2.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1321, allocations: 8 kB / 446.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1322, allocations: 4 kB / 446.8 MB, free: 2.664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.1322, allocations: 0 / 446.8 MB, free: 2.664 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002384/0.1346, allocations: 1.189 MB / 447.9 MB, free: 1.426 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1346, allocations: 8.031 kB / 447.9 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.1348, allocations: 76.09 kB / 448 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008474/0.1356, allocations: 0.5225 MB / 448.5 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.307e-05/0.1357, allocations: 41.69 kB / 448.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.1358, allocations: 68.3 kB / 448.7 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.1371, allocations: 0.7798 MB / 449.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.1371, allocations: 4 kB / 449.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.04e-05/0.1372, allocations: 20 kB / 449.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.1372, allocations: 15.98 kB / 449.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.1384, allocations: 0.6806 MB / 450.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004964/0.1433, allocations: 3.557 MB / 453.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/0.1455, allocations: 0.8775 MB / 454.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005544/0.1461, allocations: 362 kB / 454.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.792e-05/0.1461, allocations: 12.38 kB / 455 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.1462, allocations: 35 kB / 455 MB, free: 10.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=51): time 1.773e-06/0.1462, allocations: 4 kB / 455 MB, free: 10.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.003945/0.1501, allocations: 1.87 MB / 456.9 MB, free: 8.023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.1502, allocations: 55.84 kB / 456.9 MB, free: 7.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005221/0.1507, allocations: 477.8 kB / 457.4 MB, free: 7.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.099e-05/0.1508, allocations: 37.64 kB / 457.4 MB, free: 7.438 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.151, allocations: 324 kB / 457.7 MB, free: 7.117 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.1512, allocations: 197.2 kB / 457.9 MB, free: 6.922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.1514, allocations: 142.6 kB / 458.1 MB, free: 6.777 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1516, allocations: 370.8 kB / 458.4 MB, free: 6.406 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006087/0.1522, allocations: 405.8 kB / 458.8 MB, free: 6.008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007178/0.1529, allocations: 0.5659 MB / 459.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.1543, allocations: 0.9775 MB / 460.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.1543, allocations: 8 kB / 460.4 MB, free: 4.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002446/0.1568, allocations: 1.29 MB / 461.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1568, allocations: 8.031 kB / 461.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.1568, allocations: 4 kB / 461.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.1579, allocations: 264.9 kB / 461.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008864/0.1588, allocations: 219.7 kB / 462.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00819/0.167, allocations: 9.473 MB / 471.6 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007287/0.1678, allocations: 83.44 kB / 471.7 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.678e-05/0.1678, allocations: 32 kB / 471.7 MB, free: 8.051 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005111/0.1684, allocations: 265.5 kB / 472 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.1685, allocations: 51.34 kB / 472 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/0.1705, allocations: 1.003 MB / 473 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.1706, allocations: 8 kB / 473.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1706, allocations: 0 / 473.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.1706, allocations: 3.984 kB / 473.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.1716, allocations: 0.8524 MB / 473.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.1716, allocations: 4 kB / 473.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009675/0.1726, allocations: 171.8 kB / 474.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007148/0.1733, allocations: 228.9 kB / 474.3 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.99e-05/0.1734, allocations: 31.98 kB / 474.3 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006905/0.1803, allocations: 9.014 MB / 483.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1803, allocations: 4.156 kB / 483.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002349/0.1827, allocations: 1.381 MB / 484.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.1829, allocations: 140.3 kB / 484.9 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.957e-05/0.183, allocations: 31.98 kB / 484.9 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.1834, allocations: 27.97 kB / 484.9 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.1835, allocations: 44.36 kB / 485 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.646e-05/0.1836, allocations: 16 kB / 485 MB, free: 9.797 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000376/0.184, allocations: 339.1 kB / 485.3 MB, free: 9.465 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.184, allocations: 0 / 485.3 MB, free: 9.465 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008217/0.1848, allocations: 255.6 kB / 485.6 MB, free: 9.215 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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]) * 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 (46): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001886/0.185, allocations: 137.3 kB / 485.7 MB, free: 9.074 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002141/0.1872, allocations: 1.576 MB / 487.3 MB, free: 7.422 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1872, allocations: 0 / 487.3 MB, free: 7.422 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.1884, allocations: 1.085 MB / 488.4 MB, free: 6.254 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006641/0.1891, allocations: 172.1 kB / 488.5 MB, free: 6.086 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.193, allocations: 2.664 MB / 491.2 MB, free: 3.398 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/0.1936, allocations: 0.972 MB / 492.2 MB, free: 2.402 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005031/0.1941, allocations: 208.7 kB / 492.4 MB, free: 2.195 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.1943, allocations: 47.42 kB / 492.4 MB, free: 2.148 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1943, allocations: 0 / 492.4 MB, free: 2.148 MB / 366.1 MB Notification: Performance of Templates: time 0.01869/0.213, allocations: 12.12 MB / 0.4927 GB, free: 6.145 MB / 382.1 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_circuit_002.makefile (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_002.sim & ./AES_AES.Devel_test_models.Test_liquid_circuit_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe 2>&1)