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.001159/0.001159, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001302/0.001302, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.4072/0.4072, allocations: 38.03 MB / 308.4 MB, free: 10.44 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.0006478/0.0006478, allocations: 20 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1663, allocations: 57.51 MB / 433.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP): time 0.003107/0.1694, allocations: 1.845 MB / 435.8 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007452/0.1769, allocations: 4.029 MB / 439.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003407/0.1773, allocations: 0 / 439.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004584/0.1778, allocations: 83.5 kB / 439.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003719/0.1782, allocations: 83.72 kB / 440 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004125/0.1823, allocations: 1.118 MB / 441.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008522/0.1832, allocations: 0.5611 MB / 441.7 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.1835, allocations: 138.1 kB / 441.8 MB, free: 13.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006426/0.1841, allocations: 286.7 kB / 442.1 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006283/0.1848, allocations: 354.3 kB / 442.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.1849, allocations: 24 kB / 442.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004582/0.1895, allocations: 2.375 MB / 444.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003245/0.1898, allocations: 159.2 kB / 445 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000428/0.1903, allocations: 153.2 kB / 445.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002937/0.1932, allocations: 1.24 MB / 446.4 MB, free: 9.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1933, allocations: 0 / 446.4 MB, free: 9.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.642e-06/0.1933, allocations: 0 / 446.4 MB, free: 9.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.394e-05/0.1933, allocations: 7.875 kB / 446.4 MB, free: 9.078 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.003952/0.1973, allocations: 1.555 MB / 447.9 MB, free: 7.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.1973, allocations: 8.031 kB / 447.9 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003079/0.1977, allocations: 106.6 kB / 448 MB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009056/0.1986, allocations: 468.4 kB / 448.5 MB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.186e-05/0.1986, allocations: 58 kB / 448.6 MB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.1988, allocations: 79.98 kB / 448.6 MB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003086/0.2019, allocations: 1.72 MB / 450.4 MB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.2019, allocations: 0 / 450.4 MB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.23e-05/0.202, allocations: 32 kB / 450.4 MB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.2021, allocations: 81.95 kB / 450.5 MB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003998/0.2061, allocations: 1.971 MB / 452.4 MB, free: 2.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3063/0.5124, allocations: 3.786 MB / 456.2 MB, free: 48.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.5143, allocations: 1.059 MB / 457.3 MB, free: 47.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-05/0.5144, allocations: 19.02 kB / 457.3 MB, free: 47.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.5144, allocations: 58.31 kB / 457.4 MB, free: 47.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=38): time 2.735e-06/0.5144, allocations: 0 / 457.4 MB, free: 47.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=38): time 0.004533/0.5189, allocations: 1.802 MB / 459.2 MB, free: 47.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002721/0.5192, allocations: 0.4973 MB / 459.7 MB, free: 46.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.5205, allocations: 0.8758 MB / 460.5 MB, free: 46.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.136e-05/0.5205, allocations: 35.66 kB / 460.6 MB, free: 46.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003995/0.5209, allocations: 0.5434 MB / 461.1 MB, free: 46.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.5211, allocations: 138.4 kB / 461.2 MB, free: 46.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.5211, allocations: 22.62 kB / 461.3 MB, free: 46.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.5213, allocations: 396.7 kB / 461.7 MB, free: 46.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.5227, allocations: 0.6756 MB / 462.3 MB, free: 46.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.5244, allocations: 1.344 MB / 463.7 MB, free: 45.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.5261, allocations: 0.8108 MB / 464.5 MB, free: 45.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.5261, allocations: 6.438 kB / 464.5 MB, free: 45.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003631/0.5297, allocations: 1.993 MB / 466.5 MB, free: 44.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.5298, allocations: 17.39 kB / 466.5 MB, free: 44.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.268e-05/0.5298, allocations: 22.44 kB / 466.5 MB, free: 44.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.509e-05/0.5299, allocations: 34.91 kB / 466.6 MB, free: 44.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.531, allocations: 361.3 kB / 466.9 MB, free: 44.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.05e-05/0.531, allocations: 47.09 kB / 467 MB, free: 44.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.5322, allocations: 289.7 kB / 467.2 MB, free: 44.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.985e-05/0.5323, allocations: 79.67 kB / 467.3 MB, free: 44.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005601/0.5329, allocations: 440.6 kB / 467.7 MB, free: 44.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003903/0.5333, allocations: 81.88 kB / 467.8 MB, free: 44.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.5344, allocations: 0.5206 MB / 468.3 MB, free: 44.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.5344, allocations: 9.781 kB / 468.4 MB, free: 44.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.5345, allocations: 3.094 kB / 468.4 MB, free: 44.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.5345, allocations: 9.781 kB / 468.4 MB, free: 44.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.5362, allocations: 0.7006 MB / 469.1 MB, free: 44.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.5362, allocations: 6.906 kB / 469.1 MB, free: 44.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007955/0.537, allocations: 235.8 kB / 469.3 MB, free: 44.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.537, allocations: 6.375 kB / 469.3 MB, free: 44.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.475e-05/0.5371, allocations: 23.92 kB / 469.3 MB, free: 44.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/0.5371, allocations: 14.28 kB / 469.3 MB, free: 44.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.5371, allocations: 3.219 kB / 469.4 MB, free: 44.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003228/0.5403, allocations: 2.787 MB / 472.1 MB, free: 42.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/0.5405, allocations: 157.8 kB / 472.3 MB, free: 42.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.5406, allocations: 14.16 kB / 472.3 MB, free: 42.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.5419, allocations: 160.1 kB / 472.5 MB, free: 42.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/0.5422, allocations: 141.6 kB / 472.6 MB, free: 42.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.985e-05/0.5423, allocations: 26.45 kB / 472.6 MB, free: 42.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006099/0.5429, allocations: 0.5605 MB / 473.2 MB, free: 42.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.5429, allocations: 0 / 473.2 MB, free: 42.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002458/0.5454, allocations: 0.4925 MB / 473.7 MB, free: 42.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001052/0.5464, allocations: 0.5229 MB / 474.2 MB, free: 41.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003208/0.5496, allocations: 1.496 MB / 475.7 MB, free: 41.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5497, allocations: 0 / 475.7 MB, free: 41.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001826/0.5515, allocations: 1.009 MB / 476.7 MB, free: 41.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.5526, allocations: 99.34 kB / 476.8 MB, free: 41.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.5555, allocations: 1.957 MB / 478.8 MB, free: 40.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/0.5561, allocations: 1.125 MB / 479.9 MB, free: 39.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001131/0.5573, allocations: 446.3 kB / 480.3 MB, free: 39.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.5575, allocations: 73.2 kB / 480.4 MB, free: 39.49 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5575, allocations: 4 kB / 480.4 MB, free: 39.48 MB / 382.1 MB Notification: Performance of Templates: time 0.02914/0.5867, allocations: 14.18 MB / 494.6 MB, free: 37.18 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: