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.001449/0.001449, allocations: 112.6 kB / 16.37 MB, free: 6 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.001701/0.001701, allocations: 196 kB / 17.31 MB, free: 5.613 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0967/0.0967, allocations: 22.32 MB / 313.5 MB, free: 8.922 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 62.48 kB / 382.2 MB, free: 41.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09395/0.09519, allocations: 54.96 MB / 437.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.005332/0.1006, allocations: 3.383 MB / 440.6 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.1028, allocations: 0.9391 MB / 441.5 MB, free: 7.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004965/0.1034, allocations: 7.938 kB / 441.5 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004073/0.1038, allocations: 99.16 kB / 441.6 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007712/0.1046, allocations: 250.4 kB / 441.9 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.1052, allocations: 179.7 kB / 442.1 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001366/0.1066, allocations: 1.159 MB / 443.2 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.1077, allocations: 0.7992 MB / 444 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000698/0.1084, allocations: 454.8 kB / 444.5 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006415/0.1091, allocations: 0.5179 MB / 445 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.1093, allocations: 124 kB / 445.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.1094, allocations: 124 kB / 445.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000295/0.1097, allocations: 359.1 kB / 445.6 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004468/0.1102, allocations: 0.4941 MB / 446.1 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.1112, allocations: 1.352 MB / 447.4 MB, free: 2.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1112, allocations: 7.938 kB / 447.4 MB, free: 2.012 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1112, allocations: 4 kB / 447.4 MB, free: 2.008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.1113, allocations: 0 / 447.4 MB, free: 2.008 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.002476/0.1137, allocations: 1.227 MB / 448.7 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1138, allocations: 8.031 kB / 448.7 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.114, allocations: 84 kB / 448.7 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008844/0.1149, allocations: 0.5342 MB / 449.3 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.115, allocations: 79.62 kB / 449.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.1151, allocations: 76.22 kB / 449.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.1164, allocations: 0.8264 MB / 450.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1164, allocations: 0 / 450.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-05/0.1165, allocations: 36 kB / 450.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.1165, allocations: 16 kB / 450.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.1177, allocations: 0.7157 MB / 451 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004864/0.1226, allocations: 3.735 MB / 454.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.1248, allocations: 0.9073 MB / 455.7 MB, free: 9.367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005594/0.1253, allocations: 370.4 kB / 456 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.204e-05/0.1254, allocations: 5.656 kB / 456 MB, free: 8.996 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.1254, allocations: 43.06 kB / 456.1 MB, free: 8.945 MB / 334.1 MB Notification: Performance of pre-optimization done (n=56): time 1.814e-06/0.1255, allocations: 0 / 456.1 MB, free: 8.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.003188/0.1286, allocations: 1.72 MB / 457.8 MB, free: 7.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/0.1287, allocations: 63.95 kB / 457.9 MB, free: 7.035 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/0.1292, allocations: 477.7 kB / 458.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.1293, allocations: 37.7 kB / 458.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.1295, allocations: 343.6 kB / 458.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/0.1297, allocations: 224.8 kB / 458.9 MB, free: 5.953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.13, allocations: 150.6 kB / 459.1 MB, free: 5.801 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1301, allocations: 382.6 kB / 459.4 MB, free: 5.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006689/0.1308, allocations: 448.6 kB / 459.9 MB, free: 4.977 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007445/0.1316, allocations: 0.5963 MB / 460.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006644/0.1382, allocations: 2.39 MB / 462.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.1382, allocations: 4 kB / 462.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002389/0.1406, allocations: 1.286 MB / 464.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1407, allocations: 7.938 kB / 464.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.1407, allocations: 12.09 kB / 464.2 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007324/0.1414, allocations: 208.2 kB / 464.4 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.1427, allocations: 259.6 kB / 464.6 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006548/0.1492, allocations: 7.903 MB / 472.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007147/0.15, allocations: 91.17 kB / 472.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.1501, allocations: 32 kB / 472.6 MB, free: 7.293 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.0005207/0.1507, allocations: 274.4 kB / 472.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.1508, allocations: 59.28 kB / 473 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/0.1526, allocations: 0.9789 MB / 474 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.1526, allocations: 8 kB / 474 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1526, allocations: 0 / 474 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-06/0.1526, allocations: 3.984 kB / 474 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.1537, allocations: 0.8876 MB / 474.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.1537, allocations: 4 kB / 474.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/0.155, allocations: 215.7 kB / 475.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005005/0.1556, allocations: 176.1 kB / 475.2 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-05/0.1556, allocations: 35.98 kB / 475.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005175/0.1608, allocations: 7.452 MB / 482.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1609, allocations: 0 / 482.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/0.1632, allocations: 1.367 MB / 484.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/0.1635, allocations: 144.3 kB / 484.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.1636, allocations: 28 kB / 484.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004745/0.1641, allocations: 36.08 kB / 484.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.1643, allocations: 44.5 kB / 484.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.226e-05/0.1643, allocations: 23.92 kB / 484.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004154/0.1648, allocations: 323.1 kB / 484.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1648, allocations: 4 kB / 484.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009475/0.1657, allocations: 259.5 kB / 484.9 MB, free: 10.16 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.0002009/0.1659, allocations: 137.4 kB / 485.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002216/0.1682, allocations: 1.478 MB / 486.5 MB, free: 8.473 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1682, allocations: 0 / 486.5 MB, free: 8.473 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.1693, allocations: 0.9543 MB / 487.5 MB, free: 7.453 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007892/0.1701, allocations: 181.8 kB / 487.7 MB, free: 7.277 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004823/0.1749, allocations: 2.887 MB / 490.6 MB, free: 4.363 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005895/0.1755, allocations: 0.9874 MB / 491.6 MB, free: 3.352 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005936/0.1761, allocations: 216.9 kB / 491.8 MB, free: 3.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.1763, allocations: 47.44 kB / 491.8 MB, free: 3.09 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1763, allocations: 0 / 491.8 MB, free: 3.09 MB / 366.1 MB Notification: Performance of Templates: time 0.01945/0.1958, allocations: 11.67 MB / 0.4917 GB, free: 7.547 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 gbode -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe 2>&1)