Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.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.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 99.86 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.00144/0.00144, 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.513/1.513, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.3747/0.3747, allocations: 40 MB / 310.4 MB, free: 9.949 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.000634/0.0006346, allocations: 19.98 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.132, allocations: 57.95 MB / 436.8 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP): time 0.003406/0.1355, allocations: 1.845 MB / 438.6 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008176/0.1437, allocations: 4.048 MB / 442.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003865/0.1442, allocations: 4 kB / 442.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005597/0.1448, allocations: 75.58 kB / 442.8 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004436/0.1452, allocations: 83.7 kB / 442.8 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004602/0.1498, allocations: 1.111 MB / 443.9 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009573/0.1508, allocations: 0.5534 MB / 444.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003005/0.1511, allocations: 146.1 kB / 444.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005931/0.1517, allocations: 286.7 kB / 444.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007567/0.1525, allocations: 354.3 kB / 445.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002129/0.1527, allocations: 28 kB / 445.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005419/0.1582, allocations: 2.367 MB / 447.7 MB, free: 7.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002839/0.1585, allocations: 159.3 kB / 447.8 MB, free: 7.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002841/0.1588, allocations: 153.2 kB / 448 MB, free: 7.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003313/0.1621, allocations: 1.244 MB / 449.2 MB, free: 6.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1621, allocations: 0 / 449.2 MB, free: 6.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.1621, allocations: 0 / 449.2 MB, free: 6.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.887e-05/0.1622, allocations: 4 kB / 449.2 MB, free: 6.086 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.004837/0.167, allocations: 1.552 MB / 450.8 MB, free: 4.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.1671, allocations: 8.031 kB / 450.8 MB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003171/0.1674, allocations: 110.6 kB / 450.9 MB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.1685, allocations: 468.4 kB / 451.3 MB, free: 3.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-05/0.1686, allocations: 61.98 kB / 451.4 MB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002025/0.1688, allocations: 76 kB / 451.5 MB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003363/0.1722, allocations: 1.72 MB / 453.2 MB, free: 1.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.1722, allocations: 3.938 kB / 453.2 MB, free: 1.941 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.293e-05/0.1723, allocations: 35.98 kB / 453.2 MB, free: 1.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.205e-05/0.1724, allocations: 77.95 kB / 453.3 MB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.207/0.3794, allocations: 1.972 MB / 455.3 MB, free: 48.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003818/0.3833, allocations: 3.783 MB / 459.1 MB, free: 46.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.385, allocations: 1.052 MB / 460.1 MB, free: 46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-05/0.3851, allocations: 17.45 kB / 460.1 MB, free: 46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.3851, allocations: 61.34 kB / 460.2 MB, free: 45.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=38): time 2.425e-06/0.3851, allocations: 0 / 460.2 MB, free: 45.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=38): time 0.004167/0.3893, allocations: 1.805 MB / 462 MB, free: 45.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.3894, allocations: 0.4978 MB / 462.5 MB, free: 45.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008617/0.3903, allocations: 0.876 MB / 463.4 MB, free: 45.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.3903, allocations: 32.11 kB / 463.4 MB, free: 45.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.3906, allocations: 0.5396 MB / 463.9 MB, free: 44.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.3907, allocations: 146.2 kB / 464.1 MB, free: 44.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.3908, allocations: 19.62 kB / 464.1 MB, free: 44.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.3909, allocations: 395.7 kB / 464.5 MB, free: 44.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.3923, allocations: 0.676 MB / 465.2 MB, free: 44.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/0.3939, allocations: 1.342 MB / 466.5 MB, free: 43.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.3953, allocations: 0.8195 MB / 467.3 MB, free: 43.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.3954, allocations: 6.344 kB / 467.3 MB, free: 43.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003549/0.3989, allocations: 1.99 MB / 469.3 MB, free: 43.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.399, allocations: 19.78 kB / 469.3 MB, free: 43.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.399, allocations: 23.38 kB / 469.4 MB, free: 43.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.759e-05/0.399, allocations: 38.61 kB / 469.4 MB, free: 43.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.4001, allocations: 356.3 kB / 469.8 MB, free: 43.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.058e-05/0.4002, allocations: 47.05 kB / 469.8 MB, free: 43.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.4014, allocations: 294.5 kB / 470.1 MB, free: 42.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-05/0.4015, allocations: 75.58 kB / 470.2 MB, free: 42.94 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 50 (IN_con_2[5].geodeticPressureLoss,IN_con_2[5].massFlowRateCorrection,IN_con_2[5].momentumPressureLoss,IN_con_2[5].voidFractionApproach,IN_con_2[5].frictionalPressureLoss,IN_con_2[4].geodeticPressureLoss,IN_con_2[4].massFlowRateCorrection,IN_con_2[4].momentumPressureLoss,IN_con_2[4].voidFractionApproach,IN_con_2[4].frictionalPressureLoss,IN_con_2[3].geodeticPressureLoss,IN_con_2[3].massFlowRateCorrection,IN_con_2[3].momentumPressureLoss,IN_con_2[3].voidFractionApproach,IN_con_2[3].frictionalPressureLoss,IN_con_2[2].geodeticPressureLoss,IN_con_2[2].massFlowRateCorrection,IN_con_2[2].momentumPressureLoss,IN_con_2[2].voidFractionApproach,IN_con_2[2].frictionalPressureLoss,IN_con_2[1].geodeticPressureLoss,IN_con_2[1].massFlowRateCorrection,IN_con_2[1].momentumPressureLoss,IN_con_2[1].voidFractionApproach,IN_con_2[1].frictionalPressureLoss,IN_con_1[5].geodeticPressureLoss,IN_con_1[5].massFlowRateCorrection,IN_con_1[5].momentumPressureLoss,IN_con_1[5].voidFractionApproach,IN_con_1[5].frictionalPressureLoss,IN_con_1[4].geodeticPressureLoss,IN_con_1[4].massFlowRateCorrection,IN_con_1[4].momentumPressureLoss,IN_con_1[4].voidFractionApproach,IN_con_1[4].frictionalPressureLoss,IN_con_1[3].geodeticPressureLoss,IN_con_1[3].massFlowRateCorrection,IN_con_1[3].momentumPressureLoss,IN_con_1[3].voidFractionApproach,IN_con_1[3].frictionalPressureLoss,IN_con_1[2].geodeticPressureLoss,IN_con_1[2].massFlowRateCorrection,IN_con_1[2].momentumPressureLoss,IN_con_1[2].voidFractionApproach,IN_con_1[2].frictionalPressureLoss,IN_con_1[1].geodeticPressureLoss,IN_con_1[1].massFlowRateCorrection,IN_con_1[1].momentumPressureLoss,IN_con_1[1].voidFractionApproach,IN_con_1[1].frictionalPressureLoss) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005739/0.402, allocations: 438.6 kB / 470.6 MB, free: 42.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003491/0.4024, allocations: 82.48 kB / 470.7 MB, free: 42.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.4034, allocations: 0.5181 MB / 471.2 MB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.4035, allocations: 13.47 kB / 471.2 MB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.4035, allocations: 6.156 kB / 471.2 MB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.4035, allocations: 6.828 kB / 471.2 MB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.405, allocations: 0.7019 MB / 471.9 MB, free: 42.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.405, allocations: 5.969 kB / 471.9 MB, free: 42.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000757/0.4058, allocations: 234 kB / 472.2 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.4058, allocations: 3.688 kB / 472.2 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/0.4059, allocations: 30.36 kB / 472.2 MB, free: 42.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.4059, allocations: 7.156 kB / 472.2 MB, free: 42.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.4059, allocations: 10.08 kB / 472.2 MB, free: 42.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/0.4087, allocations: 2.781 MB / 475 MB, free: 40.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.4089, allocations: 156.3 kB / 475.1 MB, free: 40.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.409, allocations: 17.73 kB / 475.2 MB, free: 40.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.4103, allocations: 158.1 kB / 475.3 MB, free: 40.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000283/0.4106, allocations: 135.4 kB / 475.4 MB, free: 40.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/0.4106, allocations: 26.41 kB / 475.5 MB, free: 40.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006576/0.4113, allocations: 0.565 MB / 476 MB, free: 40.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4113, allocations: 5.469 kB / 476 MB, free: 40.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00284/0.4141, allocations: 496.3 kB / 476.5 MB, free: 39.97 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001054/0.4152, allocations: 0.5134 MB / 477 MB, free: 39.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003196/0.4184, allocations: 1.496 MB / 478.5 MB, free: 39.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.4184, allocations: 0 / 478.5 MB, free: 39.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001762/0.4202, allocations: 1.007 MB / 479.5 MB, free: 39.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.4214, allocations: 112.4 kB / 479.6 MB, free: 39.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.4241, allocations: 1.961 MB / 481.6 MB, free: 38.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.4247, allocations: 1.133 MB / 482.7 MB, free: 37.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001068/0.4258, allocations: 438.8 kB / 483.2 MB, free: 37.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.426, allocations: 73.83 kB / 483.2 MB, free: 37.37 MB / 382.1 MB Notification: Performance of SimCode: time 5.92e-07/0.426, allocations: 0 / 483.2 MB, free: 37.37 MB / 382.1 MB Notification: Performance of Templates: time 0.02525/0.4512, allocations: 14.19 MB / 497.4 MB, free: 34.21 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe 2>&1) Environment - environmentSimulation: