Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_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.001019/0.001018, allocations: 94.09 kB / 16.99 MB, free: 5.941 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.001478/0.001478, allocations: 181.3 kB / 17.88 MB, free: 5.609 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.444/1.444, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2447/0.2447, allocations: 44.23 MB / 337.1 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003512, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 61.91 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.002762/0.1412, allocations: 1.774 MB / 473.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005267/0.1464, allocations: 2.859 MB / 476.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.1467, allocations: 0 / 476.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005453/0.1473, allocations: 83.59 kB / 476.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004991/0.1478, allocations: 123.6 kB / 476.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.15, allocations: 0.76 MB / 477.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005687/0.1506, allocations: 415 kB / 477.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.1507, allocations: 77.73 kB / 477.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002903/0.151, allocations: 210.9 kB / 477.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.1513, allocations: 234.9 kB / 478.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.065e-05/0.1514, allocations: 16 kB / 478.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002624/0.154, allocations: 1.934 MB / 480 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.1541, allocations: 115.5 kB / 480.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.1543, allocations: 125.3 kB / 480.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.1556, allocations: 0.9945 MB / 481.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1556, allocations: 4 kB / 481.3 MB, free: 3.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1556, allocations: 4 kB / 481.3 MB, free: 3.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1556, allocations: 0 / 481.3 MB, free: 3.891 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001545/0.1572, allocations: 0.9091 MB / 482.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1572, allocations: 8.031 kB / 482.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000157/0.1574, allocations: 151.9 kB / 482.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.1575, allocations: 75.06 kB / 482.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005241/0.1581, allocations: 354 kB / 482.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/0.1581, allocations: 57.95 kB / 482.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.1582, allocations: 79.98 kB / 482.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.1599, allocations: 1.218 MB / 484.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.1599, allocations: 0 / 484.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.272e-05/0.16, allocations: 27.98 kB / 484.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.094e-05/0.1601, allocations: 81.95 kB / 484.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002371/0.1625, allocations: 1.729 MB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004352/0.1668, allocations: 2.966 MB / 488.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008529/0.1677, allocations: 431.7 kB / 489.3 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.259e-05/0.1677, allocations: 8.266 kB / 489.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.461e-05/0.1678, allocations: 38.84 kB / 489.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.084e-06/0.1678, allocations: 0 / 489.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009566/0.1688, allocations: 499.7 kB / 489.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.1688, allocations: 55.41 kB / 489.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.169, allocations: 210.9 kB / 490.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.1691, allocations: 33.7 kB / 490.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.1693, allocations: 382.2 kB / 490.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.351e-05/0.1694, allocations: 122.3 kB / 490.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/0.1694, allocations: 4 kB / 490.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1695, allocations: 338.8 kB / 491 MB, free: 9.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.1698, allocations: 149 kB / 491.1 MB, free: 9.695 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/0.1702, allocations: 354.3 kB / 491.5 MB, free: 9.258 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/0.1706, allocations: 207.8 kB / 491.7 MB, free: 9.055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1707, allocations: 7.938 kB / 491.7 MB, free: 9.047 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009454/0.1716, allocations: 0.5484 MB / 492.2 MB, free: 8.492 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.1716, allocations: 8.844 kB / 492.2 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.855e-05/0.1717, allocations: 8 kB / 492.2 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.1717, allocations: 15.94 kB / 492.3 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007559/0.1725, allocations: 207.8 kB / 492.5 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.1743, allocations: 3.004 MB / 495.5 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.1747, allocations: 59.52 kB / 495.5 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/0.1747, allocations: 31.98 kB / 495.6 MB, free: 5.047 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005306/0.1753, allocations: 265.5 kB / 495.8 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.083e-05/0.1754, allocations: 27.67 kB / 495.8 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.1767, allocations: 0.5776 MB / 496.4 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1767, allocations: 4 kB / 496.4 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1767, allocations: 0 / 496.4 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.1767, allocations: 3.984 kB / 496.4 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.1786, allocations: 1.184 MB / 497.6 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.1786, allocations: 4 kB / 497.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000623/0.1792, allocations: 180.1 kB / 497.8 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/0.1792, allocations: 4 kB / 497.8 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.1793, allocations: 16 kB / 497.8 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/0.1809, allocations: 2.965 MB / 0.489 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1809, allocations: 3.938 kB / 0.489 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006855/0.1816, allocations: 0.5949 MB / 0.4896 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.907e-05/0.1817, allocations: 108.7 kB / 0.4897 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/0.1817, allocations: 8 kB / 0.4897 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.1819, allocations: 23.98 kB / 0.4898 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.182, allocations: 35.91 kB / 0.4898 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.182, allocations: 24 kB / 0.4898 GB, free: 14.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.1821, allocations: 131.2 kB / 0.4899 GB, free: 14.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1821, allocations: 0 / 0.4899 GB, free: 14.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001141/0.1833, allocations: 354.7 kB / 0.4903 GB, free: 14.24 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 simulation (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001744/0.185, allocations: 1.924 MB / 0.4922 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.1861, allocations: 0.4891 MB / 0.4926 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.1862, allocations: 0 / 0.4926 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006026/0.1868, allocations: 259.6 kB / 0.4929 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.187, allocations: 28.67 kB / 0.4929 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00473/0.1918, allocations: 6.904 MB / 0.4996 GB, free: 4.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005174/0.1923, allocations: 1.003 MB / 0.5006 GB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004994/0.1928, allocations: 158.6 kB / 0.5008 GB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.1931, allocations: 215.3 kB / 0.501 GB, free: 2.969 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1931, allocations: 0 / 0.501 GB, free: 2.969 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2269/0.42, allocations: 11.74 MB / 0.5124 GB, free: 46.65 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/0.4202, allocations: 270.9 kB / 0.5127 GB, free: 46.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.437, allocations: 0 / 0.5127 GB, free: 46.29 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat