Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008151/0.0008152, allocations: 96.94 kB / 16.02 MB, free: 84 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.0009313/0.0009314, allocations: 177.7 kB / 16.91 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.4 MB / 223.1 MB, free: 5.234 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3987/0.3987, allocations: 43.58 MB / 315 MB, free: 8.883 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000527/0.0005271, allocations: 12 kB / 384.6 MB, free: 7.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1318, allocations: 58.86 MB / 443.5 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003157/0.135, allocations: 2.335 MB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003367/0.1384, allocations: 1.855 MB / 447.7 MB, free: 8.434 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002837/0.1387, allocations: 0 / 447.7 MB, free: 8.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004494/0.1392, allocations: 107.4 kB / 447.8 MB, free: 8.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004327/0.1396, allocations: 103.1 kB / 447.9 MB, free: 8.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009161/0.1405, allocations: 275.1 kB / 448.1 MB, free: 7.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.1409, allocations: 270.2 kB / 448.4 MB, free: 7.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.162e-05/0.141, allocations: 28.72 kB / 448.4 MB, free: 7.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.1411, allocations: 95.33 kB / 448.5 MB, free: 7.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.1413, allocations: 115.2 kB / 448.6 MB, free: 7.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.1413, allocations: 4 kB / 448.6 MB, free: 7.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.1426, allocations: 0.7606 MB / 449.4 MB, free: 6.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.034e-05/0.1427, allocations: 39.66 kB / 449.4 MB, free: 6.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.1429, allocations: 156.7 kB / 449.6 MB, free: 6.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009192/0.1438, allocations: 0.7006 MB / 450.3 MB, free: 5.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1438, allocations: 0 / 450.3 MB, free: 5.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1438, allocations: 0 / 450.3 MB, free: 5.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.1438, allocations: 0 / 450.3 MB, free: 5.789 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008234/0.1446, allocations: 0.585 MB / 450.9 MB, free: 5.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1447, allocations: 16.02 kB / 450.9 MB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.612e-05/0.1448, allocations: 36.47 kB / 450.9 MB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.1451, allocations: 247.4 kB / 451.2 MB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.1451, allocations: 21.38 kB / 451.2 MB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.346e-05/0.1452, allocations: 40.12 kB / 451.2 MB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005691/0.1457, allocations: 366.5 kB / 451.6 MB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1458, allocations: 3.984 kB / 451.6 MB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.1458, allocations: 16 kB / 451.6 MB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.1458, allocations: 8 kB / 451.6 MB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000424/0.1462, allocations: 279.8 kB / 451.9 MB, free: 4.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.1474, allocations: 0.8767 MB / 452.8 MB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.1476, allocations: 110.4 kB / 452.9 MB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.1478, allocations: 48.89 kB / 452.9 MB, free: 3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.1478, allocations: 3.984 kB / 452.9 MB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.1479, allocations: 34.56 kB / 452.9 MB, free: 2.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.1479, allocations: 0 / 452.9 MB, free: 2.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000569/0.1484, allocations: 209.2 kB / 453.2 MB, free: 2.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.1485, allocations: 51.41 kB / 453.2 MB, free: 2.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000421/0.1489, allocations: 405.7 kB / 453.6 MB, free: 2.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.149, allocations: 29.7 kB / 453.6 MB, free: 2.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.1491, allocations: 243.1 kB / 453.9 MB, free: 1.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.1492, allocations: 35.55 kB / 453.9 MB, free: 1.961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.1492, allocations: 29.7 kB / 453.9 MB, free: 1.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1494, allocations: 350.7 kB / 454.3 MB, free: 1.574 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.1495, allocations: 68.52 kB / 454.3 MB, free: 1.508 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.1498, allocations: 250.2 kB / 454.6 MB, free: 1.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004877/0.1503, allocations: 357.2 kB / 454.9 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.1503, allocations: 4 kB / 454.9 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006732/0.151, allocations: 352.5 kB / 455.3 MB, free: 384 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.151, allocations: 11.98 kB / 455.3 MB, free: 372 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-05/0.1511, allocations: 24.91 kB / 455.3 MB, free: 348 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.1511, allocations: 8 kB / 455.3 MB, free: 340 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.1513, allocations: 71.78 kB / 455.4 MB, free: 268 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.1513, allocations: 8 kB / 455.4 MB, free: 260 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.1516, allocations: 63.36 kB / 455.5 MB, free: 196 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.1516, allocations: 16 kB / 455.5 MB, free: 180 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.1517, allocations: 153.6 kB / 455.6 MB, free: 16 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2791/0.4308, allocations: 36.27 kB / 455.7 MB, free: 46.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007877/0.4317, allocations: 218.4 kB / 455.9 MB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.4317, allocations: 4.312 kB / 455.9 MB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4317, allocations: 0.7969 kB / 455.9 MB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4317, allocations: 0 / 455.9 MB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003842/0.4321, allocations: 283.7 kB / 456.2 MB, free: 45.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-05/0.4322, allocations: 22.66 kB / 456.2 MB, free: 45.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.4322, allocations: 8.469 kB / 456.2 MB, free: 45.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.4322, allocations: 2.844 kB / 456.2 MB, free: 45.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.4323, allocations: 4.969 kB / 456.2 MB, free: 45.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.4323, allocations: 0 / 456.2 MB, free: 45.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.4323, allocations: 4.453 kB / 456.2 MB, free: 45.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003599/0.4327, allocations: 268.8 kB / 456.5 MB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.194e-05/0.4327, allocations: 112.2 kB / 456.6 MB, free: 45.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.4328, allocations: 3.094 kB / 456.6 MB, free: 45.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.4329, allocations: 9 kB / 456.6 MB, free: 45.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.433, allocations: 8.469 kB / 456.6 MB, free: 45.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.433, allocations: 8.781 kB / 456.6 MB, free: 45.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002728/0.4333, allocations: 267.8 kB / 456.9 MB, free: 45.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4333, allocations: 0 / 456.9 MB, free: 45.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006553/0.434, allocations: 127.1 kB / 457 MB, free: 45.66 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004033/0.4344, allocations: 196.7 kB / 457.2 MB, free: 45.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005683/0.4349, allocations: 321.2 kB / 457.5 MB, free: 45.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.435, allocations: 4.875 kB / 457.5 MB, free: 45.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.4352, allocations: 193.9 kB / 457.7 MB, free: 45.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.4357, allocations: 43.67 kB / 457.7 MB, free: 45.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008041/0.4365, allocations: 0.6483 MB / 458.4 MB, free: 44.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.4367, allocations: 0.7881 MB / 459.2 MB, free: 44.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.25e-05/0.4368, allocations: 34.36 kB / 459.2 MB, free: 44.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.4368, allocations: 21.59 kB / 459.2 MB, free: 44.24 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4368, allocations: 0 / 459.2 MB, free: 44.24 MB / 382.1 MB Notification: Performance of Templates: time 0.01205/0.4489, allocations: 7.645 MB / 466.9 MB, free: 43.79 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1)