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.0007541/0.0007541, allocations: 101.7 kB / 17 MB, free: 6.414 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.0008204/0.0008205, allocations: 187.9 kB / 17.89 MB, free: 5.945 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.378/1.378, allocations: 223.3 MB / 241.9 MB, free: 232 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.1924/0.1924, allocations: 44.22 MB / 337.2 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003759, allocations: 8 kB / 409.7 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1441, allocations: 61.93 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002927/0.1471, allocations: 1.489 MB / 473.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.1492, allocations: 1.24 MB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.113e-05/0.1493, allocations: 0 / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.1496, allocations: 47.73 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.1498, allocations: 79.58 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.1503, allocations: 187.1 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004543/0.1508, allocations: 417.8 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1509, allocations: 44.72 kB / 475.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.1511, allocations: 151.2 kB / 475.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.1515, allocations: 179.2 kB / 475.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.1515, allocations: 12 kB / 475.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007944/0.1523, allocations: 435.1 kB / 475.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.1525, allocations: 127.5 kB / 476 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.521e-05/0.1526, allocations: 93.39 kB / 476.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000552/0.1532, allocations: 419.2 kB / 476.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1532, allocations: 0 / 476.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1532, allocations: 0 / 476.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.1532, allocations: 0 / 476.5 MB, free: 8.703 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.001067/0.1543, allocations: 0.7056 MB / 477.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.1543, allocations: 8.031 kB / 477.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000123/0.1545, allocations: 102.5 kB / 477.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.98e-05/0.1545, allocations: 47.34 kB / 477.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.155, allocations: 314.3 kB / 477.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.155, allocations: 40.89 kB / 477.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.367e-05/0.1551, allocations: 47.92 kB / 477.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.1561, allocations: 0.6953 MB / 478.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1561, allocations: 0 / 478.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.1562, allocations: 20 kB / 478.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.717e-05/0.1562, allocations: 53.28 kB / 478.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.1573, allocations: 0.7351 MB / 479.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002253/0.1596, allocations: 1.696 MB / 481 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005961/0.1602, allocations: 363.4 kB / 481.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.1604, allocations: 149.2 kB / 481.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.965e-05/0.1605, allocations: 12.22 kB / 481.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.1605, allocations: 34.73 kB / 481.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.665e-06/0.1605, allocations: 0 / 481.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009878/0.1615, allocations: 0.5034 MB / 482 MB, free: 2.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.1616, allocations: 51.41 kB / 482.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.1621, allocations: 457.4 kB / 482.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.1621, allocations: 33.7 kB / 482.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.1623, allocations: 259.5 kB / 482.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.184e-05/0.1624, allocations: 106.6 kB / 482.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/0.1624, allocations: 4 kB / 482.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1626, allocations: 350.8 kB / 483.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.1628, allocations: 139.9 kB / 483.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.1632, allocations: 266.3 kB / 483.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.1635, allocations: 187.8 kB / 483.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.1635, allocations: 4 kB / 483.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007748/0.1643, allocations: 485.6 kB / 484.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1644, allocations: 7.984 kB / 484.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.1644, allocations: 4 kB / 484.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.1644, allocations: 8 kB / 484.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005679/0.165, allocations: 164.2 kB / 484.5 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/0.1669, allocations: 3.61 MB / 488.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.1672, allocations: 63.64 kB / 488.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.1672, allocations: 23.98 kB / 488.2 MB, free: 12.54 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.0002602/0.1675, allocations: 222.1 kB / 488.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.1676, allocations: 35.53 kB / 488.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.1687, allocations: 0.552 MB / 489 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.1687, allocations: 4 kB / 489 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1687, allocations: 0 / 489 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1687, allocations: 0 / 489 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006004/0.1693, allocations: 457 kB / 489.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.1694, allocations: 7.953 kB / 489.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005324/0.1699, allocations: 139.9 kB / 489.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1699, allocations: 0 / 489.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.17, allocations: 16 kB / 489.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/0.1719, allocations: 3.61 MB / 493.2 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1719, allocations: 4.281 kB / 493.2 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.173, allocations: 0.6676 MB / 493.9 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.1732, allocations: 164.4 kB / 494.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.714e-05/0.1732, allocations: 8 kB / 494.1 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.1734, allocations: 15.98 kB / 494.1 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.1735, allocations: 27.91 kB / 494.1 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.1735, allocations: 16 kB / 494.1 MB, free: 6.367 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004086/0.1739, allocations: 339.1 kB / 494.5 MB, free: 6.035 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.174, allocations: 0 / 494.5 MB, free: 6.035 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006/0.1746, allocations: 167.7 kB / 494.6 MB, free: 5.871 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.001608/0.1762, allocations: 1.306 MB / 495.9 MB, free: 4.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.1773, allocations: 448.6 kB / 496.4 MB, free: 4.102 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1773, allocations: 0 / 496.4 MB, free: 4.102 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006122/0.1779, allocations: 255.8 kB / 496.6 MB, free: 3.852 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.1783, allocations: 33.56 kB / 496.7 MB, free: 3.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004511/0.1828, allocations: 3.06 MB / 499.7 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.1834, allocations: 0.9015 MB / 0.4889 GB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003884/0.1838, allocations: 143 kB / 0.489 GB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.184, allocations: 163.4 kB / 0.4892 GB, free: 15.44 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1841, allocations: 0 / 0.4892 GB, free: 15.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03059/0.2147, allocations: 10.28 MB / 0.4992 GB, free: 5.43 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003426/0.215, allocations: 271.3 kB / 0.4995 GB, free: 5.074 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/2.504, allocations: 0 / 0.4995 GB, free: 5.074 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