Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001644/0.001643, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.4 MB / 222.5 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001137, allocations: 86.94 kB / 270.9 MB, free: 8.398 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5551/0.5551, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006759/0.000676, allocations: 8 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1394, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5283/0.6677, allocations: 121.2 MB / 0.5972 GB, free: 13.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004366/0.6683, allocations: 99.92 kB / 0.5973 GB, free: 13.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2375/0.9057, allocations: 45.66 MB / 0.6419 GB, free: 15.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.9058, allocations: 0 / 0.6419 GB, free: 15.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.303e-05/0.9058, allocations: 16 kB / 0.6419 GB, free: 15.29 MB / 474.7 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.005539/0.9114, allocations: 1.454 MB / 0.6433 GB, free: 13.78 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.9115, allocations: 8.031 kB / 0.6433 GB, free: 13.77 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003869/0.9119, allocations: 156.1 kB / 0.6435 GB, free: 13.61 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002696/0.9122, allocations: 115.7 kB / 0.6436 GB, free: 13.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.9133, allocations: 460.4 kB / 0.644 GB, free: 13.01 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.88e-05/0.9134, allocations: 65.98 kB / 0.6441 GB, free: 12.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.9136, allocations: 80 kB / 0.6442 GB, free: 12.87 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00549/0.9191, allocations: 1.685 MB / 0.6458 GB, free: 11.12 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.772e-05/0.9192, allocations: 4 kB / 0.6458 GB, free: 11.12 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.9194, allocations: 36 kB / 0.6458 GB, free: 11.08 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001342/0.9195, allocations: 69.95 kB / 0.6459 GB, free: 11.02 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007222/0.9267, allocations: 1.978 MB / 0.6478 GB, free: 9.031 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007982/0.9348, allocations: 3.776 MB / 0.6515 GB, free: 5.133 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00374/0.9386, allocations: 1.051 MB / 0.6526 GB, free: 3.918 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.9388, allocations: 16.2 kB / 0.6526 GB, free: 3.902 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.297e-05/0.9388, allocations: 59.28 kB / 0.6526 GB, free: 3.832 MB / 474.7 MB Notification: Performance of pre-optimization done (n=38): time 3.967e-06/0.9389, allocations: 4 kB / 0.6526 GB, free: 3.828 MB / 474.7 MB Notification: Performance of matching and sorting (n=38): time 0.00943/0.9483, allocations: 1.804 MB / 0.6544 GB, free: 2.023 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002848/0.9486, allocations: 0.5003 MB / 0.6549 GB, free: 1.406 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.9503, allocations: 0.7806 MB / 0.6556 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001505/0.9505, allocations: 33.7 kB / 0.6557 GB, free: 0.582 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000517/0.951, allocations: 0.5582 MB / 0.6562 GB, free: 12 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/0.9514, allocations: 146.3 kB / 0.6564 GB, free: 15.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.9515, allocations: 20 kB / 0.6564 GB, free: 15.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.9517, allocations: 358.8 kB / 0.6567 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00318/0.9549, allocations: 0.6737 MB / 0.6574 GB, free: 14.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003829/0.9588, allocations: 1.347 MB / 0.6587 GB, free: 13.13 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00362/0.9624, allocations: 0.8154 MB / 0.6595 GB, free: 12.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.549e-05/0.9625, allocations: 4 kB / 0.6595 GB, free: 12.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.008431/0.971, allocations: 1.958 MB / 0.6614 GB, free: 10.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.976e-05/0.9711, allocations: 16 kB / 0.6614 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.365e-05/0.9712, allocations: 24 kB / 0.6614 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.442e-05/0.9712, allocations: 35.78 kB / 0.6615 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002503/0.9738, allocations: 367.4 kB / 0.6618 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.018e-05/0.9739, allocations: 43.8 kB / 0.6619 GB, free: 9.875 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002461/0.9764, allocations: 262.9 kB / 0.6621 GB, free: 9.617 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002807/0.9767, allocations: 75.97 kB / 0.6622 GB, free: 9.543 MB / 490.7 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.001006/0.9777, allocations: 433 kB / 0.6626 GB, free: 9.113 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005972/0.9783, allocations: 83.05 kB / 0.6627 GB, free: 9.031 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.9805, allocations: 0.523 MB / 0.6632 GB, free: 8.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.418e-05/0.9806, allocations: 11.95 kB / 0.6632 GB, free: 8.488 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.9806, allocations: 4 kB / 0.6632 GB, free: 8.484 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/0.9807, allocations: 7.984 kB / 0.6632 GB, free: 8.477 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00293/0.9836, allocations: 0.696 MB / 0.6639 GB, free: 7.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/0.9837, allocations: 4 kB / 0.6639 GB, free: 7.727 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/0.9856, allocations: 235.7 kB / 0.6641 GB, free: 7.496 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.972e-05/0.9857, allocations: 4 kB / 0.6641 GB, free: 7.492 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/0.9858, allocations: 35.91 kB / 0.6642 GB, free: 7.457 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387e-05/0.9858, allocations: 7.938 kB / 0.6642 GB, free: 7.449 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.9858, allocations: 7.953 kB / 0.6642 GB, free: 7.441 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006919/0.9928, allocations: 2.792 MB / 0.6669 GB, free: 4.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003586/0.9932, allocations: 152 kB / 0.6671 GB, free: 4.352 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/0.9934, allocations: 16 kB / 0.6671 GB, free: 4.336 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002475/0.9959, allocations: 163.8 kB / 0.6672 GB, free: 4.176 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006785/0.9966, allocations: 147.7 kB / 0.6674 GB, free: 4.031 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.566e-05/0.9968, allocations: 23.98 kB / 0.6674 GB, free: 4.008 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001257/0.998, allocations: 0.5614 MB / 0.6679 GB, free: 3.449 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.9981, allocations: 0 / 0.6679 GB, free: 3.449 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003671/1.002, allocations: 0.5262 MB / 0.6685 GB, free: 2.922 MB / 490.7 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.3451/1.347, allocations: 4.965 MB / 0.6733 GB, free: 120.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006901/1.354, allocations: 1.498 MB / 0.6748 GB, free: 120.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/1.354, allocations: 5.156 kB / 0.6748 GB, free: 120.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004263/1.358, allocations: 1.01 MB / 0.6758 GB, free: 120.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/1.36, allocations: 105.1 kB / 0.6759 GB, free: 120.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02381/1.384, allocations: 22.89 MB / 0.6982 GB, free: 102.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009675/1.385, allocations: 1.118 MB / 0.6993 GB, free: 101.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/1.386, allocations: 330.9 kB / 0.6996 GB, free: 101.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/1.386, allocations: 1.125 kB / 0.6996 GB, free: 101.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.882/4.268, allocations: 21.15 MB / 0.7203 GB, free: 99.87 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP_res.mat does not exist to compare? outputFormat=mat