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.001672/0.001672, 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.002026/0.002026, allocations: 194.8 kB / 16.14 MB, free: 6.711 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.725/1.725, allocations: 205.1 MB / 222 MB, free: 5 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.4389/0.4389, allocations: 37.97 MB / 307.3 MB, free: 9.781 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.001551/0.001551, allocations: 64.38 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1682, allocations: 56.46 MB / 431 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP): time 0.005727/0.174, allocations: 2.307 MB / 433.3 MB, free: 4.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008586/0.1826, allocations: 5.624 MB / 439 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/0.183, allocations: 0 / 439 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005978/0.1836, allocations: 79.52 kB / 439 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.184, allocations: 111.4 kB / 439.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004806/0.1888, allocations: 1.394 MB / 440.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009523/0.1898, allocations: 0.9568 MB / 441.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.19, allocations: 134.1 kB / 441.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003727/0.1903, allocations: 310.2 kB / 441.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004557/0.1908, allocations: 409.9 kB / 442.3 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.962e-05/0.1909, allocations: 28 kB / 442.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004594/0.1955, allocations: 2.889 MB / 445.3 MB, free: 8.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.1957, allocations: 175 kB / 445.4 MB, free: 8.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004085/0.1961, allocations: 369.4 kB / 445.8 MB, free: 8.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004024/0.2002, allocations: 2.427 MB / 448.2 MB, free: 5.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2002, allocations: 0 / 448.2 MB, free: 5.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2002, allocations: 4 kB / 448.2 MB, free: 5.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.2002, allocations: 0 / 448.2 MB, free: 5.793 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.003543/0.2038, allocations: 1.653 MB / 449.9 MB, free: 4.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.2038, allocations: 8.031 kB / 449.9 MB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.204, allocations: 103.6 kB / 450 MB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006086/0.2046, allocations: 488.6 kB / 450.5 MB, free: 3.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.2047, allocations: 62 kB / 450.5 MB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.2048, allocations: 79.98 kB / 450.6 MB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002606/0.2074, allocations: 1.65 MB / 452.2 MB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.2075, allocations: 3.938 kB / 452.3 MB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.758e-05/0.2075, allocations: 36 kB / 452.3 MB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.727e-05/0.2077, allocations: 77.95 kB / 452.4 MB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.321/0.5286, allocations: 1.822 MB / 454.2 MB, free: 52.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003999/0.5327, allocations: 3.783 MB / 458 MB, free: 50.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.5342, allocations: 0.977 MB / 458.9 MB, free: 50.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.5354, allocations: 0.5725 MB / 459.5 MB, free: 50.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.172e-05/0.5355, allocations: 23.39 kB / 459.5 MB, free: 50.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.5356, allocations: 57.28 kB / 459.6 MB, free: 50.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=38): time 2.434e-06/0.5356, allocations: 0 / 459.6 MB, free: 50.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=38): time 0.00396/0.5395, allocations: 1.574 MB / 461.2 MB, free: 50 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/0.5397, allocations: 0.499 MB / 461.7 MB, free: 49.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008481/0.5406, allocations: 0.8898 MB / 462.6 MB, free: 49.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.5406, allocations: 32.98 kB / 462.6 MB, free: 49.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/0.5409, allocations: 0.5354 MB / 463.1 MB, free: 48.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.541, allocations: 141.8 kB / 463.3 MB, free: 48.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003056/0.5413, allocations: 253.7 kB / 463.5 MB, free: 48.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.5415, allocations: 394.2 kB / 463.9 MB, free: 48.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.5427, allocations: 0.6078 MB / 464.5 MB, free: 47.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.5442, allocations: 1.271 MB / 465.8 MB, free: 46.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002753/0.5469, allocations: 1.894 MB / 467.7 MB, free: 45.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.5469, allocations: 6.219 kB / 467.7 MB, free: 45.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003414/0.5504, allocations: 1.838 MB / 469.5 MB, free: 45.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.5504, allocations: 19.31 kB / 469.5 MB, free: 45.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/0.5504, allocations: 24.75 kB / 469.6 MB, free: 45.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.6e-05/0.5505, allocations: 37.03 kB / 469.6 MB, free: 45.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.5516, allocations: 316.8 kB / 469.9 MB, free: 45.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.267e-05/0.5516, allocations: 43.88 kB / 469.9 MB, free: 45.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.5528, allocations: 257.4 kB / 470.2 MB, free: 45.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.5529, allocations: 80.39 kB / 470.3 MB, free: 45.01 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.0006256/0.5535, allocations: 435.6 kB / 470.7 MB, free: 44.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004652/0.554, allocations: 89.91 kB / 470.8 MB, free: 44.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.5551, allocations: 0.5058 MB / 471.3 MB, free: 44.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.5551, allocations: 8.844 kB / 471.3 MB, free: 44.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.5551, allocations: 6.125 kB / 471.3 MB, free: 44.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.5551, allocations: 3.125 kB / 471.3 MB, free: 44.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.5567, allocations: 0.7041 MB / 472 MB, free: 44.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5568, allocations: 3.156 kB / 472 MB, free: 44.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007649/0.5575, allocations: 192 kB / 472.2 MB, free: 44.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.5575, allocations: 8.188 kB / 472.2 MB, free: 44.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/0.5576, allocations: 27.91 kB / 472.2 MB, free: 44.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.5576, allocations: 13.89 kB / 472.3 MB, free: 44.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.5576, allocations: 6.344 kB / 472.3 MB, free: 44.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.5602, allocations: 2.436 MB / 474.7 MB, free: 42.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.5604, allocations: 149.3 kB / 474.8 MB, free: 42.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.5605, allocations: 24.83 kB / 474.9 MB, free: 42.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.5617, allocations: 115.4 kB / 475 MB, free: 42.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003088/0.562, allocations: 141.5 kB / 475.1 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.425e-05/0.5621, allocations: 26.42 kB / 475.1 MB, free: 42.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006214/0.5627, allocations: 0.5674 MB / 475.7 MB, free: 42.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-07/0.5627, allocations: 7.938 kB / 475.7 MB, free: 42.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002336/0.5651, allocations: 493.7 kB / 476.2 MB, free: 42.08 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.001107/0.5662, allocations: 0.5134 MB / 476.7 MB, free: 41.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002961/0.5692, allocations: 1.343 MB / 478.1 MB, free: 41.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5692, allocations: 0 / 478.1 MB, free: 41.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.5709, allocations: 0.9364 MB / 479 MB, free: 41.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/0.5728, allocations: 108.4 kB / 479.1 MB, free: 41.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.5761, allocations: 2.04 MB / 481.1 MB, free: 40.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006293/0.5768, allocations: 1.117 MB / 482.3 MB, free: 39.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0012/0.578, allocations: 450.3 kB / 482.7 MB, free: 39.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.5782, allocations: 74.52 kB / 482.8 MB, free: 39.47 MB / 382.1 MB Notification: Performance of SimCode: time 1.854e-06/0.5783, allocations: 0 / 482.8 MB, free: 39.47 MB / 382.1 MB Notification: Performance of Templates: time 0.03182/0.6101, allocations: 14.67 MB / 497.4 MB, free: 36.38 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)