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_idealGas_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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009574/0.0009574, allocations: 101.4 kB / 16.99 MB, free: 5.941 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.001065/0.001065, allocations: 182 kB / 17.87 MB, free: 5.609 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.456/1.456, allocations: 223.2 MB / 241.8 MB, free: 388 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.2382/0.2382, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003176, allocations: 9.125 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1419, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.00192/0.1439, allocations: 1.438 MB / 473 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1452, allocations: 0.8463 MB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.078e-05/0.1453, allocations: 3.938 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.1455, allocations: 47.8 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.1457, allocations: 55.83 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.146, allocations: 91.69 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.1462, allocations: 147.7 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.506e-05/0.1462, allocations: 29.66 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1464, allocations: 71.7 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.1465, allocations: 87.61 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.1465, allocations: 4 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.1468, allocations: 191.8 kB / 474.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.821e-05/0.1469, allocations: 59.75 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.873e-05/0.147, allocations: 57.58 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.1473, allocations: 195.9 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1473, allocations: 0 / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.287e-06/0.1473, allocations: 0 / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.1473, allocations: 3.938 kB / 474.9 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008743/0.1482, allocations: 0.495 MB / 475.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.1483, allocations: 16.02 kB / 475.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.213e-05/0.1484, allocations: 62.55 kB / 475.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009212/0.1493, allocations: 127.5 kB / 475.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.1497, allocations: 262.6 kB / 475.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.1497, allocations: 12.44 kB / 475.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.1498, allocations: 23.88 kB / 475.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000713/0.1505, allocations: 441.9 kB / 476.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.1505, allocations: 3.938 kB / 476.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.1506, allocations: 4 kB / 476.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.828e-05/0.1506, allocations: 24.55 kB / 476.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007458/0.1514, allocations: 405.9 kB / 476.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/0.1535, allocations: 1.477 MB / 478.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.1537, allocations: 94.52 kB / 478.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.1537, allocations: 4.141 kB / 478.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.1538, allocations: 42.44 kB / 478.3 MB, free: 6.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.1538, allocations: 4 kB / 478.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005581/0.1543, allocations: 201.5 kB / 478.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.1544, allocations: 55.41 kB / 478.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003448/0.1547, allocations: 334.6 kB / 478.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1548, allocations: 25.7 kB / 478.9 MB, free: 5.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.1549, allocations: 171.3 kB / 479.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.1549, allocations: 31.62 kB / 479.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/0.155, allocations: 4 kB / 479.1 MB, free: 5.746 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1551, allocations: 338.8 kB / 479.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.1553, allocations: 75.94 kB / 479.5 MB, free: 5.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.1555, allocations: 123.9 kB / 479.7 MB, free: 5.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.1558, allocations: 91.94 kB / 479.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1558, allocations: 0 / 479.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005171/0.1563, allocations: 249.2 kB / 480 MB, free: 4.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1563, allocations: 8 kB / 480 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.1563, allocations: 0 / 480 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1564, allocations: 7.938 kB / 480 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.1578, allocations: 115.8 kB / 480.1 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.1596, allocations: 1.844 MB / 482 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.1598, allocations: 35.56 kB / 482 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.1599, allocations: 12 kB / 482 MB, free: 2.762 MB / 350.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.0001667/0.1601, allocations: 158.3 kB / 482.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.1601, allocations: 19.81 kB / 482.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005169/0.1606, allocations: 223 kB / 482.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.1606, allocations: 4 kB / 482.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1606, allocations: 0 / 482.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1607, allocations: 0 / 482.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.161, allocations: 281.5 kB / 482.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.161, allocations: 0 / 482.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.1621, allocations: 91.88 kB / 482.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.1621, allocations: 3.984 kB / 482.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1621, allocations: 4 kB / 482.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.1632, allocations: 1.793 MB / 484.6 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1633, allocations: 4.094 kB / 484.6 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004198/0.1637, allocations: 275 kB / 484.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-05/0.1638, allocations: 100.8 kB / 485 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.1638, allocations: 4 kB / 485 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.164, allocations: 7.984 kB / 485 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.1641, allocations: 8 kB / 485 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.1641, allocations: 7.984 kB / 485 MB, free: 15.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002142/0.1643, allocations: 237.9 kB / 485.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1643, allocations: 0 / 485.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000338/0.1647, allocations: 71.83 kB / 485.3 MB, free: 15.33 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.0007313/0.1654, allocations: 0.8136 MB / 486.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002176/0.1676, allocations: 271.7 kB / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1676, allocations: 0 / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009299/0.1685, allocations: 112.1 kB / 486.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.1688, allocations: 55.02 kB / 486.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.1714, allocations: 2.526 MB / 489.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.1717, allocations: 0.783 MB / 489.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001353/0.1719, allocations: 50.25 kB / 489.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.172, allocations: 71.42 kB / 490 MB, free: 10.53 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.172, allocations: 4 kB / 490 MB, free: 10.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.1902, allocations: 7.052 MB / 497 MB, free: 3.758 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.1904, allocations: 255.3 kB / 497.3 MB, free: 3.426 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.071/2.261, allocations: 0 / 497.3 MB, free: 3.426 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat