Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_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.0009491/0.0009491, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001225/0.001225, allocations: 193.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246 MB, free: 10.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2368/0.2368, allocations: 45.92 MB / 344.1 MB, free: 11.95 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002961, allocations: 8 kB / 418.2 MB, free: 20.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1436, allocations: 63.48 MB / 481.7 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002367/0.1461, allocations: 1.51 MB / 483.2 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002408/0.1485, allocations: 1.556 MB / 484.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.023e-05/0.1486, allocations: 0 / 484.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.1489, allocations: 35.77 kB / 484.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.1492, allocations: 79.64 kB / 484.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007727/0.1499, allocations: 355.1 kB / 485.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003284/0.1503, allocations: 270.7 kB / 485.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.492e-05/0.1504, allocations: 28.39 kB / 485.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.1506, allocations: 95.56 kB / 485.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.1508, allocations: 119.5 kB / 485.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.1508, allocations: 8 kB / 485.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009995/0.1518, allocations: 0.6782 MB / 486.4 MB, free: 472 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.309e-05/0.1519, allocations: 67.69 kB / 486.4 MB, free: 404 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.322e-05/0.152, allocations: 61.58 kB / 486.5 MB, free: 336 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005688/0.1526, allocations: 383.5 kB / 486.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1526, allocations: 3.938 kB / 486.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.1526, allocations: 0 / 486.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1526, allocations: 0 / 486.9 MB, free: 15.95 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009504/0.1536, allocations: 0.5808 MB / 487.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.1536, allocations: 8.031 kB / 487.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.393e-05/0.1537, allocations: 78.47 kB / 487.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.572e-05/0.1538, allocations: 39.48 kB / 487.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.1541, allocations: 242.6 kB / 487.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-05/0.1542, allocations: 24.55 kB / 487.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.1542, allocations: 20 kB / 487.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007873/0.155, allocations: 467.3 kB / 488.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.155, allocations: 0 / 488.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.1551, allocations: 15.98 kB / 488.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.808e-05/0.1552, allocations: 48.97 kB / 488.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008454/0.156, allocations: 0.5581 MB / 488.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.1582, allocations: 1.307 MB / 490.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/0.1588, allocations: 282.4 kB / 490.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.159, allocations: 100.8 kB / 490.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.891e-05/0.1591, allocations: 11.98 kB / 490.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.1591, allocations: 34.56 kB / 490.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.723e-06/0.1591, allocations: 0 / 490.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007681/0.1599, allocations: 353.1 kB / 491 MB, free: 11.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.16, allocations: 55.41 kB / 491.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.1601, allocations: 141.9 kB / 491.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.1601, allocations: 33.7 kB / 491.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.1603, allocations: 192.2 kB / 491.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.122e-05/0.1604, allocations: 82.75 kB / 491.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/0.1604, allocations: 8 kB / 491.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.1606, allocations: 326.8 kB / 491.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.1608, allocations: 87.92 kB / 491.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.1611, allocations: 189.9 kB / 492.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.1613, allocations: 123.9 kB / 492.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1613, allocations: 4 kB / 492.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006059/0.1619, allocations: 325.1 kB / 492.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.162, allocations: 8 kB / 492.6 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.162, allocations: 0 / 492.6 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.162, allocations: 4 kB / 492.6 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004703/0.1625, allocations: 132.2 kB / 492.7 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.1639, allocations: 2.36 MB / 495.1 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.1641, allocations: 39.62 kB / 495.1 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.1641, allocations: 20 kB / 495.1 MB, free: 7.285 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002355/0.1644, allocations: 181.8 kB / 495.3 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.1644, allocations: 15.81 kB / 495.3 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008448/0.1653, allocations: 366.4 kB / 495.7 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1653, allocations: 0 / 495.7 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.1653, allocations: 0 / 495.7 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1653, allocations: 8 kB / 495.7 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.1658, allocations: 353.2 kB / 496 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1658, allocations: 0 / 496 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004326/0.1662, allocations: 111.9 kB / 496.1 MB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1662, allocations: 0 / 496.1 MB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.1663, allocations: 8 kB / 496.1 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.1676, allocations: 2.364 MB / 498.5 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1676, allocations: 3.984 kB / 498.5 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005601/0.1682, allocations: 376.5 kB / 498.9 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.1682, allocations: 96.95 kB / 499 MB, free: 3.242 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.1683, allocations: 15.94 kB / 499 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.1684, allocations: 15.94 kB / 499 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.1685, allocations: 23.97 kB / 499 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.1685, allocations: 8 kB / 499 MB, free: 3.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.704e-05/0.1686, allocations: 102.2 kB / 499.1 MB, free: 3.082 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1686, allocations: 0 / 499.1 MB, free: 3.082 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005941/0.1692, allocations: 171.6 kB / 499.3 MB, free: 2.914 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001302/0.1705, allocations: 1.04 MB / 0.4886 GB, free: 1.848 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007581/0.1713, allocations: 300.9 kB / 0.4889 GB, free: 1.555 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1713, allocations: 0 / 0.4889 GB, free: 1.555 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004485/0.1718, allocations: 192.3 kB / 0.4891 GB, free: 1.367 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.1721, allocations: 19.45 kB / 0.4891 GB, free: 1.352 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.1746, allocations: 1.469 MB / 0.4905 GB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000543/0.1751, allocations: 0.8026 MB / 0.4913 GB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003144/0.1754, allocations: 101.7 kB / 0.4914 GB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.1756, allocations: 91.39 kB / 0.4915 GB, free: 14.78 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1756, allocations: 0 / 0.4915 GB, free: 14.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.1969, allocations: 6.581 MB / 0.4979 GB, free: 8.461 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002395/0.1972, allocations: 271.6 kB / 0.4982 GB, free: 8.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.149/2.346, allocations: 0 / 0.4982 GB, free: 8.102 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat