Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.0008452/0.0008451, allocations: 98.58 kB / 17.01 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001028/0.001028, allocations: 193.8 kB / 17.91 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 246 MB, free: 11.95 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2165/0.2165, allocations: 45.91 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.0002762, allocations: 11.94 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.126, allocations: 63.46 MB / 481.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.002007/0.128, allocations: 1.474 MB / 483.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1294, allocations: 0.9201 MB / 484.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.1295, allocations: 0 / 484.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.1297, allocations: 47.69 kB / 484.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.1299, allocations: 59.66 kB / 484.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.1302, allocations: 99.69 kB / 484.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.1305, allocations: 226.8 kB / 484.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.547e-05/0.1305, allocations: 17.69 kB / 484.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1306, allocations: 79.64 kB / 484.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.1308, allocations: 99.55 kB / 484.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.1308, allocations: 8 kB / 484.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000334/0.1312, allocations: 195.7 kB / 484.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.949e-05/0.1313, allocations: 59.73 kB / 484.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.421e-05/0.1314, allocations: 57.58 kB / 485 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.1316, allocations: 207.7 kB / 485.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1317, allocations: 0 / 485.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1317, allocations: 0 / 485.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1317, allocations: 0 / 485.2 MB, free: 1.707 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007472/0.1324, allocations: 0.5028 MB / 485.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1325, allocations: 12.03 kB / 485.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.077e-05/0.1325, allocations: 58.48 kB / 485.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007492/0.1333, allocations: 135.5 kB / 485.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.1336, allocations: 265.3 kB / 486.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.1337, allocations: 12.44 kB / 486.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/0.1337, allocations: 20 kB / 486.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006469/0.1344, allocations: 437.9 kB / 486.6 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1344, allocations: 0 / 486.6 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.1344, allocations: 8 kB / 486.6 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.215e-05/0.1345, allocations: 28.55 kB / 486.6 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007141/0.1352, allocations: 401.9 kB / 487 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.1372, allocations: 1.477 MB / 488.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.1374, allocations: 106.5 kB / 488.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.1376, allocations: 60.8 kB / 488.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.1376, allocations: 4.141 kB / 488.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.1376, allocations: 34.56 kB / 488.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.1376, allocations: 0 / 488.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005603/0.1382, allocations: 201.3 kB / 488.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.1383, allocations: 51.41 kB / 489 MB, free: 13.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00039/0.1387, allocations: 334.5 kB / 489.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.1387, allocations: 29.7 kB / 489.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.1388, allocations: 175.3 kB / 489.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.989e-05/0.1389, allocations: 27.64 kB / 489.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/0.1389, allocations: 8 kB / 489.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1391, allocations: 338.7 kB / 489.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.1393, allocations: 71.94 kB / 489.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.1395, allocations: 125.9 kB / 490 MB, free: 12.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.1397, allocations: 87.94 kB / 490.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1397, allocations: 4 kB / 490.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005091/0.1403, allocations: 253.3 kB / 490.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1403, allocations: 4 kB / 490.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1403, allocations: 4 kB / 490.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.1403, allocations: 4 kB / 490.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.1417, allocations: 119.8 kB / 490.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.1436, allocations: 1.848 MB / 492.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.1439, allocations: 35.59 kB / 492.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.1439, allocations: 8 kB / 492.4 MB, free: 10.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * 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.0001582/0.1441, allocations: 157.8 kB / 492.6 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.1441, allocations: 15.81 kB / 492.6 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005178/0.1447, allocations: 215.1 kB / 492.8 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1447, allocations: 0 / 492.8 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1447, allocations: 11.89 kB / 492.8 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1447, allocations: 4 kB / 492.8 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.145, allocations: 269.5 kB / 493.1 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.145, allocations: 0 / 493.1 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.1461, allocations: 99.88 kB / 493.2 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1461, allocations: 3.938 kB / 493.2 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.1461, allocations: 0 / 493.2 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.1474, allocations: 1.793 MB / 495 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1474, allocations: 4.234 kB / 495 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004283/0.1478, allocations: 267.2 kB / 495.2 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.845e-05/0.1479, allocations: 96.81 kB / 495.3 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.148, allocations: 4 kB / 495.3 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.1481, allocations: 15.98 kB / 495.3 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.1482, allocations: 11.92 kB / 495.3 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1482, allocations: 7.953 kB / 495.4 MB, free: 6.965 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002408/0.1485, allocations: 241.9 kB / 495.6 MB, free: 6.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1485, allocations: 0 / 495.6 MB, free: 6.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003463/0.1488, allocations: 75.83 kB / 495.7 MB, free: 6.656 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 (11): * 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): 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.000781/0.1496, allocations: 0.8064 MB / 496.5 MB, free: 5.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002039/0.1517, allocations: 271.5 kB / 496.7 MB, free: 5.555 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1517, allocations: 0 / 496.7 MB, free: 5.555 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008812/0.1526, allocations: 111.9 kB / 496.8 MB, free: 5.445 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.153, allocations: 49.78 kB / 496.9 MB, free: 5.395 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.1554, allocations: 1.629 MB / 498.5 MB, free: 3.703 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.1558, allocations: 0.7869 MB / 499.3 MB, free: 2.891 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000148/0.156, allocations: 54.19 kB / 499.4 MB, free: 2.836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.1561, allocations: 67.42 kB / 499.4 MB, free: 2.773 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1561, allocations: 0 / 499.4 MB, free: 2.773 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.1767, allocations: 7.079 MB / 0.4946 GB, free: 11.97 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003808/0.1771, allocations: 263.6 kB / 0.4949 GB, free: 11.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.133/2.31, allocations: 4 kB / 0.4949 GB, free: 11.61 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat