Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001283/0.001283, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3354/0.3354, allocations: 38.03 MB / 308.4 MB, free: 10.42 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.1. 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.00064/0.0006402, allocations: 16 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1324, allocations: 57.52 MB / 434 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002954/0.1354, allocations: 1.833 MB / 435.8 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003198/0.1387, allocations: 1.821 MB / 437.6 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.1389, allocations: 0 / 437.6 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.1393, allocations: 55.66 kB / 437.7 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.1396, allocations: 79.78 kB / 437.7 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.1408, allocations: 358.9 kB / 438.1 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005788/0.1414, allocations: 355.2 kB / 438.4 MB, free: 1.047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1415, allocations: 69.31 kB / 438.5 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003716/0.1419, allocations: 151.3 kB / 438.7 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003592/0.1423, allocations: 179.2 kB / 438.8 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.598e-05/0.1424, allocations: 16 kB / 438.8 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.1435, allocations: 0.667 MB / 439.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.1436, allocations: 83.64 kB / 439.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.1438, allocations: 101.4 kB / 439.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008081/0.1446, allocations: 0.5027 MB / 440.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1446, allocations: 0 / 440.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1446, allocations: 3.938 kB / 440.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.795e-05/0.1446, allocations: 0 / 440.2 MB, free: 15.27 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001358/0.146, allocations: 0.7527 MB / 441 MB, free: 14.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.146, allocations: 12.03 kB / 441 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.1462, allocations: 71.2 kB / 441 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/0.1466, allocations: 314.2 kB / 441.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.14e-05/0.1467, allocations: 45.3 kB / 441.4 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.301e-05/0.1468, allocations: 52 kB / 441.4 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.1479, allocations: 0.7658 MB / 442.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.148, allocations: 3.938 kB / 442.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.533e-05/0.148, allocations: 23.98 kB / 442.2 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.162e-05/0.1481, allocations: 29.25 kB / 442.3 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.1491, allocations: 0.571 MB / 442.8 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002439/0.1516, allocations: 1.704 MB / 444.5 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005744/0.1522, allocations: 315.5 kB / 444.8 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.715e-05/0.1522, allocations: 8 kB / 444.8 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.1522, allocations: 34.5 kB / 444.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 2.084e-06/0.1523, allocations: 0 / 444.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001381/0.1536, allocations: 0.7697 MB / 445.7 MB, free: 9.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.1537, allocations: 106.8 kB / 445.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007609/0.1545, allocations: 0.6314 MB / 446.4 MB, free: 8.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.1545, allocations: 29.7 kB / 446.4 MB, free: 8.734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.1547, allocations: 295.5 kB / 446.7 MB, free: 8.438 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.114e-05/0.1548, allocations: 71 kB / 446.8 MB, free: 8.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.1549, allocations: 8 kB / 446.8 MB, free: 8.359 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.155, allocations: 362.8 kB / 447.1 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.1555, allocations: 204.9 kB / 447.3 MB, free: 7.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006079/0.1561, allocations: 470.5 kB / 447.8 MB, free: 7.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/0.1566, allocations: 280.9 kB / 448.1 MB, free: 6.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.1566, allocations: 7.938 kB / 448.1 MB, free: 6.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001304/0.1579, allocations: 0.704 MB / 448.8 MB, free: 6.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.158, allocations: 15.58 kB / 448.8 MB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.744e-05/0.158, allocations: 47.97 kB / 448.8 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.1581, allocations: 12 kB / 448.9 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.1584, allocations: 79.83 kB / 448.9 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/0.1584, allocations: 28 kB / 449 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.1589, allocations: 103 kB / 449.1 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/0.1589, allocations: 35.98 kB / 449.1 MB, free: 5.906 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002878/0.1592, allocations: 253.5 kB / 449.3 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.1593, allocations: 43.44 kB / 449.4 MB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009399/0.1603, allocations: 497.4 kB / 449.9 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.1603, allocations: 11.92 kB / 449.9 MB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1603, allocations: 0 / 449.9 MB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.1603, allocations: 15.88 kB / 449.9 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006083/0.1609, allocations: 405.3 kB / 450.3 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.164e-05/0.161, allocations: 43.95 kB / 450.3 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.1612, allocations: 31.97 kB / 450.4 MB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.1612, allocations: 4 kB / 450.4 MB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.1612, allocations: 12 kB / 450.4 MB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.1612, allocations: 0 / 450.4 MB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1613, allocations: 3.984 kB / 450.4 MB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000935/0.1622, allocations: 0.665 MB / 451.1 MB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.1624, allocations: 128.5 kB / 451.2 MB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.004e-05/0.1624, allocations: 8 kB / 451.2 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.1628, allocations: 27.97 kB / 451.2 MB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.735e-05/0.1629, allocations: 23.98 kB / 451.2 MB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.969e-05/0.1629, allocations: 15.98 kB / 451.3 MB, free: 3.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000493/0.1634, allocations: 442.7 kB / 451.7 MB, free: 3.199 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1634, allocations: 0 / 451.7 MB, free: 3.199 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008279/0.1642, allocations: 183.8 kB / 451.9 MB, free: 3.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005424/0.1648, allocations: 230.9 kB / 452.1 MB, free: 2.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.166, allocations: 0.7678 MB / 452.9 MB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.166, allocations: 0 / 452.9 MB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005421/0.1666, allocations: 496.2 kB / 453.3 MB, free: 1.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/0.1672, allocations: 118.3 kB / 453.5 MB, free: 1.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.1692, allocations: 1.094 MB / 454.6 MB, free: 148 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1997/0.369, allocations: 0.8946 MB / 455.4 MB, free: 49.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003788/0.3694, allocations: 130 kB / 455.6 MB, free: 49.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.313e-05/0.3695, allocations: 35.28 kB / 455.6 MB, free: 49.47 MB / 382.1 MB Notification: Performance of SimCode: time 1.983e-06/0.3695, allocations: 0 / 455.6 MB, free: 49.47 MB / 382.1 MB Notification: Performance of Templates: time 0.01376/0.3832, allocations: 9.443 MB / 465.1 MB, free: 48.77 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) Environment - environmentSimulation: