Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001434/0.001434, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008491/0.000849, allocations: 94.14 kB / 261.8 MB, free: 1.676 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.2273/0.2273, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.896e-05/1.898e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1327, allocations: 58.87 MB / 477.2 MB, free: 1.516 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5401/0.6728, allocations: 120.4 MB / 0.5837 GB, free: 6.746 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003833/0.6733, allocations: 102.6 kB / 0.5838 GB, free: 6.688 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1381/0.8114, allocations: 45.27 MB / 0.628 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.8114, allocations: 4 kB / 0.628 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.574e-05/0.8115, allocations: 16 kB / 0.628 GB, free: 0.6641 MB / 426.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.00333/0.8148, allocations: 1.386 MB / 0.6293 GB, free: 15.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.8149, allocations: 8.031 kB / 0.6293 GB, free: 15.29 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.8151, allocations: 106.7 kB / 0.6294 GB, free: 15.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007053/0.8158, allocations: 468.3 kB / 0.6299 GB, free: 14.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.8158, allocations: 24 kB / 0.6299 GB, free: 14.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.846e-05/0.8159, allocations: 48 kB / 0.63 GB, free: 14.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001913/0.8178, allocations: 1.364 MB / 0.6313 GB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.8198, allocations: 1.293 MB / 0.6326 GB, free: 12.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.8198, allocations: 3.938 kB / 0.6326 GB, free: 12.61 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.824e-05/0.8199, allocations: 4 kB / 0.6326 GB, free: 12.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.359e-05/0.82, allocations: 77.02 kB / 0.6326 GB, free: 12.53 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004274/0.8243, allocations: 3.59 MB / 0.6361 GB, free: 9.254 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009794/0.8253, allocations: 0.7549 MB / 0.6369 GB, free: 8.434 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/0.8258, allocations: 387.4 kB / 0.6372 GB, free: 8.062 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.552e-05/0.8259, allocations: 23.03 kB / 0.6373 GB, free: 8.043 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.125e-05/0.8259, allocations: 59.69 kB / 0.6373 GB, free: 7.977 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 4.278e-06/0.826, allocations: 0 / 0.6373 GB, free: 7.977 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001572/0.8275, allocations: 0.6829 MB / 0.638 GB, free: 7.289 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002681/0.8278, allocations: 0.4925 MB / 0.6385 GB, free: 6.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008769/0.8287, allocations: 0.6552 MB / 0.6391 GB, free: 6.02 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/0.8288, allocations: 25.7 kB / 0.6391 GB, free: 5.988 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.8291, allocations: 0.5323 MB / 0.6397 GB, free: 5.445 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.8293, allocations: 150.1 kB / 0.6398 GB, free: 5.297 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.8293, allocations: 0 / 0.6398 GB, free: 5.297 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002378/0.8296, allocations: 382.8 kB / 0.6402 GB, free: 4.914 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005831/0.8302, allocations: 394.3 kB / 0.6405 GB, free: 4.527 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.8314, allocations: 1.043 MB / 0.6416 GB, free: 3.152 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008249/0.8322, allocations: 0.5344 MB / 0.6421 GB, free: 2.617 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/0.8322, allocations: 8 kB / 0.6421 GB, free: 2.609 MB / 442.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002128/0.8344, allocations: 1.29 MB / 0.6433 GB, free: 1.312 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.8344, allocations: 22.91 kB / 0.6434 GB, free: 1.293 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.792e-05/0.8345, allocations: 24.84 kB / 0.6434 GB, free: 1.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.215e-05/0.8345, allocations: 39.98 kB / 0.6434 GB, free: 1.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.8358, allocations: 359.3 kB / 0.6438 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.703e-05/0.8359, allocations: 51.78 kB / 0.6438 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.8371, allocations: 231.1 kB / 0.644 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.8373, allocations: 75.97 kB / 0.6441 GB, free: 0.5273 MB / 442.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.000269/0.8375, allocations: 200.3 kB / 0.6443 GB, free: 340 kB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001414/0.839, allocations: 0.6916 MB / 0.645 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000347/0.8393, allocations: 75.14 kB / 0.6451 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.8404, allocations: 470.8 kB / 0.6455 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.8404, allocations: 8 kB / 0.6455 GB, free: 15.08 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.8404, allocations: 11.78 kB / 0.6455 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.8404, allocations: 7.984 kB / 0.6455 GB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.842, allocations: 0.5873 MB / 0.6461 GB, free: 14.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.842, allocations: 4 kB / 0.6461 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009161/0.8429, allocations: 239.7 kB / 0.6463 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.8429, allocations: 11.94 kB / 0.6463 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.329e-05/0.843, allocations: 19.98 kB / 0.6464 GB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.846e-06/0.843, allocations: 11.94 kB / 0.6464 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.843, allocations: 4 kB / 0.6464 GB, free: 14.15 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.845, allocations: 2.23 MB / 0.6486 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.8452, allocations: 148.2 kB / 0.6487 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.98e-05/0.8453, allocations: 8 kB / 0.6487 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.8465, allocations: 155.8 kB / 0.6489 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/0.8468, allocations: 139.7 kB / 0.649 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.429e-05/0.8469, allocations: 27.97 kB / 0.649 GB, free: 11.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000592/0.8475, allocations: 459 kB / 0.6495 GB, free: 10.85 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8475, allocations: 4 kB / 0.6495 GB, free: 10.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003115/0.8506, allocations: 0.5065 MB / 0.65 GB, free: 10.34 MB / 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.0045/0.8551, allocations: 4.411 MB / 0.6543 GB, free: 5.82 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001614/0.8567, allocations: 0.903 MB / 0.6551 GB, free: 4.922 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.8568, allocations: 0 / 0.6551 GB, free: 4.922 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.8578, allocations: 0.726 MB / 0.6559 GB, free: 4.195 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.859, allocations: 101.3 kB / 0.6559 GB, free: 4.098 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.8636, allocations: 1.692 MB / 0.6576 GB, free: 2.312 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008067/0.8644, allocations: 1.136 MB / 0.6587 GB, free: 1.148 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001162/0.8656, allocations: 432.3 kB / 0.6591 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004377/0.866, allocations: 307.3 kB / 0.6594 GB, free: 432 kB / 458.7 MB Notification: Performance of SimCode: time 1.944e-06/0.866, allocations: 0 / 0.6594 GB, free: 432 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0497/0.9157, allocations: 19.73 MB / 0.6787 GB, free: 12.68 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.916, allocations: 193.8 kB / 0.6789 GB, free: 12.49 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.941/3.857, allocations: 7.969 kB / 0.6789 GB, free: 12.48 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_twoPhaseOverall_DP.fmu > ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP_res.mat does not exist to compare? outputFormat=mat