Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001797/0.001797, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009911/0.0009911, allocations: 97.69 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.224/0.224, allocations: 45.15 MB / 383.8 MB, free: 300 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.52e-05/2.51e-05, allocations: 0 / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1354, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4866/0.6221, allocations: 122.7 MB / 0.6243 GB, free: 11.58 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/0.6224, allocations: 105 kB / 0.6244 GB, free: 11.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1312/0.7537, allocations: 45.55 MB / 0.6689 GB, free: 5.176 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.7537, allocations: 0 / 0.6689 GB, free: 5.176 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.493e-05/0.7538, allocations: 12 kB / 0.6689 GB, free: 5.164 MB / 458.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.003248/0.757, allocations: 1.397 MB / 0.6703 GB, free: 3.781 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.7571, allocations: 12.03 kB / 0.6703 GB, free: 3.77 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/0.7589, allocations: 385.5 kB / 0.6707 GB, free: 3.395 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008498/0.7598, allocations: 459.2 kB / 0.6711 GB, free: 2.938 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.153e-05/0.7599, allocations: 28 kB / 0.6711 GB, free: 2.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.843e-05/0.76, allocations: 44 kB / 0.6712 GB, free: 2.867 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00172/0.7617, allocations: 1.367 MB / 0.6725 GB, free: 1.902 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.7634, allocations: 1.282 MB / 0.6738 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.7634, allocations: 0 / 0.6738 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.341e-05/0.7635, allocations: 11.94 kB / 0.6738 GB, free: 0.8359 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.65e-05/0.7636, allocations: 77.25 kB / 0.6738 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004192/0.7678, allocations: 3.589 MB / 0.6773 GB, free: 13.49 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008965/0.7687, allocations: 0.7619 MB / 0.6781 GB, free: 12.66 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.7692, allocations: 381 kB / 0.6785 GB, free: 12.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-05/0.7693, allocations: 27.66 kB / 0.6785 GB, free: 12.28 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.7693, allocations: 50.88 kB / 0.6785 GB, free: 12.22 MB / 474.7 MB Notification: Performance of pre-optimization done (n=38): time 2.595e-06/0.7693, allocations: 0 / 0.6785 GB, free: 12.22 MB / 474.7 MB Notification: Performance of matching and sorting (n=38): time 0.001343/0.7707, allocations: 0.6953 MB / 0.6792 GB, free: 11.63 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000225/0.7709, allocations: 0.49 MB / 0.6797 GB, free: 11.03 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000754/0.7717, allocations: 0.6542 MB / 0.6803 GB, free: 10.38 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/0.7717, allocations: 29.95 kB / 0.6804 GB, free: 10.35 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/0.7721, allocations: 0.5322 MB / 0.6809 GB, free: 9.805 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.7723, allocations: 138.1 kB / 0.681 GB, free: 9.668 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.7724, allocations: 0 / 0.681 GB, free: 9.668 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.7726, allocations: 390.8 kB / 0.6814 GB, free: 9.277 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00057/0.7731, allocations: 394.3 kB / 0.6818 GB, free: 8.891 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.7743, allocations: 1.043 MB / 0.6828 GB, free: 7.516 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007207/0.775, allocations: 0.5343 MB / 0.6833 GB, free: 6.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.775, allocations: 4 kB / 0.6833 GB, free: 6.977 MB / 474.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00207/0.7771, allocations: 1.296 MB / 0.6846 GB, free: 5.676 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.7772, allocations: 13 kB / 0.6846 GB, free: 5.664 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.64e-05/0.7772, allocations: 24 kB / 0.6846 GB, free: 5.641 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.861e-05/0.7773, allocations: 43.94 kB / 0.6846 GB, free: 5.598 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.7788, allocations: 359.3 kB / 0.685 GB, free: 5.246 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.875e-05/0.7789, allocations: 43.86 kB / 0.685 GB, free: 5.203 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.7803, allocations: 227 kB / 0.6852 GB, free: 4.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.7805, allocations: 75.98 kB / 0.6853 GB, free: 4.906 MB / 474.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 () * 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.0003029/0.7808, allocations: 208.3 kB / 0.6855 GB, free: 4.703 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001423/0.7822, allocations: 0.6874 MB / 0.6862 GB, free: 4.008 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/0.7826, allocations: 75.16 kB / 0.6863 GB, free: 3.934 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.7836, allocations: 473.7 kB / 0.6867 GB, free: 3.461 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.7836, allocations: 11.95 kB / 0.6867 GB, free: 3.449 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.7837, allocations: 11.94 kB / 0.6867 GB, free: 3.438 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.7837, allocations: 4 kB / 0.6867 GB, free: 3.434 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.7853, allocations: 0.599 MB / 0.6873 GB, free: 2.797 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.7853, allocations: 4 kB / 0.6873 GB, free: 2.793 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009492/0.7863, allocations: 239.7 kB / 0.6876 GB, free: 2.559 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.585e-05/0.7863, allocations: 8 kB / 0.6876 GB, free: 2.551 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.82e-05/0.7864, allocations: 15.98 kB / 0.6876 GB, free: 2.535 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.7864, allocations: 11.92 kB / 0.6876 GB, free: 2.523 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.7864, allocations: 4 kB / 0.6876 GB, free: 2.52 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.7884, allocations: 2.234 MB / 0.6898 GB, free: 156 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.7887, allocations: 144.2 kB / 0.6899 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.7888, allocations: 7.938 kB / 0.6899 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.79, allocations: 155.8 kB / 0.6901 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003054/0.7904, allocations: 139.7 kB / 0.6902 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.951e-05/0.7904, allocations: 27.98 kB / 0.6902 GB, free: 15.67 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005652/0.791, allocations: 463 kB / 0.6907 GB, free: 15.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.791, allocations: 0 / 0.6907 GB, free: 15.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002771/0.7938, allocations: 0.5221 MB / 0.6912 GB, free: 14.69 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 () * 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.004707/0.7985, allocations: 4.449 MB / 0.6955 GB, free: 10.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.8002, allocations: 0.8977 MB / 0.6964 GB, free: 9.238 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/0.8002, allocations: 0 / 0.6964 GB, free: 9.238 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.8013, allocations: 0.7393 MB / 0.6971 GB, free: 8.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.8026, allocations: 92 kB / 0.6972 GB, free: 8.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004453/0.807, allocations: 1.707 MB / 0.6989 GB, free: 6.609 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008061/0.8078, allocations: 1.128 MB / 0.7 GB, free: 5.453 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001232/0.8091, allocations: 436.3 kB / 0.7004 GB, free: 5.023 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000483/0.8096, allocations: 303.3 kB / 0.7007 GB, free: 4.727 MB / 490.7 MB Notification: Performance of SimCode: time 3.025e-06/0.8096, allocations: 0 / 0.7007 GB, free: 4.727 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05018/0.8598, allocations: 19.88 MB / 0.7201 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/0.8601, allocations: 203 kB / 0.7203 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.628/3.488, allocations: 0 / 0.7203 GB, free: 0.6992 MB / 0.4948 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP_res.mat does not exist to compare? outputFormat=mat