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.001437/0.001437, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002062/0.002063, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.603/1.603, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.378/0.378, allocations: 39.94 MB / 309.7 MB, free: 9.25 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.001694/0.001695, allocations: 67.91 kB / 377.6 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1587, allocations: 56.88 MB / 434.5 MB, free: 3.645 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP): time 0.005162/0.1639, allocations: 2.258 MB / 436.8 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01211/0.1761, allocations: 5.568 MB / 442.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003868/0.1765, allocations: 4 kB / 442.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006807/0.1773, allocations: 91.38 kB / 442.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008107/0.1781, allocations: 107.2 kB / 442.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007926/0.186, allocations: 1.568 MB / 444.1 MB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00172/0.1878, allocations: 0.8554 MB / 445 MB, free: 9.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003823/0.1882, allocations: 134.1 kB / 445.1 MB, free: 9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000905/0.1891, allocations: 350.2 kB / 445.4 MB, free: 8.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.1903, allocations: 421.9 kB / 445.9 MB, free: 8.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003138/0.1906, allocations: 36 kB / 445.9 MB, free: 8.207 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01069/0.2013, allocations: 2.916 MB / 448.8 MB, free: 5.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005982/0.202, allocations: 195 kB / 449 MB, free: 5.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001231/0.2032, allocations: 389.3 kB / 449.4 MB, free: 4.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009306/0.2126, allocations: 2.454 MB / 451.8 MB, free: 2.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.299e-05/0.2127, allocations: 0 / 451.8 MB, free: 2.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.2127, allocations: 0 / 451.8 MB, free: 2.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.088e-05/0.2128, allocations: 0 / 451.8 MB, free: 2.25 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.006891/0.2197, allocations: 1.649 MB / 453.5 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.689e-05/0.2198, allocations: 11.89 kB / 453.5 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004568/0.2202, allocations: 111.6 kB / 453.6 MB, free: 436 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3129/0.5332, allocations: 480.9 kB / 454.1 MB, free: 43.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.702e-05/0.5333, allocations: 65.52 kB / 454.1 MB, free: 43.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/0.5336, allocations: 74.34 kB / 454.2 MB, free: 43.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/0.5363, allocations: 1.655 MB / 455.9 MB, free: 43.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.5363, allocations: 6.125 kB / 455.9 MB, free: 43.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-05/0.5364, allocations: 33.62 kB / 455.9 MB, free: 43.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.24e-05/0.5365, allocations: 83.06 kB / 456 MB, free: 43.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003267/0.5398, allocations: 1.826 MB / 457.8 MB, free: 43.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004249/0.5441, allocations: 3.78 MB / 461.6 MB, free: 41.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.5459, allocations: 0.9756 MB / 462.6 MB, free: 41.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.5472, allocations: 0.5768 MB / 463.1 MB, free: 41.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.771e-05/0.5473, allocations: 16.5 kB / 463.2 MB, free: 41.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.5474, allocations: 63.61 kB / 463.2 MB, free: 41.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=38): time 3.196e-06/0.5474, allocations: 0 / 463.2 MB, free: 41.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=38): time 0.004503/0.5519, allocations: 1.569 MB / 464.8 MB, free: 41.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001886/0.5521, allocations: 0.501 MB / 465.3 MB, free: 40.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009963/0.5531, allocations: 0.8814 MB / 466.2 MB, free: 40.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.5532, allocations: 36.3 kB / 466.2 MB, free: 40.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.5535, allocations: 0.5385 MB / 466.7 MB, free: 40 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.5536, allocations: 144.7 kB / 466.9 MB, free: 39.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003185/0.5539, allocations: 254.5 kB / 467.1 MB, free: 39.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5541, allocations: 393 kB / 467.5 MB, free: 39.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.5555, allocations: 0.6032 MB / 468.1 MB, free: 39.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.5572, allocations: 1.27 MB / 469.4 MB, free: 38.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00316/0.5604, allocations: 1.897 MB / 471.3 MB, free: 37.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/0.5604, allocations: 6.594 kB / 471.3 MB, free: 37.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003861/0.5643, allocations: 1.845 MB / 473.1 MB, free: 36.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.5643, allocations: 15.56 kB / 473.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.221e-05/0.5644, allocations: 24.27 kB / 473.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.994e-05/0.5644, allocations: 32.12 kB / 473.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.5656, allocations: 321.3 kB / 473.5 MB, free: 36.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.684e-05/0.5656, allocations: 43.28 kB / 473.6 MB, free: 36.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.5669, allocations: 258.8 kB / 473.8 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.74e-05/0.567, allocations: 77.88 kB / 473.9 MB, free: 36.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005597/0.5675, allocations: 431.9 kB / 474.3 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003987/0.5679, allocations: 90 kB / 474.4 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.569, allocations: 0.4965 MB / 474.9 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.569, allocations: 6.125 kB / 474.9 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.569, allocations: 13.38 kB / 474.9 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.5691, allocations: 6.734 kB / 474.9 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.5709, allocations: 0.6986 MB / 475.6 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.5709, allocations: 3.25 kB / 475.6 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007769/0.5717, allocations: 196.8 kB / 475.8 MB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.5717, allocations: 7.188 kB / 475.8 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.527e-05/0.5718, allocations: 23.16 kB / 475.8 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.5718, allocations: 8.719 kB / 475.9 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.5718, allocations: 9.406 kB / 475.9 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002792/0.5746, allocations: 2.44 MB / 478.3 MB, free: 34.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.5747, allocations: 149.7 kB / 478.4 MB, free: 34.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.5748, allocations: 26.98 kB / 478.5 MB, free: 34.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.576, allocations: 116.9 kB / 478.6 MB, free: 34.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002786/0.5763, allocations: 143.9 kB / 478.7 MB, free: 34.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-05/0.5764, allocations: 28.23 kB / 478.8 MB, free: 34.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000547/0.5769, allocations: 0.5691 MB / 479.3 MB, free: 33.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5769, allocations: 0 / 479.3 MB, free: 33.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002358/0.5793, allocations: 496.5 kB / 479.8 MB, free: 33.81 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.0009744/0.5803, allocations: 0.5143 MB / 480.3 MB, free: 33.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003267/0.5836, allocations: 1.389 MB / 481.7 MB, free: 33.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.5836, allocations: 3.062 kB / 481.7 MB, free: 33.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001891/0.5855, allocations: 0.9343 MB / 482.7 MB, free: 33.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.5874, allocations: 124.5 kB / 482.8 MB, free: 33.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.5903, allocations: 1.71 MB / 484.5 MB, free: 32.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008729/0.5912, allocations: 1.114 MB / 485.6 MB, free: 31.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001309/0.5925, allocations: 437.6 kB / 486 MB, free: 31.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.5927, allocations: 78.75 kB / 486.1 MB, free: 31.62 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5928, allocations: 0 / 486.1 MB, free: 31.62 MB / 382.1 MB Notification: Performance of Templates: time 0.03663/0.6294, allocations: 15.89 MB / 0.4902 GB, free: 27.57 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)