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.001665/0.001665, allocations: 181 kB / 13.66 MB, free: 1.664 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.107/2.107, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001594/0.001594, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3112/0.3112, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.046e-05/4.053e-05, allocations: 0 / 425.4 MB, free: 23.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1163, allocations: 58.85 MB / 484.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5439/0.6602, allocations: 121.1 MB / 0.5912 GB, free: 14.15 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003886/0.6606, allocations: 102.2 kB / 0.5913 GB, free: 14.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2293/0.89, allocations: 45.64 MB / 0.6358 GB, free: 6.852 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.89, allocations: 0 / 0.6358 GB, free: 6.852 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.169e-05/0.8901, allocations: 19.38 kB / 0.6359 GB, free: 6.836 MB / 442.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.004935/0.895, allocations: 1.393 MB / 0.6372 GB, free: 5.453 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/0.8951, allocations: 12.03 kB / 0.6372 GB, free: 5.441 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003221/0.8954, allocations: 150 kB / 0.6374 GB, free: 5.344 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002729/0.8957, allocations: 114.6 kB / 0.6375 GB, free: 5.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.8969, allocations: 464.2 kB / 0.6379 GB, free: 4.762 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/0.897, allocations: 63.11 kB / 0.638 GB, free: 4.727 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.8972, allocations: 77 kB / 0.6381 GB, free: 4.676 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003067/0.9002, allocations: 1.411 MB / 0.6394 GB, free: 3.562 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.9003, allocations: 0 / 0.6394 GB, free: 3.562 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.9005, allocations: 35.06 kB / 0.6395 GB, free: 3.555 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/0.9006, allocations: 81.78 kB / 0.6396 GB, free: 3.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003403/0.904, allocations: 1.42 MB / 0.6409 GB, free: 2.453 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00752/0.9116, allocations: 3.78 MB / 0.6446 GB, free: 15.03 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.9134, allocations: 0.7887 MB / 0.6454 GB, free: 14.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009292/0.9144, allocations: 397.5 kB / 0.6458 GB, free: 13.81 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-05/0.9145, allocations: 16.11 kB / 0.6458 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.538e-05/0.9146, allocations: 65.25 kB / 0.6459 GB, free: 13.73 MB / 458.7 MB Notification: Performance of pre-optimization done (n=38): time 3.586e-06/0.9146, allocations: 0 / 0.6459 GB, free: 13.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=38): time 0.00255/0.9171, allocations: 0.7223 MB / 0.6466 GB, free: 13.12 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002824/0.9174, allocations: 0.4966 MB / 0.647 GB, free: 12.51 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.919, allocations: 0.7758 MB / 0.6478 GB, free: 11.89 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.9192, allocations: 33.64 kB / 0.6478 GB, free: 11.85 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005375/0.9197, allocations: 0.5601 MB / 0.6484 GB, free: 11.39 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.92, allocations: 145.3 kB / 0.6485 GB, free: 11.27 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.326e-05/0.9201, allocations: 22.44 kB / 0.6485 GB, free: 11.26 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.9203, allocations: 353 kB / 0.6489 GB, free: 10.92 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.9215, allocations: 417.8 kB / 0.6493 GB, free: 10.52 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/0.9233, allocations: 1.072 MB / 0.6503 GB, free: 9.117 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.925, allocations: 0.5578 MB / 0.6509 GB, free: 8.559 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.629e-05/0.925, allocations: 8 kB / 0.6509 GB, free: 8.551 MB / 458.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004638/0.9297, allocations: 1.411 MB / 0.6523 GB, free: 7.133 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.63e-05/0.9298, allocations: 16 kB / 0.6523 GB, free: 7.117 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.617e-05/0.9299, allocations: 24.88 kB / 0.6523 GB, free: 7.094 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001135/0.93, allocations: 39.95 kB / 0.6523 GB, free: 7.055 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00385/0.9339, allocations: 359.4 kB / 0.6527 GB, free: 6.703 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.792e-05/0.9341, allocations: 47.8 kB / 0.6527 GB, free: 6.656 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003602/0.9377, allocations: 258.9 kB / 0.653 GB, free: 6.402 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003615/0.9381, allocations: 75.98 kB / 0.653 GB, free: 6.328 MB / 458.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.0005599/0.9387, allocations: 228.3 kB / 0.6533 GB, free: 6.102 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009516/0.9396, allocations: 86.95 kB / 0.6533 GB, free: 6.016 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002552/0.9422, allocations: 495.2 kB / 0.6538 GB, free: 5.523 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.295e-05/0.9423, allocations: 15.94 kB / 0.6538 GB, free: 5.508 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.197e-05/0.9423, allocations: 4 kB / 0.6538 GB, free: 5.504 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.436e-05/0.9424, allocations: 11.98 kB / 0.6538 GB, free: 5.492 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004205/0.9466, allocations: 0.6922 MB / 0.6545 GB, free: 4.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/0.9467, allocations: 4 kB / 0.6545 GB, free: 4.746 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002501/0.9492, allocations: 243.6 kB / 0.6548 GB, free: 4.508 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.499e-05/0.9493, allocations: 8 kB / 0.6548 GB, free: 4.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/0.9494, allocations: 19.98 kB / 0.6548 GB, free: 4.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.708e-05/0.9494, allocations: 4 kB / 0.6548 GB, free: 4.477 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.401e-05/0.9495, allocations: 19.83 kB / 0.6548 GB, free: 4.457 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004062/0.9536, allocations: 2.256 MB / 0.657 GB, free: 2.066 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004144/0.954, allocations: 152.1 kB / 0.6572 GB, free: 1.898 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000275/0.9543, allocations: 15.98 kB / 0.6572 GB, free: 1.883 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003704/0.9581, allocations: 163.8 kB / 0.6573 GB, free: 1.723 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008817/0.959, allocations: 143.7 kB / 0.6575 GB, free: 1.582 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/0.9592, allocations: 23.98 kB / 0.6575 GB, free: 1.559 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00176/0.9609, allocations: 0.5576 MB / 0.658 GB, free: 1.004 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.052e-06/0.961, allocations: 0 / 0.658 GB, free: 1.004 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005654/0.9667, allocations: 0.5263 MB / 0.6585 GB, free: 488 kB / 458.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.006818/0.9735, allocations: 4.45 MB / 0.6629 GB, free: 11.92 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002945/0.9765, allocations: 0.9608 MB / 0.6638 GB, free: 10.96 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.9766, allocations: 0 / 0.6638 GB, free: 10.96 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002196/0.9788, allocations: 0.7427 MB / 0.6646 GB, free: 10.22 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.9808, allocations: 115.9 kB / 0.6647 GB, free: 10.11 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007092/0.9879, allocations: 1.768 MB / 0.6664 GB, free: 8.238 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.9891, allocations: 1.125 MB / 0.6675 GB, free: 7.086 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/0.9903, allocations: 327.3 kB / 0.6678 GB, free: 6.766 MB / 474.7 MB Notification: Performance of SimCode: time 1.994e-06/0.9903, allocations: 0 / 0.6678 GB, free: 6.766 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.893/3.884, allocations: 21.05 MB / 0.6884 GB, free: 1.711 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