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.001229/0.001229, 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.001329/0.001329, allocations: 191 kB / 16.25 MB, free: 6.641 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.666/1.666, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.4143/0.4143, allocations: 39.93 MB / 309.4 MB, free: 9.316 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.001605/0.001605, allocations: 71.91 kB / 377.1 MB, free: 13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1584, allocations: 56.88 MB / 434 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP): time 0.00537/0.1638, allocations: 2.311 MB / 436.3 MB, free: 1.688 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008916/0.1728, allocations: 5.562 MB / 441.9 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002676/0.1731, allocations: 4 kB / 441.9 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.1737, allocations: 83.5 kB / 442 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004375/0.1742, allocations: 99.36 kB / 442.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005219/0.1794, allocations: 1.418 MB / 443.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001129/0.1805, allocations: 0.8593 MB / 444.3 MB, free: 9.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.1808, allocations: 138.1 kB / 444.5 MB, free: 9.488 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007076/0.1815, allocations: 354.2 kB / 444.8 MB, free: 9.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007861/0.1823, allocations: 433.9 kB / 445.3 MB, free: 8.715 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.1825, allocations: 40 kB / 445.3 MB, free: 8.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004811/0.1873, allocations: 2.92 MB / 448.2 MB, free: 5.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003099/0.1876, allocations: 195 kB / 448.4 MB, free: 5.559 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007483/0.1884, allocations: 389.3 kB / 448.8 MB, free: 5.176 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005289/0.1937, allocations: 2.458 MB / 451.2 MB, free: 2.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.1937, allocations: 4 kB / 451.2 MB, free: 2.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1937, allocations: 0 / 451.2 MB, free: 2.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.641e-05/0.1938, allocations: 0 / 451.2 MB, free: 2.707 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.004556/0.1984, allocations: 1.649 MB / 452.9 MB, free: 1.004 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.1984, allocations: 15.89 kB / 452.9 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002881/0.1987, allocations: 103.6 kB / 453 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000767/0.1995, allocations: 484.8 kB / 453.5 MB, free: 380 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.481e-05/0.1996, allocations: 69.92 kB / 453.5 MB, free: 312 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.1997, allocations: 76 kB / 453.6 MB, free: 236 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2929/0.4926, allocations: 1.644 MB / 455.3 MB, free: 43.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/0.4927, allocations: 4.312 kB / 455.3 MB, free: 43.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.322e-05/0.4928, allocations: 34.84 kB / 455.3 MB, free: 43.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.511e-05/0.4929, allocations: 84.58 kB / 455.4 MB, free: 43.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003146/0.496, allocations: 1.821 MB / 457.2 MB, free: 43.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003849/0.4999, allocations: 3.785 MB / 461 MB, free: 42.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.5015, allocations: 0.9745 MB / 462 MB, free: 41.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/0.5027, allocations: 0.5732 MB / 462.5 MB, free: 41.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.941e-05/0.5028, allocations: 25 kB / 462.6 MB, free: 41.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.887e-05/0.5029, allocations: 56.83 kB / 462.6 MB, free: 41.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=38): time 3.717e-06/0.5029, allocations: 3.25 kB / 462.6 MB, free: 41.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=38): time 0.003938/0.5068, allocations: 1.567 MB / 464.2 MB, free: 41.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/0.507, allocations: 0.4994 MB / 464.7 MB, free: 40.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000929/0.5079, allocations: 0.8891 MB / 465.6 MB, free: 40.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/0.508, allocations: 29.52 kB / 465.6 MB, free: 40.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/0.5084, allocations: 0.5389 MB / 466.1 MB, free: 40.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.5085, allocations: 138.5 kB / 466.3 MB, free: 40.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003265/0.5088, allocations: 257.2 kB / 466.5 MB, free: 40.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.509, allocations: 397.5 kB / 466.9 MB, free: 39.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.5103, allocations: 0.6009 MB / 467.5 MB, free: 39.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.5119, allocations: 1.278 MB / 468.8 MB, free: 38.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00306/0.5149, allocations: 1.888 MB / 470.7 MB, free: 37.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/0.515, allocations: 9.688 kB / 470.7 MB, free: 37.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00368/0.5186, allocations: 1.845 MB / 472.5 MB, free: 37.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.5187, allocations: 17.47 kB / 472.6 MB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/0.5187, allocations: 25.31 kB / 472.6 MB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.041e-05/0.5188, allocations: 30.38 kB / 472.6 MB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.5198, allocations: 317.4 kB / 472.9 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.414e-05/0.5199, allocations: 52.64 kB / 473 MB, free: 37.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.5211, allocations: 256.5 kB / 473.2 MB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.5212, allocations: 72.88 kB / 473.3 MB, free: 37.06 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.0005746/0.5218, allocations: 438.5 kB / 473.7 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004055/0.5222, allocations: 77.22 kB / 473.8 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009994/0.5232, allocations: 0.5057 MB / 474.3 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.5232, allocations: 6.156 kB / 474.3 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.5232, allocations: 6.031 kB / 474.3 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.5232, allocations: 13.38 kB / 474.3 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.5249, allocations: 0.6904 MB / 475 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.5249, allocations: 10.06 kB / 475 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007724/0.5257, allocations: 195.1 kB / 475.2 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.954e-06/0.5257, allocations: 6.281 kB / 475.2 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/0.5258, allocations: 20.47 kB / 475.3 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.842e-06/0.5258, allocations: 10.22 kB / 475.3 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.5258, allocations: 6.562 kB / 475.3 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/0.5284, allocations: 2.442 MB / 477.7 MB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/0.5286, allocations: 161.4 kB / 477.9 MB, free: 34.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.5287, allocations: 10.44 kB / 477.9 MB, free: 34.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.5299, allocations: 122.3 kB / 478 MB, free: 34.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002861/0.5301, allocations: 137.8 kB / 478.1 MB, free: 34.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.538e-05/0.5302, allocations: 31.05 kB / 478.2 MB, free: 34.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006398/0.5309, allocations: 0.5696 MB / 478.7 MB, free: 34.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5309, allocations: 3.656 kB / 478.7 MB, free: 34.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002417/0.5333, allocations: 496.7 kB / 479.2 MB, free: 34.18 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.001128/0.5344, allocations: 0.5118 MB / 479.7 MB, free: 34.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003379/0.5378, allocations: 1.394 MB / 481.1 MB, free: 33.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.5378, allocations: 3.938 kB / 481.1 MB, free: 33.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.5397, allocations: 0.9367 MB / 482.1 MB, free: 33.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/0.5417, allocations: 113.3 kB / 482.2 MB, free: 33.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.5451, allocations: 2.041 MB / 484.2 MB, free: 32.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009751/0.5461, allocations: 1.113 MB / 485.3 MB, free: 31.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00158/0.5477, allocations: 433.3 kB / 485.8 MB, free: 31.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/0.548, allocations: 82.77 kB / 485.8 MB, free: 31.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.483e-06/0.548, allocations: 4 kB / 485.8 MB, free: 31.66 MB / 382.1 MB Notification: Performance of Templates: time 0.04316/0.5912, allocations: 14.99 MB / 0.4891 GB, free: 28.14 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.makefile (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)