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.002056/0.002056, allocations: 177.8 kB / 8.358 MB, free: 0.7188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.375/2.375, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001135/0.001134, allocations: 87.08 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3041/0.3041, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.667e-05/2.677e-05, allocations: 0 / 418.3 MB, free: 40.91 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4901/0.4902, allocations: 58.86 MB / 477.2 MB, free: 5.172 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2228/0.7131, allocations: 120.4 MB / 0.5836 GB, free: 10.68 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000379/0.7135, allocations: 95.94 kB / 0.5837 GB, free: 10.59 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2275/0.941, allocations: 45.25 MB / 0.6279 GB, free: 13.03 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.9411, allocations: 0 / 0.6279 GB, free: 13.03 MB / 475.1 MB Notification: Performance of Transformations before backend: time 3.438e-05/0.9411, allocations: 16 kB / 0.6279 GB, free: 13.01 MB / 475.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.004975/0.9461, allocations: 1.399 MB / 0.6293 GB, free: 11.57 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.9462, allocations: 8.031 kB / 0.6293 GB, free: 11.56 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004166/0.9466, allocations: 110.7 kB / 0.6294 GB, free: 11.45 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.948, allocations: 466.9 kB / 0.6299 GB, free: 10.95 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.151e-05/0.9481, allocations: 28 kB / 0.6299 GB, free: 10.92 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.9482, allocations: 44 kB / 0.6299 GB, free: 10.88 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003321/0.9516, allocations: 1.366 MB / 0.6313 GB, free: 9.512 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/0.9546, allocations: 1.291 MB / 0.6325 GB, free: 8.16 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.9547, allocations: 0 / 0.6325 GB, free: 8.16 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.9548, allocations: 7.984 kB / 0.6325 GB, free: 8.152 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001475/0.955, allocations: 81.89 kB / 0.6326 GB, free: 8.07 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007178/0.9622, allocations: 3.58 MB / 0.6361 GB, free: 4.375 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.9638, allocations: 0.7533 MB / 0.6368 GB, free: 3.457 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008802/0.9647, allocations: 386.3 kB / 0.6372 GB, free: 3.027 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.749e-05/0.9648, allocations: 28.09 kB / 0.6372 GB, free: 3 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.696e-05/0.9649, allocations: 51.12 kB / 0.6373 GB, free: 2.938 MB / 475.1 MB Notification: Performance of pre-optimization done (n=38): time 4.589e-06/0.9649, allocations: 3.938 kB / 0.6373 GB, free: 2.934 MB / 475.1 MB Notification: Performance of matching and sorting (n=38): time 0.002358/0.9673, allocations: 0.6841 MB / 0.638 GB, free: 2.246 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002529/0.9676, allocations: 0.4963 MB / 0.6384 GB, free: 1.633 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.9689, allocations: 0.6514 MB / 0.6391 GB, free: 0.9766 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.969, allocations: 29.7 kB / 0.6391 GB, free: 0.9414 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005377/0.9696, allocations: 0.5776 MB / 0.6397 GB, free: 364 kB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/0.9699, allocations: 138.1 kB / 0.6398 GB, free: 224 kB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.711e-05/0.97, allocations: 0 / 0.6398 GB, free: 224 kB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.3356/1.306, allocations: 356 kB / 0.6401 GB, free: 132.9 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/1.307, allocations: 393.9 kB / 0.6405 GB, free: 132.9 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/1.309, allocations: 1.047 MB / 0.6415 GB, free: 132 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/1.31, allocations: 0.5251 MB / 0.6421 GB, free: 132 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.727e-05/1.31, allocations: 6.625 kB / 0.6421 GB, free: 132 MB / 475.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003773/1.314, allocations: 1.272 MB / 0.6433 GB, free: 132 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.849e-05/1.314, allocations: 15.34 kB / 0.6433 GB, free: 132 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.253e-05/1.314, allocations: 23.52 kB / 0.6433 GB, free: 132 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.216e-05/1.314, allocations: 36.03 kB / 0.6434 GB, free: 132 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/1.317, allocations: 357.4 kB / 0.6437 GB, free: 132 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.706e-05/1.317, allocations: 46.84 kB / 0.6438 GB, free: 132 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/1.319, allocations: 229.5 kB / 0.644 GB, free: 132 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/1.319, allocations: 76.91 kB / 0.6441 GB, free: 132 MB / 475.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 () * 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.0003656/1.32, allocations: 195.8 kB / 0.6442 GB, free: 131.9 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002398/1.322, allocations: 0.6996 MB / 0.6449 GB, free: 131.8 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005334/1.323, allocations: 73.83 kB / 0.645 GB, free: 131.8 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/1.324, allocations: 477.8 kB / 0.6455 GB, free: 131.7 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/1.325, allocations: 8.188 kB / 0.6455 GB, free: 131.7 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/1.325, allocations: 6.281 kB / 0.6455 GB, free: 131.7 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/1.325, allocations: 9.078 kB / 0.6455 GB, free: 131.7 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/1.327, allocations: 0.5946 MB / 0.6461 GB, free: 131.6 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/1.327, allocations: 6.312 kB / 0.6461 GB, free: 131.6 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001842/1.329, allocations: 235.8 kB / 0.6463 GB, free: 131.6 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.751e-05/1.329, allocations: 10.28 kB / 0.6463 GB, free: 131.6 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.147e-05/1.329, allocations: 20.47 kB / 0.6463 GB, free: 131.6 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.128e-05/1.329, allocations: 6.891 kB / 0.6463 GB, free: 131.6 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/1.329, allocations: 12.94 kB / 0.6463 GB, free: 131.6 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/1.331, allocations: 2.222 MB / 0.6485 GB, free: 129.9 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/1.332, allocations: 148.5 kB / 0.6486 GB, free: 129.8 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/1.332, allocations: 7.297 kB / 0.6487 GB, free: 129.8 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002338/1.334, allocations: 160 kB / 0.6488 GB, free: 129.8 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005878/1.335, allocations: 140.2 kB / 0.6489 GB, free: 129.8 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.733e-05/1.335, allocations: 29.02 kB / 0.649 GB, free: 129.8 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.000876/1.336, allocations: 457.7 kB / 0.6494 GB, free: 129.7 MB / 475.1 MB Notification: Performance of sort global known variables: time 5.71e-07/1.336, allocations: 0 / 0.6494 GB, free: 129.7 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.003716/1.34, allocations: 0.5003 MB / 0.6499 GB, free: 129.6 MB / 475.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 () * 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.005186/1.345, allocations: 4.425 MB / 0.6542 GB, free: 126.3 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.002882/1.348, allocations: 0.8986 MB / 0.6551 GB, free: 126.2 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/1.348, allocations: 1.062 kB / 0.6551 GB, free: 126.2 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002135/1.35, allocations: 0.7313 MB / 0.6558 GB, free: 126.2 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/1.352, allocations: 97.41 kB / 0.6559 GB, free: 126.2 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008015/1.36, allocations: 1.709 MB / 0.6576 GB, free: 125.7 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/1.361, allocations: 1.12 MB / 0.6587 GB, free: 125 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/1.362, allocations: 325.7 kB / 0.659 GB, free: 125 MB / 475.1 MB Notification: Performance of SimCode: time 1.392e-06/1.362, allocations: 0 / 0.659 GB, free: 125 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.821/4.183, allocations: 20.69 MB / 0.6792 GB, free: 123.2 MB / 475.1 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