Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_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.00133/0.00133, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001547/0.001547, allocations: 189.7 kB / 16.25 MB, free: 6.637 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.674/1.674, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.3401/0.3401, allocations: 37.98 MB / 307.4 MB, free: 10.08 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.001495/0.001495, allocations: 66.83 kB / 374.8 MB, free: 15.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1498, allocations: 56.46 MB / 431.2 MB, free: 6.945 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP): time 0.003802/0.1536, allocations: 2.319 MB / 433.5 MB, free: 4.605 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007184/0.1609, allocations: 5.558 MB / 439.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.1611, allocations: 0 / 439.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004552/0.1617, allocations: 79.58 kB / 439.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.1619, allocations: 103.4 kB / 439.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003706/0.1656, allocations: 1.418 MB / 440.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008156/0.1665, allocations: 0.8631 MB / 441.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.1667, allocations: 142.1 kB / 441.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003825/0.167, allocations: 350.2 kB / 442 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004665/0.1675, allocations: 441.9 kB / 442.5 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.21e-05/0.1676, allocations: 40 kB / 442.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004019/0.1716, allocations: 2.916 MB / 445.4 MB, free: 8.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.1719, allocations: 195 kB / 445.6 MB, free: 8.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000465/0.1724, allocations: 393.3 kB / 446 MB, free: 8.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003853/0.1762, allocations: 2.45 MB / 448.4 MB, free: 5.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1762, allocations: 3.938 kB / 448.5 MB, free: 5.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1763, allocations: 0 / 448.5 MB, free: 5.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.1763, allocations: 0 / 448.5 MB, free: 5.629 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.003502/0.1798, allocations: 1.649 MB / 450.1 MB, free: 3.926 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.1798, allocations: 15.89 kB / 450.1 MB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.18, allocations: 103.6 kB / 450.2 MB, free: 3.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006066/0.1806, allocations: 488.7 kB / 450.7 MB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/0.1807, allocations: 61.98 kB / 450.8 MB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.1808, allocations: 76 kB / 450.8 MB, free: 3.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/0.1836, allocations: 1.662 MB / 452.5 MB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.1836, allocations: 4 kB / 452.5 MB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.681e-05/0.1837, allocations: 35.98 kB / 452.5 MB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-05/0.1838, allocations: 81.95 kB / 452.6 MB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.26/0.4438, allocations: 1.816 MB / 454.4 MB, free: 53.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004008/0.4479, allocations: 3.772 MB / 458.2 MB, free: 51.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.4495, allocations: 0.9811 MB / 459.2 MB, free: 50.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.4507, allocations: 0.5712 MB / 459.8 MB, free: 50.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.34e-05/0.4508, allocations: 18.84 kB / 459.8 MB, free: 50.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/0.4509, allocations: 61.42 kB / 459.8 MB, free: 50.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=38): time 4.819e-06/0.4509, allocations: 0 / 459.8 MB, free: 50.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=38): time 0.004135/0.455, allocations: 1.575 MB / 461.4 MB, free: 50.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001926/0.4552, allocations: 0.5003 MB / 461.9 MB, free: 49.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.4563, allocations: 0.8865 MB / 462.8 MB, free: 49.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.408e-05/0.4563, allocations: 32.98 kB / 462.8 MB, free: 49.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000338/0.4567, allocations: 0.5361 MB / 463.4 MB, free: 48.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.4568, allocations: 151 kB / 463.5 MB, free: 48.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003275/0.4572, allocations: 249.6 kB / 463.8 MB, free: 48.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.4574, allocations: 399 kB / 464.1 MB, free: 48.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.4586, allocations: 0.6018 MB / 464.7 MB, free: 48.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.4602, allocations: 1.279 MB / 466 MB, free: 47.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002798/0.463, allocations: 1.886 MB / 467.9 MB, free: 46.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.463, allocations: 9.531 kB / 467.9 MB, free: 46.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00339/0.4664, allocations: 1.843 MB / 469.8 MB, free: 45.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/0.4664, allocations: 18.56 kB / 469.8 MB, free: 45.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.4665, allocations: 24 kB / 469.8 MB, free: 45.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.776e-05/0.4665, allocations: 32.44 kB / 469.8 MB, free: 45.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.4675, allocations: 318.4 kB / 470.1 MB, free: 45.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.384e-05/0.4676, allocations: 47.89 kB / 470.2 MB, free: 45.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.4688, allocations: 250 kB / 470.4 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.312e-05/0.4689, allocations: 79.39 kB / 470.5 MB, free: 45.34 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005604/0.4695, allocations: 433 kB / 470.9 MB, free: 45.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004108/0.4699, allocations: 90.59 kB / 471 MB, free: 45.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.4709, allocations: 0.5006 MB / 471.5 MB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.4709, allocations: 8.531 kB / 471.5 MB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.4709, allocations: 2.969 kB / 471.5 MB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.471, allocations: 8.25 kB / 471.5 MB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.4728, allocations: 0.7069 MB / 472.3 MB, free: 44.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.994e-06/0.4729, allocations: 2.875 kB / 472.3 MB, free: 44.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007948/0.4737, allocations: 192.9 kB / 472.4 MB, free: 44.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.4737, allocations: 6.156 kB / 472.4 MB, free: 44.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.353e-05/0.4737, allocations: 23.27 kB / 472.5 MB, free: 44.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.345e-05/0.4738, allocations: 21.09 kB / 472.5 MB, free: 44.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.4738, allocations: 6.75 kB / 472.5 MB, free: 44.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/0.4766, allocations: 2.434 MB / 474.9 MB, free: 42.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.4768, allocations: 151.3 kB / 475.1 MB, free: 42.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.4769, allocations: 20.66 kB / 475.1 MB, free: 42.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.4781, allocations: 119.6 kB / 475.2 MB, free: 42.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/0.4784, allocations: 143.1 kB / 475.4 MB, free: 42.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.463e-05/0.4784, allocations: 28.89 kB / 475.4 MB, free: 42.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005866/0.479, allocations: 0.5703 MB / 476 MB, free: 42.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.479, allocations: 0 / 476 MB, free: 42.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002668/0.4817, allocations: 494.9 kB / 476.4 MB, free: 42.42 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 (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.001223/0.483, allocations: 0.5094 MB / 476.9 MB, free: 42.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003309/0.4863, allocations: 1.394 MB / 478.3 MB, free: 42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.4863, allocations: 3.938 kB / 478.3 MB, free: 42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001808/0.4881, allocations: 0.9375 MB / 479.3 MB, free: 41.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/0.4902, allocations: 110.2 kB / 479.4 MB, free: 41.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.4932, allocations: 2.047 MB / 481.4 MB, free: 40.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006303/0.4938, allocations: 1.116 MB / 482.6 MB, free: 39.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001121/0.4949, allocations: 432.2 kB / 483 MB, free: 39.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.4952, allocations: 85.78 kB / 483.1 MB, free: 39.78 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4952, allocations: 0 / 483.1 MB, free: 39.78 MB / 382.1 MB Notification: Performance of Templates: time 0.03027/0.5255, allocations: 14.99 MB / 498.1 MB, free: 36.23 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe 2>&1)