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.001115/0.001115, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.003274/0.003273, allocations: 193.5 kB / 16.14 MB, free: 6.699 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.739/1.739, allocations: 205.1 MB / 222 MB, free: 4.766 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.3644/0.3644, allocations: 39.94 MB / 309.3 MB, free: 9.652 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.001386/0.001386, allocations: 71.89 kB / 376.9 MB, free: 13.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1695, allocations: 56.88 MB / 433.8 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP): time 0.004742/0.1743, allocations: 2.315 MB / 436.1 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008534/0.1829, allocations: 5.62 MB / 441.8 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002922/0.1832, allocations: 0 / 441.8 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005295/0.1838, allocations: 79.52 kB / 441.8 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.1841, allocations: 103.4 kB / 441.9 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004817/0.1889, allocations: 1.398 MB / 443.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009527/0.1899, allocations: 0.949 MB / 444.3 MB, free: 9.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.1901, allocations: 134.1 kB / 444.4 MB, free: 9.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003577/0.1905, allocations: 306.3 kB / 444.7 MB, free: 9.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004784/0.191, allocations: 425.8 kB / 445.1 MB, free: 9.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.79e-05/0.191, allocations: 24 kB / 445.2 MB, free: 8.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005067/0.1961, allocations: 2.893 MB / 448 MB, free: 6.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003635/0.1965, allocations: 175.1 kB / 448.2 MB, free: 5.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005588/0.1971, allocations: 373.2 kB / 448.6 MB, free: 5.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004997/0.2021, allocations: 2.423 MB / 451 MB, free: 3.129 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.2021, allocations: 0 / 451 MB, free: 3.129 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2021, allocations: 3.938 kB / 451 MB, free: 3.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.2022, allocations: 0 / 451 MB, free: 3.125 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.003927/0.2061, allocations: 1.649 MB / 452.7 MB, free: 1.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.2062, allocations: 12.03 kB / 452.7 MB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.2063, allocations: 103.6 kB / 452.8 MB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006404/0.207, allocations: 480.8 kB / 453.2 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.33e-05/0.207, allocations: 61.98 kB / 453.3 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.2072, allocations: 76 kB / 453.4 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2653/0.4725, allocations: 1.657 MB / 455 MB, free: 51.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/0.4726, allocations: 0 / 455 MB, free: 51.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.4727, allocations: 32.44 kB / 455.1 MB, free: 51.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/0.4729, allocations: 83.89 kB / 455.1 MB, free: 51.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003483/0.4764, allocations: 1.824 MB / 457 MB, free: 51.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004633/0.481, allocations: 3.783 MB / 460.8 MB, free: 49.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.4828, allocations: 0.9731 MB / 461.7 MB, free: 48.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.484, allocations: 0.5762 MB / 462.3 MB, free: 48.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.908e-05/0.4841, allocations: 21.61 kB / 462.3 MB, free: 48.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.4841, allocations: 60.06 kB / 462.4 MB, free: 48.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=38): time 3.115e-06/0.4841, allocations: 0 / 462.4 MB, free: 48.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=38): time 0.004037/0.4882, allocations: 1.574 MB / 464 MB, free: 48.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001857/0.4884, allocations: 0.4943 MB / 464.5 MB, free: 47.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009812/0.4894, allocations: 0.8866 MB / 465.3 MB, free: 47.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.4894, allocations: 32.98 kB / 465.4 MB, free: 47.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.4897, allocations: 0.5407 MB / 465.9 MB, free: 46.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.4899, allocations: 137.7 kB / 466 MB, free: 46.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003313/0.4902, allocations: 251 kB / 466.3 MB, free: 46.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.4904, allocations: 399.8 kB / 466.7 MB, free: 46.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.4917, allocations: 0.6073 MB / 467.3 MB, free: 46.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.4933, allocations: 1.268 MB / 468.6 MB, free: 45.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00283/0.4961, allocations: 1.897 MB / 470.5 MB, free: 43.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.545e-05/0.4961, allocations: 9.312 kB / 470.5 MB, free: 43.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003735/0.4999, allocations: 1.841 MB / 472.3 MB, free: 43.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.4999, allocations: 15.06 kB / 472.3 MB, free: 43.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.16e-05/0.5, allocations: 24.38 kB / 472.3 MB, free: 43.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.203e-05/0.5, allocations: 35.86 kB / 472.4 MB, free: 43.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.5012, allocations: 316.7 kB / 472.7 MB, free: 43.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.225e-05/0.5012, allocations: 45.97 kB / 472.7 MB, free: 43.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.5026, allocations: 252 kB / 473 MB, free: 43.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.5028, allocations: 83.53 kB / 473.1 MB, free: 43.2 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.0007293/0.5035, allocations: 437.2 kB / 473.5 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004504/0.5039, allocations: 82.91 kB / 473.6 MB, free: 42.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.505, allocations: 0.4986 MB / 474.1 MB, free: 42.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.505, allocations: 6.281 kB / 474.1 MB, free: 42.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.5051, allocations: 5.781 kB / 474.1 MB, free: 42.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.5051, allocations: 6.75 kB / 474.1 MB, free: 42.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.5068, allocations: 0.708 MB / 474.8 MB, free: 42.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.5068, allocations: 4.578 kB / 474.8 MB, free: 42.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007769/0.5076, allocations: 186.6 kB / 475 MB, free: 42.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/0.5076, allocations: 6.312 kB / 475 MB, free: 42.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.669e-05/0.5077, allocations: 24.34 kB / 475 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.5077, allocations: 17.78 kB / 475 MB, free: 42.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.5077, allocations: 3.156 kB / 475 MB, free: 42.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/0.5104, allocations: 2.441 MB / 477.5 MB, free: 40.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/0.5106, allocations: 148.7 kB / 477.6 MB, free: 40.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.5107, allocations: 21.69 kB / 477.6 MB, free: 40.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.5119, allocations: 117.6 kB / 477.8 MB, free: 40.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002854/0.5122, allocations: 145.8 kB / 477.9 MB, free: 40.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.004e-05/0.5123, allocations: 29.55 kB / 477.9 MB, free: 40.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006183/0.5129, allocations: 0.5726 MB / 478.5 MB, free: 40.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5129, allocations: 0 / 478.5 MB, free: 40.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002576/0.5155, allocations: 486.2 kB / 479 MB, free: 40.29 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.001168/0.5167, allocations: 0.5204 MB / 479.5 MB, free: 40.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003193/0.5199, allocations: 1.347 MB / 480.8 MB, free: 39.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.5199, allocations: 3.188 kB / 480.8 MB, free: 39.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.5217, allocations: 0.9303 MB / 481.8 MB, free: 39.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.5239, allocations: 108.7 kB / 481.9 MB, free: 39.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/0.5274, allocations: 2.048 MB / 483.9 MB, free: 38.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008017/0.5282, allocations: 1.111 MB / 485 MB, free: 37.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001513/0.5298, allocations: 444.6 kB / 485.5 MB, free: 37.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/0.5301, allocations: 74.06 kB / 485.5 MB, free: 37.67 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5301, allocations: 4 kB / 485.5 MB, free: 37.66 MB / 382.1 MB Notification: Performance of Templates: time 0.03169/0.5618, allocations: 14.68 MB / 0.4885 GB, free: 33.51 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)