Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000994/0.0009939, allocations: 96.88 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 177.2 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.2 MB / 241.8 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2058/0.2058, allocations: 44.23 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003125, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1145, allocations: 61.92 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.001908/0.1164, allocations: 1.47 MB / 473 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.1182, allocations: 1.178 MB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.1182, allocations: 0 / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.1185, allocations: 51.78 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.1187, allocations: 71.81 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.1191, allocations: 191.5 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003408/0.1195, allocations: 283.3 kB / 474.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.134e-05/0.1195, allocations: 44.73 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.1197, allocations: 135.3 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.12, allocations: 147.4 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.12, allocations: 8 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007601/0.1208, allocations: 459.2 kB / 475.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.1209, allocations: 127.5 kB / 475.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.624e-05/0.121, allocations: 97.45 kB / 475.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005108/0.1215, allocations: 395.4 kB / 476.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1216, allocations: 0 / 476.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1216, allocations: 0 / 476.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1216, allocations: 0 / 476.2 MB, free: 8.977 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001147/0.1227, allocations: 0.7056 MB / 476.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.1228, allocations: 8.031 kB / 476.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.1229, allocations: 98.5 kB / 477 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.1231, allocations: 51.34 kB / 477 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.1236, allocations: 322.2 kB / 477.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.1237, allocations: 36.95 kB / 477.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.02e-05/0.1238, allocations: 44 kB / 477.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.1248, allocations: 0.6914 MB / 478.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1249, allocations: 0 / 478.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.461e-05/0.1249, allocations: 19.98 kB / 478.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.17e-05/0.125, allocations: 61.27 kB / 478.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.1261, allocations: 0.735 MB / 478.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002446/0.1285, allocations: 1.727 MB / 480.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006001/0.1291, allocations: 355.4 kB / 481 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.1292, allocations: 12.2 kB / 481 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.1292, allocations: 38.8 kB / 481.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.814e-06/0.1292, allocations: 4 kB / 481.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001022/0.1303, allocations: 0.4921 MB / 481.6 MB, free: 3.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.1303, allocations: 59.41 kB / 481.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.1308, allocations: 457.4 kB / 482.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.1309, allocations: 29.7 kB / 482.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.1311, allocations: 263.5 kB / 482.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.856e-05/0.1311, allocations: 98.58 kB / 482.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.1312, allocations: 8 kB / 482.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1313, allocations: 350.8 kB / 482.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.1316, allocations: 147.8 kB / 482.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.132, allocations: 254.4 kB / 483.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.1323, allocations: 179.8 kB / 483.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1323, allocations: 4 kB / 483.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007757/0.1331, allocations: 481.6 kB / 483.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1331, allocations: 4.469 kB / 483.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1331, allocations: 11.98 kB / 483.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1331, allocations: 8 kB / 483.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.1337, allocations: 163.8 kB / 484 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.1358, allocations: 3.61 MB / 487.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.1361, allocations: 55.38 kB / 487.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.1361, allocations: 23.98 kB / 487.7 MB, free: 12.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002439/0.1364, allocations: 214.1 kB / 487.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.1365, allocations: 51.62 kB / 488 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.1376, allocations: 0.5596 MB / 488.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.1376, allocations: 4 kB / 488.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1376, allocations: 0 / 488.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1376, allocations: 0 / 488.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005488/0.1382, allocations: 453 kB / 489 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1382, allocations: 0 / 489 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005623/0.1388, allocations: 143.8 kB / 489.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.1388, allocations: 0 / 489.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.1388, allocations: 19.98 kB / 489.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/0.1405, allocations: 3.606 MB / 492.7 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1406, allocations: 288 / 492.7 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009934/0.1416, allocations: 0.6636 MB / 493.4 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.1418, allocations: 180.4 kB / 493.6 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.795e-05/0.1419, allocations: 8 kB / 493.6 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.1421, allocations: 15.98 kB / 493.6 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.864e-05/0.1422, allocations: 27.91 kB / 493.6 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.1422, allocations: 15.98 kB / 493.7 MB, free: 6.766 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003541/0.1426, allocations: 343.1 kB / 494 MB, free: 6.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1426, allocations: 0 / 494 MB, free: 6.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005283/0.1431, allocations: 163.6 kB / 494.1 MB, free: 6.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001437/0.1445, allocations: 1.29 MB / 495.4 MB, free: 4.953 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.1457, allocations: 460.3 kB / 495.9 MB, free: 4.504 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1457, allocations: 0 / 495.9 MB, free: 4.504 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000651/0.1463, allocations: 263.6 kB / 496.1 MB, free: 4.246 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.1466, allocations: 25.56 kB / 496.2 MB, free: 4.223 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004922/0.1515, allocations: 5.267 MB / 0.4897 GB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000573/0.1521, allocations: 0.9171 MB / 0.4906 GB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003829/0.1525, allocations: 143 kB / 0.4907 GB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.1528, allocations: 167.4 kB / 0.4909 GB, free: 13.59 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1528, allocations: 0 / 0.4909 GB, free: 13.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.1758, allocations: 10.11 MB / 0.5007 GB, free: 3.746 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/0.1761, allocations: 265.8 kB / 0.501 GB, free: 3.391 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.111/2.287, allocations: 6.531 kB / 0.501 GB, free: 3.391 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat