Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001176/0.001176, allocations: 93.05 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 205 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.242/0.242, allocations: 45.92 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002631/0.0002632, allocations: 8 kB / 418.1 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1558, allocations: 63.47 MB / 481.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002106/0.158, allocations: 1.478 MB / 483 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009862/0.159, allocations: 0.5535 MB / 483.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.54e-05/0.1591, allocations: 8 kB / 483.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.1593, allocations: 43.8 kB / 483.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.1595, allocations: 51.83 kB / 483.7 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.1598, allocations: 91.73 kB / 483.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.16, allocations: 155.6 kB / 483.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.597e-05/0.1601, allocations: 28.3 kB / 483.9 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.513e-05/0.1602, allocations: 67.7 kB / 484 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.1603, allocations: 83.56 kB / 484.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1603, allocations: 4 kB / 484.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003614/0.1607, allocations: 223.8 kB / 484.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.1608, allocations: 47.83 kB / 484.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.626e-05/0.1609, allocations: 61.52 kB / 484.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.1612, allocations: 215.8 kB / 484.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1612, allocations: 0 / 484.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1612, allocations: 0 / 484.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1612, allocations: 0 / 484.6 MB, free: 2.152 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.0006498/0.1619, allocations: 499.2 kB / 485.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1619, allocations: 12.03 kB / 485.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.232e-05/0.162, allocations: 62.53 kB / 485.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.1637, allocations: 203.3 kB / 485.4 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.164, allocations: 266.7 kB / 485.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.1641, allocations: 20.55 kB / 485.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.1641, allocations: 20 kB / 485.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009553/0.1651, allocations: 0.4966 MB / 486.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1651, allocations: 0 / 486.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/0.1652, allocations: 12 kB / 486.2 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.826e-05/0.1652, allocations: 28.55 kB / 486.2 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.1665, allocations: 0.5915 MB / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.1689, allocations: 1.17 MB / 488 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006478/0.1695, allocations: 174.4 kB / 488.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1696, allocations: 4.141 kB / 488.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.1696, allocations: 30.56 kB / 488.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.1696, allocations: 4 kB / 488.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.001271/0.1709, allocations: 313.1 kB / 488.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.1709, allocations: 55.41 kB / 488.6 MB, free: 14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.1712, allocations: 282.4 kB / 488.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.1713, allocations: 37.7 kB / 488.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.1714, allocations: 163.5 kB / 489 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.1715, allocations: 31.58 kB / 489.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/0.1715, allocations: 0 / 489.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1716, allocations: 334.8 kB / 489.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.172, allocations: 91.89 kB / 489.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.1724, allocations: 123.3 kB / 489.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.1727, allocations: 107.8 kB / 489.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1728, allocations: 0 / 489.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008237/0.1736, allocations: 269.3 kB / 490 MB, free: 12.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.1736, allocations: 8 kB / 490 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1736, allocations: 4.25 kB / 490 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1737, allocations: 0 / 490 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005761/0.1794, allocations: 471.3 kB / 490.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002831/0.1823, allocations: 1.941 MB / 492.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004591/0.1828, allocations: 55.62 kB / 492.4 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.1828, allocations: 7.984 kB / 492.4 MB, free: 9.992 MB / 366.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.0002104/0.183, allocations: 161.7 kB / 492.6 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.1831, allocations: 19.91 kB / 492.6 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.803e-05/0.1831, allocations: 29.7 kB / 492.6 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.1832, allocations: 0 / 492.6 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.1832, allocations: 0 / 492.6 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1832, allocations: 3.938 kB / 492.6 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.1836, allocations: 293.4 kB / 492.9 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1836, allocations: 0 / 492.9 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005628/0.1892, allocations: 459.3 kB / 493.4 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.1892, allocations: 3.984 kB / 493.4 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.1893, allocations: 7.984 kB / 493.4 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002698/0.192, allocations: 1.938 MB / 495.3 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.192, allocations: 4.031 kB / 495.3 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008358/0.1929, allocations: 335 kB / 495.7 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.985e-05/0.193, allocations: 96.91 kB / 495.8 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.246e-05/0.193, allocations: 8.094 kB / 495.8 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.1934, allocations: 23.91 kB / 495.8 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.1935, allocations: 11.97 kB / 495.8 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.1935, allocations: 7.984 kB / 495.8 MB, free: 6.457 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002129/0.1937, allocations: 205.9 kB / 496 MB, free: 6.254 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1937, allocations: 0 / 496 MB, free: 6.254 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003794/0.1941, allocations: 75.84 kB / 496.1 MB, free: 6.18 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.001209/0.1953, allocations: 0.8764 MB / 497 MB, free: 5.277 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00598/0.2013, allocations: 0.6085 MB / 497.6 MB, free: 4.668 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.2013, allocations: 0 / 497.6 MB, free: 4.668 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005453/0.2068, allocations: 499.4 kB / 498.1 MB, free: 4.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.2072, allocations: 44.53 kB / 498.1 MB, free: 4.137 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.2106, allocations: 2.128 MB / 0.4885 GB, free: 1.934 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.211, allocations: 0.7869 MB / 0.4893 GB, free: 1.121 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.2112, allocations: 54.05 kB / 0.4893 GB, free: 1.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.2113, allocations: 67.41 kB / 0.4894 GB, free: 1.004 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2113, allocations: 0 / 0.4894 GB, free: 1.004 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.2313, allocations: 7.204 MB / 0.4964 GB, free: 10.09 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002647/0.2316, allocations: 276.1 kB / 0.4967 GB, free: 9.727 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/2.285, allocations: 0 / 0.4967 GB, free: 9.727 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat