Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.0009685/0.0009687, allocations: 96.53 kB / 17 MB, free: 6.797 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.001139/0.001139, allocations: 181.7 kB / 17.89 MB, free: 6.055 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.45/1.45, allocations: 223.2 MB / 241.9 MB, free: 320 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.2431/0.2431, allocations: 44.22 MB / 337.2 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003988/0.0003989, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1596, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002821/0.1625, allocations: 1.492 MB / 473.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1636, allocations: 0.5884 MB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.1638, allocations: 0 / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.1641, allocations: 43.81 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.1643, allocations: 63.59 kB / 473.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.1648, allocations: 95.67 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.1652, allocations: 270.7 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.227e-05/0.1653, allocations: 20.31 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1655, allocations: 79.58 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.1657, allocations: 107.5 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.1657, allocations: 8 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004469/0.1662, allocations: 215.8 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.484e-05/0.1663, allocations: 51.75 kB / 474.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.548e-05/0.1664, allocations: 61.58 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.1668, allocations: 231.5 kB / 475 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1668, allocations: 0 / 475 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1668, allocations: 0 / 475 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.1668, allocations: 0 / 475 MB, free: 10.31 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007527/0.1675, allocations: 0.4914 MB / 475.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.1676, allocations: 8.031 kB / 475.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.201e-05/0.1677, allocations: 58.55 kB / 475.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.1695, allocations: 203.3 kB / 475.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.1699, allocations: 270.7 kB / 476 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.17, allocations: 24.52 kB / 476 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.843e-05/0.1701, allocations: 19.98 kB / 476 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.1711, allocations: 0.4966 MB / 476.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1711, allocations: 0 / 476.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.1712, allocations: 12 kB / 476.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.162e-05/0.1713, allocations: 28.53 kB / 476.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.1725, allocations: 0.5915 MB / 477.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.175, allocations: 1.189 MB / 478.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006217/0.1757, allocations: 174.4 kB / 478.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.176, allocations: 92.77 kB / 478.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.176, allocations: 0 / 478.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.1761, allocations: 34.56 kB / 478.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.1761, allocations: 0 / 478.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.001187/0.1773, allocations: 317.1 kB / 479 MB, free: 6.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.1773, allocations: 51.41 kB / 479 MB, free: 6.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/0.1778, allocations: 290.4 kB / 479.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.1778, allocations: 29.7 kB / 479.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.1779, allocations: 163.7 kB / 479.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.178, allocations: 31.64 kB / 479.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.594e-05/0.178, allocations: 0 / 479.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.1782, allocations: 334.8 kB / 479.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003327/0.1785, allocations: 95.89 kB / 479.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.1789, allocations: 119.3 kB / 480 MB, free: 4.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.1792, allocations: 107.8 kB / 480.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1792, allocations: 0 / 480.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000774/0.18, allocations: 269.2 kB / 480.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.18, allocations: 4.094 kB / 480.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1801, allocations: 7.984 kB / 480.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1801, allocations: 4 kB / 480.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005477/0.1856, allocations: 463.3 kB / 480.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002645/0.1882, allocations: 1.949 MB / 482.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000394/0.1886, allocations: 51.84 kB / 482.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.1887, allocations: 7.984 kB / 482.9 MB, free: 2.039 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002078/0.1889, allocations: 162.2 kB / 483 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.189, allocations: 15.81 kB / 483.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.223e-05/0.189, allocations: 25.7 kB / 483.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.768e-06/0.189, allocations: 4 kB / 483.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.1891, allocations: 0 / 483.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1891, allocations: 3.938 kB / 483.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003943/0.1895, allocations: 301.3 kB / 483.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1895, allocations: 4 kB / 483.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005165/0.1947, allocations: 447.3 kB / 483.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.1947, allocations: 8 kB / 483.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.1947, allocations: 3.984 kB / 483.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002547/0.1973, allocations: 1.945 MB / 485.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.077e-05/0.1973, allocations: 4.031 kB / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007671/0.1981, allocations: 335.1 kB / 486.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.269e-05/0.1981, allocations: 92.91 kB / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.1982, allocations: 4 kB / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/0.1985, allocations: 23.97 kB / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.1986, allocations: 11.97 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.1986, allocations: 4 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002018/0.1988, allocations: 209.9 kB / 486.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1989, allocations: 0 / 486.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004017/0.1993, allocations: 71.84 kB / 486.5 MB, free: 14.24 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001211/0.2005, allocations: 0.8799 MB / 487.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005623/0.2061, allocations: 0.6085 MB / 488 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.2061, allocations: 4 kB / 488 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005078/0.2112, allocations: 495.4 kB / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.2117, allocations: 44.53 kB / 488.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/0.215, allocations: 1.69 MB / 490.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.2153, allocations: 0.7753 MB / 491 MB, free: 9.629 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001935/0.2155, allocations: 54.05 kB / 491.1 MB, free: 9.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.2157, allocations: 67.41 kB / 491.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.2157, allocations: 0 / 491.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/0.2366, allocations: 7.215 MB / 498.3 MB, free: 2.605 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002701/0.2369, allocations: 279.2 kB / 498.6 MB, free: 2.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/2.517, allocations: 0 / 498.6 MB, free: 2.25 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat