Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009719/0.0009718, allocations: 168.5 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 221.5 MB / 230.7 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008345/0.0008345, allocations: 100.7 kB / 281.6 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1974/0.1974, allocations: 44.15 MB / 376.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.218e-05/2.191e-05, allocations: 4.219 kB / 444.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1787, allocations: 61.92 MB / 0.4948 GB, free: 1.113 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5812/0.7599, allocations: 121.7 MB / 0.6136 GB, free: 6.586 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/0.7603, allocations: 95.94 kB / 0.6137 GB, free: 6.492 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1535/0.9138, allocations: 46.08 MB / 0.6587 GB, free: 8.113 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.9139, allocations: 0 / 0.6587 GB, free: 8.113 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.9139, allocations: 16 kB / 0.6587 GB, free: 8.098 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.00308/0.917, allocations: 1.399 MB / 0.6601 GB, free: 6.652 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.9171, allocations: 11.98 kB / 0.6601 GB, free: 6.641 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.9172, allocations: 102.7 kB / 0.6602 GB, free: 6.539 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006508/0.9179, allocations: 466.9 kB / 0.6606 GB, free: 6.043 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/0.9179, allocations: 35.94 kB / 0.6607 GB, free: 6.008 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.252e-05/0.918, allocations: 44 kB / 0.6607 GB, free: 5.965 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001737/0.9198, allocations: 1.366 MB / 0.662 GB, free: 4.598 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.9215, allocations: 1.291 MB / 0.6633 GB, free: 3.246 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.9215, allocations: 0 / 0.6633 GB, free: 3.246 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-05/0.9216, allocations: 4 kB / 0.6633 GB, free: 3.242 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.232e-05/0.9217, allocations: 73.95 kB / 0.6634 GB, free: 3.168 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003979/0.9256, allocations: 3.588 MB / 0.6669 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008494/0.9265, allocations: 0.7571 MB / 0.6676 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004513/0.927, allocations: 383.6 kB / 0.668 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.258e-05/0.9271, allocations: 24.09 kB / 0.668 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.9271, allocations: 55.12 kB / 0.6681 GB, free: 14.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=38): time 1.954e-06/0.9271, allocations: 0 / 0.6681 GB, free: 14.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=38): time 0.001418/0.9285, allocations: 0.6906 MB / 0.6687 GB, free: 13.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002425/0.9288, allocations: 496.3 kB / 0.6692 GB, free: 12.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007714/0.9296, allocations: 0.6552 MB / 0.6699 GB, free: 12.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.45e-05/0.9296, allocations: 29.7 kB / 0.6699 GB, free: 12.03 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003817/0.93, allocations: 0.5361 MB / 0.6704 GB, free: 11.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.9302, allocations: 138.2 kB / 0.6705 GB, free: 11.35 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.9302, allocations: 0 / 0.6705 GB, free: 11.35 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.9304, allocations: 390.9 kB / 0.6709 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006209/0.931, allocations: 394.3 kB / 0.6713 GB, free: 10.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009685/0.932, allocations: 1.051 MB / 0.6723 GB, free: 9.188 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000692/0.9327, allocations: 0.5328 MB / 0.6728 GB, free: 8.656 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.509e-05/0.9327, allocations: 4 kB / 0.6728 GB, free: 8.652 MB / 490.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002004/0.9347, allocations: 1.294 MB / 0.6741 GB, free: 7.352 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.9348, allocations: 13.25 kB / 0.6741 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.543e-05/0.9348, allocations: 24 kB / 0.6741 GB, free: 7.316 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.004e-05/0.9349, allocations: 36.78 kB / 0.6742 GB, free: 7.281 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.9361, allocations: 359.3 kB / 0.6745 GB, free: 6.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.201e-05/0.9362, allocations: 43.86 kB / 0.6746 GB, free: 6.887 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.9373, allocations: 231.1 kB / 0.6748 GB, free: 6.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.9374, allocations: 71.98 kB / 0.6748 GB, free: 6.59 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 () * 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.0002518/0.9377, allocations: 204.3 kB / 0.675 GB, free: 6.391 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001299/0.939, allocations: 0.7022 MB / 0.6757 GB, free: 5.684 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/0.9393, allocations: 67.16 kB / 0.6758 GB, free: 5.617 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009188/0.9402, allocations: 482.6 kB / 0.6762 GB, free: 5.133 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.9403, allocations: 8 kB / 0.6763 GB, free: 5.125 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.9403, allocations: 8 kB / 0.6763 GB, free: 5.117 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.9403, allocations: 7.984 kB / 0.6763 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.9418, allocations: 0.6029 MB / 0.6769 GB, free: 4.469 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.9418, allocations: 4 kB / 0.6769 GB, free: 4.465 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009066/0.9427, allocations: 235.7 kB / 0.6771 GB, free: 4.234 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.9427, allocations: 4 kB / 0.6771 GB, free: 4.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.651e-05/0.9428, allocations: 15.98 kB / 0.6771 GB, free: 4.215 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/0.9428, allocations: 11.94 kB / 0.6771 GB, free: 4.203 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.9428, allocations: 4 kB / 0.6771 GB, free: 4.199 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.9443, allocations: 2.234 MB / 0.6793 GB, free: 1.832 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.9445, allocations: 148.2 kB / 0.6794 GB, free: 1.668 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.877e-05/0.9446, allocations: 7.984 kB / 0.6795 GB, free: 1.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.9458, allocations: 155.8 kB / 0.6796 GB, free: 1.508 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000277/0.9461, allocations: 139.7 kB / 0.6797 GB, free: 1.371 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.143e-05/0.9462, allocations: 27.98 kB / 0.6798 GB, free: 1.344 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000557/0.9468, allocations: 463 kB / 0.6802 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.9468, allocations: 0 / 0.6802 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002744/0.9495, allocations: 0.5026 MB / 0.6807 GB, free: 392 kB / 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.0039/0.9534, allocations: 4.43 MB / 0.685 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001607/0.9551, allocations: 0.9062 MB / 0.6859 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.9551, allocations: 0 / 0.6859 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.9561, allocations: 0.7295 MB / 0.6866 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.9573, allocations: 96.95 kB / 0.6867 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/0.9616, allocations: 1.691 MB / 0.6884 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007534/0.9624, allocations: 1.132 MB / 0.6895 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001189/0.9636, allocations: 440.2 kB / 0.6899 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004564/0.964, allocations: 303.3 kB / 0.6902 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of SimCode: time 1.693e-06/0.9641, allocations: 0 / 0.6902 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04972/1.014, allocations: 19.71 MB / 0.7094 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/1.014, allocations: 198.9 kB / 0.7096 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.639/3.653, allocations: 3.562 kB / 0.7096 GB, free: 2.574 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP_res.mat does not exist to compare? outputFormat=mat