Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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.001316/0.001316, allocations: 92.12 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00157/0.00157, allocations: 205.5 kB / 17.9 MB, free: 5.594 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.215/0.215, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002883/0.0002883, allocations: 8 kB / 418.1 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1456, allocations: 63.47 MB / 481.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.00311/0.1488, allocations: 1.463 MB / 483 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1506, allocations: 0.7214 MB / 483.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.272e-05/0.1507, allocations: 4 kB / 483.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.151, allocations: 35.81 kB / 483.8 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.1512, allocations: 55.78 kB / 483.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.1514, allocations: 55.84 kB / 483.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.1516, allocations: 83.81 kB / 484 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.872e-05/0.1517, allocations: 4 kB / 484 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.1519, allocations: 51.83 kB / 484 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.152, allocations: 59.8 kB / 484.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.152, allocations: 4 kB / 484.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.1522, allocations: 71.89 kB / 484.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.549e-05/0.1523, allocations: 31.89 kB / 484.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.747e-05/0.1523, allocations: 37.64 kB / 484.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.1526, allocations: 92.08 kB / 484.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1526, allocations: 4 kB / 484.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.1526, allocations: 0 / 484.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1526, allocations: 0 / 484.3 MB, free: 2.441 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006894/0.1533, allocations: 391 kB / 484.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.1533, allocations: 12.03 kB / 484.7 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.229e-05/0.1534, allocations: 42.55 kB / 484.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000371/0.1538, allocations: 39.88 kB / 484.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.154, allocations: 186.9 kB / 485 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.154, allocations: 15.92 kB / 485 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.1541, allocations: 12 kB / 485 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004008/0.1545, allocations: 176.1 kB / 485.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1545, allocations: 0 / 485.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/0.1545, allocations: 12 kB / 485.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.933e-05/0.1546, allocations: 15.92 kB / 485.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003354/0.1549, allocations: 139.8 kB / 485.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.156, allocations: 0.6484 MB / 486 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.1564, allocations: 122.6 kB / 486.1 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.1564, allocations: 0 / 486.1 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.1565, allocations: 34.56 kB / 486.1 MB, free: 428 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.1565, allocations: 4 kB / 486.1 MB, free: 424 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005406/0.157, allocations: 149.5 kB / 486.3 MB, free: 268 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.1571, allocations: 55.41 kB / 486.3 MB, free: 200 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.1572, allocations: 130.1 kB / 486.5 MB, free: 56 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.1572, allocations: 25.7 kB / 486.5 MB, free: 24 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1574, allocations: 123.8 kB / 486.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.1574, allocations: 23.64 kB / 486.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/0.1574, allocations: 8 kB / 486.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1576, allocations: 314.8 kB / 487 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.1577, allocations: 51.95 kB / 487 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.1579, allocations: 87.7 kB / 487.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.158, allocations: 56.06 kB / 487.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.158, allocations: 0 / 487.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003305/0.1584, allocations: 177.3 kB / 487.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1584, allocations: 4.25 kB / 487.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1584, allocations: 8 kB / 487.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1584, allocations: 0 / 487.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.1586, allocations: 47.97 kB / 487.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1586, allocations: 3.938 kB / 487.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.1587, allocations: 23.83 kB / 487.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1587, allocations: 4 kB / 487.4 MB, free: 15.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.1589, allocations: 133.8 kB / 487.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.1589, allocations: 4 kB / 487.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003556/0.1592, allocations: 129.9 kB / 487.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.1593, allocations: 0 / 487.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1593, allocations: 4 kB / 487.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1593, allocations: 3.984 kB / 487.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.1595, allocations: 201.5 kB / 487.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.1595, allocations: 4 kB / 487.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.1597, allocations: 35.91 kB / 487.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.1597, allocations: 7.938 kB / 487.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.1597, allocations: 0 / 487.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1597, allocations: 0 / 487.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1597, allocations: 4 kB / 487.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.1601, allocations: 215.3 kB / 488.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.1602, allocations: 88.98 kB / 488.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.1602, allocations: 12 kB / 488.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.889e-05/0.1604, allocations: 4 kB / 488.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.1604, allocations: 11.98 kB / 488.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1604, allocations: 0 / 488.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.612e-05/0.1605, allocations: 95.27 kB / 488.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1605, allocations: 0 / 488.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.1608, allocations: 27.91 kB / 488.4 MB, free: 14 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007262/0.1615, allocations: 0.768 MB / 489.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003303/0.1619, allocations: 103.9 kB / 489.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1619, allocations: 0.5 kB / 489.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.162, allocations: 51.91 kB / 489.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.1622, allocations: 4 kB / 489.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.1641, allocations: 1.958 MB / 491.3 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.1645, allocations: 0.7238 MB / 492 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.1646, allocations: 28.45 kB / 492 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-05/0.1646, allocations: 23.44 kB / 492 MB, free: 10.2 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1646, allocations: 4 kB / 492 MB, free: 10.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01387/0.1785, allocations: 1.982 MB / 494 MB, free: 8.43 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/0.1788, allocations: 232.8 kB / 494.2 MB, free: 8.191 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/1.963, allocations: 0 / 494.2 MB, free: 8.191 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat