Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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_flatTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 108 kB / 15.61 MB, free: 152 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.001411/0.001411, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3649/0.3649, allocations: 39.94 MB / 309.7 MB, free: 9.266 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 67.91 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1623, allocations: 56.89 MB / 434.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004091/0.1664, allocations: 2.102 MB / 436.6 MB, free: 1.539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.1689, allocations: 1.418 MB / 438 MB, free: 116 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.1691, allocations: 4 kB / 438 MB, free: 112 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004255/0.1696, allocations: 87.44 kB / 438.1 MB, free: 24 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.1698, allocations: 55.55 kB / 438.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005986/0.1704, allocations: 218.9 kB / 438.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.1706, allocations: 147.1 kB / 438.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.423e-05/0.1707, allocations: 28.16 kB / 438.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.1708, allocations: 51.67 kB / 438.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.171, allocations: 67.52 kB / 438.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.171, allocations: 4 kB / 438.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006054/0.1716, allocations: 419.4 kB / 439.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/0.1717, allocations: 27.8 kB / 439.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.405e-05/0.1718, allocations: 79.42 kB / 439.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005932/0.1724, allocations: 430.5 kB / 439.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1724, allocations: 0 / 439.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1724, allocations: 0 / 439.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1724, allocations: 0 / 439.6 MB, free: 14.52 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007594/0.1732, allocations: 0.4947 MB / 440.1 MB, free: 13.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1732, allocations: 8.031 kB / 440.1 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.021e-05/0.1733, allocations: 24.66 kB / 440.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.1735, allocations: 211.8 kB / 440.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.1736, allocations: 20.38 kB / 440.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.1736, allocations: 24.06 kB / 440.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.174, allocations: 202.7 kB / 440.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.174, allocations: 4 kB / 440.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.1741, allocations: 4 kB / 440.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.1741, allocations: 4 kB / 440.6 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.1744, allocations: 152.2 kB / 440.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008767/0.1753, allocations: 0.5676 MB / 441.3 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.1755, allocations: 58.55 kB / 441.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.1756, allocations: 40.88 kB / 441.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.1757, allocations: 8 kB / 441.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.1757, allocations: 30.56 kB / 441.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.1757, allocations: 0 / 441.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004695/0.1762, allocations: 137.3 kB / 441.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1762, allocations: 51.41 kB / 441.6 MB, free: 12.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.1765, allocations: 254.7 kB / 441.9 MB, free: 12.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.1765, allocations: 29.7 kB / 441.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.1766, allocations: 163.7 kB / 442.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.1767, allocations: 23.73 kB / 442.1 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.601e-05/0.1767, allocations: 41.61 kB / 442.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1769, allocations: 338.6 kB / 442.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.177, allocations: 39.91 kB / 442.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.1772, allocations: 132.8 kB / 442.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.1775, allocations: 180.7 kB / 442.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1776, allocations: 0 / 442.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003927/0.178, allocations: 209.1 kB / 443 MB, free: 10.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.178, allocations: 4 kB / 443 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.667e-05/0.178, allocations: 12 kB / 443 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.178, allocations: 7.984 kB / 443.1 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.1782, allocations: 32.36 kB / 443.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1782, allocations: 8 kB / 443.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.1783, allocations: 39.61 kB / 443.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.1784, allocations: 12 kB / 443.1 MB, free: 10.69 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001122/0.1785, allocations: 129.7 kB / 443.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.1785, allocations: 19.72 kB / 443.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003801/0.1789, allocations: 142.8 kB / 443.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1789, allocations: 0 / 443.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1789, allocations: 4 kB / 443.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1789, allocations: 0 / 443.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.1792, allocations: 217.5 kB / 443.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.946e-05/0.1792, allocations: 16.17 kB / 443.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/0.1793, allocations: 12 kB / 443.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1793, allocations: 0 / 443.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.1793, allocations: 4 kB / 443.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1793, allocations: 3.984 kB / 443.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1793, allocations: 0 / 443.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.1796, allocations: 207.1 kB / 443.9 MB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.1797, allocations: 92.83 kB / 444 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.1797, allocations: 7.984 kB / 444 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.734e-05/0.1799, allocations: 4 kB / 444 MB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.1799, allocations: 7.984 kB / 444 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.1799, allocations: 8 kB / 444 MB, free: 9.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001464/0.1801, allocations: 174 kB / 444.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1801, allocations: 0 / 444.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003855/0.1805, allocations: 75.92 kB / 444.2 MB, free: 9.477 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003476/0.1808, allocations: 171 kB / 444.4 MB, free: 9.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004665/0.1813, allocations: 175.1 kB / 444.6 MB, free: 9.117 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1813, allocations: 0 / 444.6 MB, free: 9.117 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.1815, allocations: 108.2 kB / 444.7 MB, free: 9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.1819, allocations: 24.81 kB / 444.7 MB, free: 8.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007181/0.1827, allocations: 364.3 kB / 445.1 MB, free: 8.598 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.183, allocations: 0.7281 MB / 445.8 MB, free: 7.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.206e-05/0.1831, allocations: 17.55 kB / 445.8 MB, free: 7.828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.1831, allocations: 15.44 kB / 445.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1831, allocations: 0 / 445.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of Templates: time 0.008544/0.1917, allocations: 4.133 MB / 450 MB, free: 3.684 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1)