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_twoPhaseOverall_KC.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_twoPhaseOverall_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002151/0.002151, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002622/0.002622, allocations: 195.1 kB / 16.14 MB, free: 6.703 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.723/1.723, allocations: 205.1 MB / 222 MB, free: 4.738 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.3995/0.3994, allocations: 37.98 MB / 307.3 MB, free: 10.06 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.001541/0.001541, allocations: 74.41 kB / 374.6 MB, free: 15.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1448, allocations: 56.47 MB / 431 MB, free: 7.031 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.004676/0.1496, allocations: 2.907 MB / 434 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003734/0.1534, allocations: 2.532 MB / 436.5 MB, free: 1.555 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.1536, allocations: 3.938 kB / 436.5 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005489/0.1542, allocations: 111.7 kB / 436.6 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004717/0.1547, allocations: 214.8 kB / 436.8 MB, free: 1.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.156, allocations: 470.5 kB / 437.3 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001117/0.1571, allocations: 1.194 MB / 438.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.1573, allocations: 114.2 kB / 438.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003775/0.1577, allocations: 317.9 kB / 438.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004926/0.1582, allocations: 449.7 kB / 439.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.202e-05/0.1583, allocations: 20 kB / 439.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.1596, allocations: 0.9241 MB / 440.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002477/0.1599, allocations: 266.6 kB / 440.5 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003829/0.1602, allocations: 460.6 kB / 441 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.1615, allocations: 1.327 MB / 442.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1615, allocations: 0 / 442.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1615, allocations: 0 / 442.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.1616, allocations: 4 kB / 442.3 MB, free: 11.7 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002328/0.1639, allocations: 1.457 MB / 443.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/0.164, allocations: 8.031 kB / 443.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.1642, allocations: 127.3 kB / 443.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006626/0.1649, allocations: 0.5028 MB / 444.4 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.045e-05/0.1649, allocations: 70.12 kB / 444.5 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.165, allocations: 88 kB / 444.6 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.167, allocations: 1.423 MB / 446 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.1671, allocations: 0 / 446 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.011e-05/0.1672, allocations: 40 kB / 446 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-05/0.1672, allocations: 70.08 kB / 446.1 MB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.1693, allocations: 1.374 MB / 447.5 MB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004172/0.1735, allocations: 3.07 MB / 450.5 MB, free: 3.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.1748, allocations: 0.7148 MB / 451.2 MB, free: 2.477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005926/0.1754, allocations: 293.3 kB / 451.5 MB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.7e-05/0.1754, allocations: 12.22 kB / 451.5 MB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.1755, allocations: 50.66 kB / 451.6 MB, free: 2.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.924e-06/0.1755, allocations: 7.938 kB / 451.6 MB, free: 2.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002185/0.1777, allocations: 0.9265 MB / 452.5 MB, free: 1.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.1778, allocations: 196.1 kB / 452.7 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2759/0.4537, allocations: 1.348 MB / 454.1 MB, free: 53.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001562/0.4539, allocations: 31.02 kB / 454.1 MB, free: 53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004796/0.4544, allocations: 0.5428 MB / 454.6 MB, free: 52.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.4545, allocations: 113.2 kB / 454.8 MB, free: 52.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/0.4548, allocations: 156.6 kB / 454.9 MB, free: 52.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.4549, allocations: 332.3 kB / 455.2 MB, free: 52.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006592/0.4556, allocations: 304.5 kB / 455.5 MB, free: 52.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007289/0.4563, allocations: 0.6168 MB / 456.1 MB, free: 52.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.4577, allocations: 0.9706 MB / 457.1 MB, free: 51.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.4577, allocations: 3.281 kB / 457.1 MB, free: 51.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00185/0.4595, allocations: 1.039 MB / 458.2 MB, free: 51.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.4596, allocations: 9.75 kB / 458.2 MB, free: 51.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.4596, allocations: 13.75 kB / 458.2 MB, free: 51.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/0.4596, allocations: 12.78 kB / 458.2 MB, free: 51.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005575/0.4602, allocations: 163.9 kB / 458.4 MB, free: 51.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.236e-05/0.4602, allocations: 24.75 kB / 458.4 MB, free: 51.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007623/0.461, allocations: 165.6 kB / 458.5 MB, free: 51.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.51e-05/0.4611, allocations: 44.95 kB / 458.6 MB, free: 51.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 26 (IN_var_3[6].target,IN_var_3[5].target,IN_var_3[4].target,IN_var_3[3].target,IN_var_3[2].target,IN_var_3[1].target,IN_con_3[6].target,IN_con_3[5].target,IN_con_3[4].target,IN_con_3[3].target,IN_con_3[2].target,IN_con_3[1].target,IN_var_2.target,IN_con_2.target,IN_var_1[6].target,IN_var_1[5].target,IN_var_1[4].target,IN_var_1[3].target,IN_var_1[2].target,IN_var_1[1].target,IN_con_1[6].target,IN_con_1[5].target,IN_con_1[4].target,IN_con_1[3].target,IN_con_1[2].target,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 (79): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005676/0.4616, allocations: 371.8 kB / 458.9 MB, free: 51.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002323/0.4619, allocations: 117.2 kB / 459.1 MB, free: 51.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.4631, allocations: 0.7734 MB / 459.8 MB, free: 51.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.4632, allocations: 6.469 kB / 459.8 MB, free: 51.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4632, allocations: 4 kB / 459.8 MB, free: 51.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4632, allocations: 3.375 kB / 459.8 MB, free: 51.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.4643, allocations: 0.714 MB / 460.6 MB, free: 50.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4643, allocations: 0 / 460.6 MB, free: 50.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/0.4647, allocations: 100.8 kB / 460.7 MB, free: 50.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.4647, allocations: 3.281 kB / 460.7 MB, free: 50.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/0.4648, allocations: 21.72 kB / 460.7 MB, free: 50.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.4648, allocations: 3.5 kB / 460.7 MB, free: 50.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.4648, allocations: 6.828 kB / 460.7 MB, free: 50.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.4662, allocations: 1.155 MB / 461.8 MB, free: 50.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.4664, allocations: 199.9 kB / 462 MB, free: 49.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.4665, allocations: 12.02 kB / 462.1 MB, free: 49.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005694/0.4671, allocations: 37.98 kB / 462.1 MB, free: 49.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.4673, allocations: 44.33 kB / 462.1 MB, free: 49.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.4673, allocations: 20.47 kB / 462.2 MB, free: 49.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009753/0.4683, allocations: 0.9281 MB / 463.1 MB, free: 49.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4683, allocations: 0 / 463.1 MB, free: 49.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001179/0.4695, allocations: 295.5 kB / 463.4 MB, free: 49.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005163/0.47, allocations: 246.3 kB / 463.6 MB, free: 49.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.4714, allocations: 0.6995 MB / 464.3 MB, free: 49.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4714, allocations: 1.375 kB / 464.3 MB, free: 49.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006605/0.4721, allocations: 314.2 kB / 464.6 MB, free: 49.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.4736, allocations: 238 kB / 464.9 MB, free: 49.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.4763, allocations: 2.241 MB / 467.1 MB, free: 48.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.4768, allocations: 1.162 MB / 468.3 MB, free: 47.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008001/0.4777, allocations: 398.9 kB / 468.6 MB, free: 47.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.4779, allocations: 79.81 kB / 468.7 MB, free: 47.31 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4779, allocations: 0 / 468.7 MB, free: 47.31 MB / 382.1 MB Notification: Performance of Templates: time 0.02936/0.5073, allocations: 15.64 MB / 484.4 MB, free: 46.26 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1)