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.0008428/0.0008429, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005959/0.005959, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.442/1.442, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.3087/0.3087, allocations: 38.04 MB / 308.8 MB, free: 10.18 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.0005704/0.0005704, allocations: 20 kB / 377.1 MB, free: 14.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1289, allocations: 57.52 MB / 434.6 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.002998/0.1319, allocations: 2.553 MB / 437.1 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003364/0.1353, allocations: 2.493 MB / 439.6 MB, free: 112 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.1355, allocations: 0 / 439.6 MB, free: 112 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004236/0.1359, allocations: 115.7 kB / 439.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004399/0.1364, allocations: 206.8 kB / 439.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.1378, allocations: 478.5 kB / 440.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001075/0.1389, allocations: 1.194 MB / 441.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.139, allocations: 122.2 kB / 441.7 MB, free: 14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003293/0.1394, allocations: 306 kB / 442 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004503/0.1398, allocations: 445.6 kB / 442.5 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.459e-05/0.1399, allocations: 20 kB / 442.5 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.1413, allocations: 0.928 MB / 443.4 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.1415, allocations: 266.6 kB / 443.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003668/0.1419, allocations: 478.4 kB / 444.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.1433, allocations: 1.323 MB / 445.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1433, allocations: 0 / 445.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1433, allocations: 0 / 445.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.1433, allocations: 0 / 445.5 MB, free: 10.24 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.00198/0.1453, allocations: 1.305 MB / 446.8 MB, free: 8.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1453, allocations: 12.03 kB / 446.8 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.1455, allocations: 127.2 kB / 446.9 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006051/0.1461, allocations: 0.5105 MB / 447.4 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.527e-05/0.1462, allocations: 78.11 kB / 447.5 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.1463, allocations: 88 kB / 447.6 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.1482, allocations: 1.446 MB / 449 MB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.1483, allocations: 4 kB / 449 MB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.826e-05/0.1483, allocations: 39.98 kB / 449.1 MB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.389e-05/0.1484, allocations: 74.06 kB / 449.1 MB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.1506, allocations: 1.417 MB / 450.6 MB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003759/0.1543, allocations: 3.047 MB / 453.6 MB, free: 1.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.1556, allocations: 0.7382 MB / 454.3 MB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006171/0.1562, allocations: 313.4 kB / 454.6 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-05/0.1563, allocations: 24.14 kB / 454.7 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.1563, allocations: 46.67 kB / 454.7 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 2.645e-06/0.1563, allocations: 0 / 454.7 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.2087/0.3651, allocations: 1.006 MB / 455.7 MB, free: 50.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.3652, allocations: 186.1 kB / 455.9 MB, free: 49.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.3665, allocations: 1.351 MB / 457.3 MB, free: 49.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/0.3666, allocations: 35.3 kB / 457.3 MB, free: 49.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/0.3669, allocations: 0.5376 MB / 457.8 MB, free: 49.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.194e-05/0.367, allocations: 119.6 kB / 457.9 MB, free: 49.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.692e-05/0.3671, allocations: 69.34 kB / 458 MB, free: 49.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.749e-05/0.3671, allocations: 329.3 kB / 458.3 MB, free: 49.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000601/0.3677, allocations: 330.8 kB / 458.7 MB, free: 49.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007571/0.3685, allocations: 0.6495 MB / 459.3 MB, free: 48.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.37, allocations: 1.021 MB / 460.3 MB, free: 48.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.37, allocations: 3.312 kB / 460.3 MB, free: 48.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001952/0.372, allocations: 1.091 MB / 461.4 MB, free: 48.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.372, allocations: 10.16 kB / 461.4 MB, free: 48.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.3721, allocations: 12.19 kB / 461.4 MB, free: 48.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-05/0.3721, allocations: 16.38 kB / 461.5 MB, free: 48.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005978/0.3727, allocations: 173.6 kB / 461.6 MB, free: 48.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.162e-05/0.3727, allocations: 20.55 kB / 461.6 MB, free: 48.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007645/0.3735, allocations: 190.2 kB / 461.8 MB, free: 48.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-05/0.3736, allocations: 45.77 kB / 461.9 MB, free: 48.05 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.0004593/0.3741, allocations: 370.2 kB / 462.2 MB, free: 47.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.3743, allocations: 119.6 kB / 462.4 MB, free: 47.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.3755, allocations: 0.7697 MB / 463.1 MB, free: 47.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3756, allocations: 2.875 kB / 463.1 MB, free: 47.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3756, allocations: 2.938 kB / 463.1 MB, free: 47.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.3756, allocations: 0 / 463.1 MB, free: 47.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.3768, allocations: 0.7135 MB / 463.8 MB, free: 47.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3768, allocations: 3.938 kB / 463.8 MB, free: 47.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.3772, allocations: 120.2 kB / 464 MB, free: 47.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.3772, allocations: 3.031 kB / 464 MB, free: 47.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.18e-05/0.3773, allocations: 22.94 kB / 464 MB, free: 47.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.3773, allocations: 4.438 kB / 464 MB, free: 47.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.3773, allocations: 6.844 kB / 464 MB, free: 47.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.3788, allocations: 1.207 MB / 465.2 MB, free: 46.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.379, allocations: 200.9 kB / 465.4 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.3791, allocations: 10.66 kB / 465.4 MB, free: 46.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005675/0.3797, allocations: 49.53 kB / 465.5 MB, free: 46.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.3798, allocations: 39.52 kB / 465.5 MB, free: 46.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.3799, allocations: 22.78 kB / 465.5 MB, free: 46.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000937/0.3808, allocations: 0.9346 MB / 466.5 MB, free: 46.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3808, allocations: 0 / 466.5 MB, free: 46.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009747/0.3818, allocations: 299.3 kB / 466.8 MB, free: 46.65 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.00041/0.3822, allocations: 241 kB / 467 MB, free: 46.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.3836, allocations: 0.7464 MB / 467.7 MB, free: 46.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3837, allocations: 0.5 kB / 467.7 MB, free: 46.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006294/0.3843, allocations: 333.7 kB / 468.1 MB, free: 46.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.3859, allocations: 248 kB / 468.3 MB, free: 46.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/0.3886, allocations: 2.284 MB / 470.6 MB, free: 45.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.3891, allocations: 1.159 MB / 471.7 MB, free: 44.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007665/0.3899, allocations: 399.6 kB / 472.1 MB, free: 44.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.3901, allocations: 78.02 kB / 472.2 MB, free: 44.64 MB / 382.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3901, allocations: 0 / 472.2 MB, free: 44.64 MB / 382.1 MB Notification: Performance of Templates: time 0.02706/0.4172, allocations: 15.52 MB / 487.7 MB, free: 43.56 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: