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.001127/0.001127, allocations: 98.19 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.006259/0.006259, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.495/1.495, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3213/0.3213, allocations: 38.04 MB / 308.8 MB, free: 10.35 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.0007274/0.0007277, allocations: 27.98 kB / 377.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1238, allocations: 57.52 MB / 434.6 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP): time 0.002672/0.1265, allocations: 1.953 MB / 436.5 MB, free: 3.227 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007912/0.1344, allocations: 5.531 MB / 442.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.1347, allocations: 0 / 442.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004006/0.1351, allocations: 75.58 kB / 442.1 MB, free: 13.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.1355, allocations: 115.3 kB / 442.3 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00397/0.1395, allocations: 1.398 MB / 443.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.1405, allocations: 0.9489 MB / 444.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.1408, allocations: 130.1 kB / 444.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005269/0.1413, allocations: 314.2 kB / 445 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006584/0.142, allocations: 413.8 kB / 445.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.1421, allocations: 24 kB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004217/0.1463, allocations: 2.885 MB / 448.4 MB, free: 7.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002699/0.1466, allocations: 171 kB / 448.5 MB, free: 7.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005489/0.1472, allocations: 403 kB / 448.9 MB, free: 6.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003966/0.1511, allocations: 2.419 MB / 451.3 MB, free: 4.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1512, allocations: 3.938 kB / 451.3 MB, free: 4.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.1512, allocations: 0 / 451.3 MB, free: 4.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.804e-05/0.1512, allocations: 0 / 451.3 MB, free: 4.363 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.003708/0.1549, allocations: 1.591 MB / 452.9 MB, free: 2.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.155, allocations: 12.03 kB / 452.9 MB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.1552, allocations: 99.72 kB / 453 MB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006738/0.1559, allocations: 484.7 kB / 453.5 MB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.78e-05/0.156, allocations: 62 kB / 453.6 MB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.1561, allocations: 83.97 kB / 453.7 MB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/0.1591, allocations: 1.732 MB / 455.4 MB, free: 160 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.1591, allocations: 4 kB / 455.4 MB, free: 156 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.314e-05/0.1592, allocations: 35.98 kB / 455.4 MB, free: 120 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.325e-05/0.1593, allocations: 81.95 kB / 455.5 MB, free: 40 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2192/0.3786, allocations: 1.977 MB / 457.5 MB, free: 50.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003692/0.3823, allocations: 3.752 MB / 461.2 MB, free: 48.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.384, allocations: 1.057 MB / 462.3 MB, free: 48.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.3853, allocations: 0.6507 MB / 462.9 MB, free: 48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.173e-05/0.3854, allocations: 20.83 kB / 463 MB, free: 47.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.3855, allocations: 55.84 kB / 463 MB, free: 47.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=38): time 2.574e-06/0.3855, allocations: 0 / 463 MB, free: 47.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=38): time 0.004413/0.3899, allocations: 1.809 MB / 464.8 MB, free: 47.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/0.39, allocations: 0.4904 MB / 465.3 MB, free: 47.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009452/0.391, allocations: 0.8852 MB / 466.2 MB, free: 47.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.024e-05/0.3911, allocations: 38.33 kB / 466.2 MB, free: 46.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004718/0.3915, allocations: 0.5374 MB / 466.8 MB, free: 46.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.3917, allocations: 147.3 kB / 466.9 MB, free: 46.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.3919, allocations: 110.6 kB / 467 MB, free: 46.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3921, allocations: 397.1 kB / 467.4 MB, free: 46.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/0.3935, allocations: 0.6825 MB / 468.1 MB, free: 46.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/0.3952, allocations: 1.347 MB / 469.4 MB, free: 45.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003052/0.3982, allocations: 2.042 MB / 471.5 MB, free: 44.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-05/0.3983, allocations: 9.688 kB / 471.5 MB, free: 44.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003895/0.4022, allocations: 1.995 MB / 473.5 MB, free: 43.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.4022, allocations: 24.56 kB / 473.5 MB, free: 43.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/0.4023, allocations: 23.16 kB / 473.5 MB, free: 43.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.022e-05/0.4023, allocations: 33.03 kB / 473.6 MB, free: 43.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.4034, allocations: 357 kB / 473.9 MB, free: 43.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.448e-05/0.4034, allocations: 47.41 kB / 474 MB, free: 43.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.4047, allocations: 295.1 kB / 474.3 MB, free: 43.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.694e-05/0.4048, allocations: 75.16 kB / 474.3 MB, free: 43.36 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.0005295/0.4053, allocations: 431.7 kB / 474.7 MB, free: 43.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003809/0.4057, allocations: 87.38 kB / 474.8 MB, free: 43.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.4068, allocations: 0.5139 MB / 475.3 MB, free: 42.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.4068, allocations: 9.625 kB / 475.4 MB, free: 42.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.4068, allocations: 3.125 kB / 475.4 MB, free: 42.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.4068, allocations: 12.48 kB / 475.4 MB, free: 42.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.4085, allocations: 0.7027 MB / 476.1 MB, free: 42.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4086, allocations: 3.344 kB / 476.1 MB, free: 42.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007945/0.4094, allocations: 233.5 kB / 476.3 MB, free: 42.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.4094, allocations: 6.25 kB / 476.3 MB, free: 42.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.715e-05/0.4094, allocations: 31.91 kB / 476.3 MB, free: 42.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.4094, allocations: 10.19 kB / 476.4 MB, free: 42.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.4095, allocations: 3.031 kB / 476.4 MB, free: 42.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002934/0.4124, allocations: 2.594 MB / 479 MB, free: 40.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.4126, allocations: 153.5 kB / 479.1 MB, free: 40.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.193e-05/0.4126, allocations: 14.72 kB / 479.1 MB, free: 40.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.4139, allocations: 162 kB / 479.3 MB, free: 40.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000265/0.4141, allocations: 140.2 kB / 479.4 MB, free: 40.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.4142, allocations: 26.27 kB / 479.4 MB, free: 40.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006006/0.4148, allocations: 0.5706 MB / 480 MB, free: 40.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4148, allocations: 0 / 480 MB, free: 40.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002479/0.4173, allocations: 493.9 kB / 480.5 MB, free: 40.41 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.001188/0.4185, allocations: 0.5118 MB / 481 MB, free: 40.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003399/0.4219, allocations: 1.504 MB / 482.5 MB, free: 39.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4219, allocations: 2.875 kB / 482.5 MB, free: 39.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002043/0.424, allocations: 1.01 MB / 483.5 MB, free: 39.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/0.4265, allocations: 108.6 kB / 483.6 MB, free: 39.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/0.4295, allocations: 2.064 MB / 485.7 MB, free: 38.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006371/0.4301, allocations: 1.113 MB / 486.8 MB, free: 37.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00122/0.4314, allocations: 443.3 kB / 487.2 MB, free: 37.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/0.4316, allocations: 70.83 kB / 487.3 MB, free: 37.74 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4316, allocations: 4.969 kB / 487.3 MB, free: 37.74 MB / 382.1 MB Notification: Performance of Templates: time 0.02745/0.4591, allocations: 14.56 MB / 0.4901 GB, free: 34.12 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: