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.0009722/0.0009723, allocations: 92.73 kB / 17 MB, free: 6.355 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.001098/0.001098, allocations: 185.5 kB / 17.89 MB, free: 5.926 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.547/1.547, allocations: 223.2 MB / 241.9 MB, free: 328 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.249/0.249, allocations: 44.23 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004306/0.0004311, allocations: 12 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1594, allocations: 61.92 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.002833/0.1623, allocations: 1.454 MB / 473.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.1643, allocations: 0.9006 MB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.132e-05/0.1643, allocations: 3.938 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.1646, allocations: 39.81 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.1649, allocations: 59.66 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.1653, allocations: 99.14 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003335/0.1656, allocations: 230.9 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.709e-05/0.1657, allocations: 17.69 kB / 474.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.1659, allocations: 87.56 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.1661, allocations: 91.56 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.1661, allocations: 8 kB / 474.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004323/0.1666, allocations: 195.7 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.743e-05/0.1667, allocations: 55.75 kB / 474.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.439e-05/0.1668, allocations: 57.58 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003691/0.1671, allocations: 211.7 kB / 475.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1671, allocations: 0 / 475.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1672, allocations: 0 / 475.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1672, allocations: 0 / 475.2 MB, free: 10.12 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.0008466/0.168, allocations: 0.5028 MB / 475.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.1681, allocations: 8.031 kB / 475.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.061e-05/0.1682, allocations: 58.55 kB / 475.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.1693, allocations: 139.5 kB / 475.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/0.1697, allocations: 253.2 kB / 476.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.1697, allocations: 12.44 kB / 476.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.446e-05/0.1698, allocations: 23.98 kB / 476.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000929/0.1707, allocations: 441.8 kB / 476.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1707, allocations: 0 / 476.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/0.1708, allocations: 15.97 kB / 476.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.297e-05/0.1708, allocations: 28.55 kB / 476.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000971/0.1718, allocations: 401.8 kB / 477 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/0.1743, allocations: 1.485 MB / 478.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.1747, allocations: 98.52 kB / 478.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.1749, allocations: 56.81 kB / 478.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.1749, allocations: 0 / 478.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.175, allocations: 30.56 kB / 478.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.175, allocations: 4 kB / 478.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008389/0.1758, allocations: 209.4 kB / 478.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.1759, allocations: 55.34 kB / 478.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004612/0.1764, allocations: 330.6 kB / 479.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.1764, allocations: 25.7 kB / 479.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.1766, allocations: 179.3 kB / 479.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.1766, allocations: 27.64 kB / 479.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/0.1766, allocations: 0 / 479.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1768, allocations: 338.8 kB / 479.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.1771, allocations: 75.89 kB / 479.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.1774, allocations: 118 kB / 480 MB, free: 4.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.1777, allocations: 95.88 kB / 480.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.1777, allocations: 3.984 kB / 480.1 MB, free: 4.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000701/0.1784, allocations: 245.4 kB / 480.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.1784, allocations: 4 kB / 480.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.1785, allocations: 4 kB / 480.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.1785, allocations: 3.984 kB / 480.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/0.1804, allocations: 119.8 kB / 480.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/0.1829, allocations: 1.848 MB / 482.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004075/0.1833, allocations: 35.59 kB / 482.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.1834, allocations: 8 kB / 482.4 MB, free: 2.504 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.0002435/0.1836, allocations: 166.2 kB / 482.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.1837, allocations: 19.81 kB / 482.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007149/0.1844, allocations: 219 kB / 482.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1844, allocations: 0 / 482.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.1844, allocations: 4 kB / 482.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1845, allocations: 3.938 kB / 482.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/0.1849, allocations: 277.5 kB / 483 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.185, allocations: 0 / 483 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/0.1864, allocations: 99.88 kB / 483.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.1864, allocations: 0 / 483.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.1864, allocations: 0 / 483.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/0.188, allocations: 1.789 MB / 484.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.188, allocations: 0 / 484.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005955/0.1886, allocations: 275.3 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.1888, allocations: 100.8 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.1888, allocations: 0 / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.1891, allocations: 19.98 kB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.1892, allocations: 7.984 kB / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.1892, allocations: 4 kB / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003578/0.1896, allocations: 241.9 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1896, allocations: 0 / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005502/0.1902, allocations: 75.83 kB / 485.6 MB, free: 15.07 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.0008939/0.1911, allocations: 0.81 MB / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001982/0.1931, allocations: 267.6 kB / 486.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.1931, allocations: 0 / 486.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008306/0.1939, allocations: 115.8 kB / 486.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.1943, allocations: 57.16 kB / 486.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.1969, allocations: 1.624 MB / 488.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.1973, allocations: 0.783 MB / 489.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.1975, allocations: 54.25 kB / 489.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.1976, allocations: 67.42 kB / 489.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1976, allocations: 0 / 489.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.2186, allocations: 7.064 MB / 496.5 MB, free: 4.391 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003786/0.219, allocations: 266 kB / 496.7 MB, free: 4.031 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/2.452, allocations: 4 kB / 496.7 MB, free: 4.027 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