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.005066/0.005066, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001027/0.001027, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2219/0.2219, allocations: 22.34 MB / 312.9 MB, free: 12.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 72.7 kB / 437.1 MB, free: 33.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1234, allocations: 54.96 MB / 492 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.003869/0.1273, allocations: 3.106 MB / 495.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.129, allocations: 0.8887 MB / 496 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.1292, allocations: 4 kB / 496 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.1294, allocations: 87.17 kB / 496.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004655/0.1299, allocations: 230.6 kB / 496.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.1304, allocations: 163.7 kB / 496.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001084/0.1315, allocations: 1.084 MB / 497.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009941/0.1325, allocations: 0.7785 MB / 498.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004984/0.133, allocations: 426.9 kB / 498.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006063/0.1336, allocations: 0.4946 MB / 499.3 MB, free: 9.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.1337, allocations: 116 kB / 499.4 MB, free: 9.797 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.1339, allocations: 116 kB / 499.5 MB, free: 9.684 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.1342, allocations: 339.2 kB / 499.8 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004238/0.1346, allocations: 478.1 kB / 0.4886 GB, free: 8.883 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.1357, allocations: 1.285 MB / 0.4898 GB, free: 7.594 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1357, allocations: 0 / 0.4898 GB, free: 7.594 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1358, allocations: 4 kB / 0.4898 GB, free: 7.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.1358, allocations: 0 / 0.4898 GB, free: 7.59 MB / 366.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.002504/0.1383, allocations: 1.177 MB / 0.491 GB, free: 6.363 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.1383, allocations: 8.031 kB / 0.491 GB, free: 6.355 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.1385, allocations: 80 kB / 0.4911 GB, free: 6.277 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007944/0.1393, allocations: 0.5264 MB / 0.4916 GB, free: 5.707 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.64e-05/0.1394, allocations: 45.62 kB / 0.4916 GB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.1395, allocations: 68.27 kB / 0.4917 GB, free: 5.598 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.1408, allocations: 0.7837 MB / 0.4925 GB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1408, allocations: 0 / 0.4925 GB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/0.1409, allocations: 20 kB / 0.4925 GB, free: 4.785 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.1409, allocations: 20 kB / 0.4925 GB, free: 4.766 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.1421, allocations: 0.6805 MB / 0.4932 GB, free: 4.086 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005077/0.1472, allocations: 3.553 MB / 0.4966 GB, free: 268 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002218/0.1494, allocations: 0.8758 MB / 0.4975 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005379/0.15, allocations: 362 kB / 0.4978 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/0.15, allocations: 8.422 kB / 0.4978 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.15, allocations: 39 kB / 0.4979 GB, free: 14.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.375e-06/0.1501, allocations: 0 / 0.4979 GB, free: 14.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=51): time 0.004046/0.1541, allocations: 1.873 MB / 0.4997 GB, free: 12.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.1542, allocations: 59.84 kB / 0.4998 GB, free: 12.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006406/0.1548, allocations: 469.8 kB / 0.5002 GB, free: 12.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/0.1549, allocations: 37.7 kB / 0.5003 GB, free: 12.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.1552, allocations: 319.9 kB / 0.5006 GB, free: 12.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.1554, allocations: 205.1 kB / 0.5008 GB, free: 11.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/0.1556, allocations: 138.6 kB / 0.5009 GB, free: 11.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1558, allocations: 374.8 kB / 0.5012 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006238/0.1564, allocations: 401.8 kB / 0.5016 GB, free: 10.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009087/0.1574, allocations: 0.5581 MB / 0.5022 GB, free: 10.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.1589, allocations: 0.9814 MB / 0.5031 GB, free: 9.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.1589, allocations: 0 / 0.5031 GB, free: 9.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002748/0.1617, allocations: 1.298 MB / 0.5044 GB, free: 7.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.1617, allocations: 8.984 kB / 0.5044 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.1618, allocations: 4 kB / 0.5044 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.1629, allocations: 265 kB / 0.5047 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009055/0.1638, allocations: 215.7 kB / 0.5049 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007921/0.1717, allocations: 9.477 MB / 0.5141 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000827/0.1726, allocations: 91.28 kB / 0.5142 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.077e-05/0.1727, allocations: 28 kB / 0.5142 GB, free: 12.98 MB / 398.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.000445/0.1731, allocations: 265.5 kB / 0.5145 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.1733, allocations: 55.34 kB / 0.5145 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/0.1752, allocations: 1.007 MB / 0.5155 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1752, allocations: 7.938 kB / 0.5155 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1753, allocations: 4 kB / 0.5155 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.1753, allocations: 3.984 kB / 0.5155 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.1764, allocations: 0.8525 MB / 0.5164 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1764, allocations: 0 / 0.5164 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009622/0.1773, allocations: 171.8 kB / 0.5165 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000731/0.1781, allocations: 228.9 kB / 0.5168 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.689e-05/0.1782, allocations: 27.98 kB / 0.5168 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006493/0.1847, allocations: 9.022 MB / 0.5256 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1847, allocations: 0 / 0.5256 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002471/0.1872, allocations: 1.379 MB / 0.5269 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.1874, allocations: 136.3 kB / 0.5271 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.1875, allocations: 39.97 kB / 0.5271 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/0.1879, allocations: 23.97 kB / 0.5271 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.1881, allocations: 48.3 kB / 0.5272 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/0.1881, allocations: 16 kB / 0.5272 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003891/0.1885, allocations: 331.1 kB / 0.5275 GB, free: 14.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1885, allocations: 0 / 0.5275 GB, free: 14.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008918/0.1894, allocations: 259.6 kB / 0.5278 GB, free: 14.14 MB / 414.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.0002089/0.1897, allocations: 137.4 kB / 0.5279 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002455/0.1921, allocations: 1.576 MB / 0.5294 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.1921, allocations: 3.938 kB / 0.5294 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.1935, allocations: 1.07 MB / 0.5305 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007499/0.1942, allocations: 165.8 kB / 0.5306 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004416/0.1987, allocations: 2.686 MB / 0.5333 GB, free: 8.316 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000616/0.1993, allocations: 0.9614 MB / 0.5342 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005639/0.1999, allocations: 204.7 kB / 0.5344 GB, free: 7.129 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.2, allocations: 51.42 kB / 0.5344 GB, free: 7.078 MB / 414.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2001, allocations: 0 / 0.5344 GB, free: 7.078 MB / 414.1 MB Notification: Performance of Templates: time 0.02008/0.2201, allocations: 12.36 MB / 0.5465 GB, free: 10.84 MB / 430.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 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe 2>&1)