Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001715/0.001715, allocations: 186.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.186/2.186, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001211/0.001211, allocations: 82.89 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3134/0.3134, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007086/0.0007088, allocations: 12 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1661, allocations: 58.86 MB / 490.3 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.004312/0.1705, allocations: 1.553 MB / 491.9 MB, free: 7.648 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003734/0.1743, allocations: 1.011 MB / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.1745, allocations: 0 / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.1749, allocations: 63.7 kB / 493 MB, free: 6.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.1752, allocations: 59.77 kB / 493 MB, free: 6.512 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006113/0.1758, allocations: 123.6 kB / 493.1 MB, free: 6.391 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003717/0.1762, allocations: 187.6 kB / 493.3 MB, free: 6.207 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1763, allocations: 32.73 kB / 493.4 MB, free: 6.176 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.1765, allocations: 83.62 kB / 493.4 MB, free: 6.094 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.1767, allocations: 103.5 kB / 493.5 MB, free: 5.992 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.1768, allocations: 4 kB / 493.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008589/0.1777, allocations: 311.6 kB / 493.8 MB, free: 5.684 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.591e-05/0.1778, allocations: 47.81 kB / 493.9 MB, free: 5.637 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.1779, allocations: 69.52 kB / 494 MB, free: 5.562 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006069/0.1785, allocations: 275.7 kB / 494.2 MB, free: 5.293 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1785, allocations: 3.938 kB / 494.2 MB, free: 5.289 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1785, allocations: 0 / 494.2 MB, free: 5.289 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1786, allocations: 4 kB / 494.2 MB, free: 5.285 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0009232/0.1795, allocations: 0.519 MB / 494.8 MB, free: 4.719 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.1796, allocations: 8.031 kB / 494.8 MB, free: 4.711 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/0.1797, allocations: 78.53 kB / 494.8 MB, free: 4.625 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.889e-05/0.1798, allocations: 35.58 kB / 494.9 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.1802, allocations: 234.7 kB / 495.1 MB, free: 4.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.1802, allocations: 24.98 kB / 495.1 MB, free: 4.297 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.236e-05/0.1803, allocations: 35.98 kB / 495.2 MB, free: 4.262 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.1815, allocations: 493.3 kB / 495.7 MB, free: 3.762 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.1816, allocations: 0 / 495.7 MB, free: 3.762 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/0.1816, allocations: 23.91 kB / 495.7 MB, free: 3.738 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.17e-05/0.1817, allocations: 28.98 kB / 495.7 MB, free: 3.711 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.1829, allocations: 439.7 kB / 496.1 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.1854, allocations: 1.197 MB / 497.3 MB, free: 1.984 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.1857, allocations: 86.47 kB / 497.4 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.537e-05/0.1858, allocations: 7.984 kB / 497.4 MB, free: 1.883 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1858, allocations: 34.56 kB / 497.5 MB, free: 1.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 3.056e-06/0.1859, allocations: 0 / 497.5 MB, free: 1.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.00079/0.1867, allocations: 165.6 kB / 497.6 MB, free: 1.672 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.1867, allocations: 63.34 kB / 497.7 MB, free: 1.598 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.187, allocations: 166.3 kB / 497.8 MB, free: 1.426 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.187, allocations: 25.7 kB / 497.9 MB, free: 1.395 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.1872, allocations: 289.6 kB / 498.1 MB, free: 1.109 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.1872, allocations: 23.66 kB / 498.2 MB, free: 1.086 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.1873, allocations: 8 kB / 498.2 MB, free: 1.078 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1874, allocations: 318.8 kB / 498.5 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.1877, allocations: 63.89 kB / 498.6 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.188, allocations: 172.3 kB / 498.7 MB, free: 480 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.1884, allocations: 84.2 kB / 498.8 MB, free: 396 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.1884, allocations: 0 / 498.8 MB, free: 396 kB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008451/0.1892, allocations: 273 kB / 499.1 MB, free: 116 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.1893, allocations: 7.438 kB / 499.1 MB, free: 112 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.1893, allocations: 4 kB / 499.1 MB, free: 108 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.1893, allocations: 8 kB / 499.1 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006201/0.19, allocations: 88.41 kB / 499.2 MB, free: 12 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.1912, allocations: 1.781 MB / 0.4892 GB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.1916, allocations: 36.02 kB / 0.4892 GB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.1916, allocations: 12 kB / 0.4893 GB, free: 14.11 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0003455/0.192, allocations: 193.2 kB / 0.4894 GB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.192, allocations: 7.906 kB / 0.4895 GB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009866/0.193, allocations: 205.9 kB / 0.4896 GB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.1931, allocations: 8 kB / 0.4897 GB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1931, allocations: 0 / 0.4897 GB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.1931, allocations: 7.938 kB / 0.4897 GB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005002/0.1936, allocations: 281.6 kB / 0.4899 GB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1936, allocations: 4 kB / 0.4899 GB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/0.1941, allocations: 59.95 kB / 0.49 GB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.1941, allocations: 0 / 0.49 GB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.1942, allocations: 11.98 kB / 0.49 GB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.1954, allocations: 1.777 MB / 0.4917 GB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1954, allocations: 288 / 0.4917 GB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005663/0.196, allocations: 231.4 kB / 0.492 GB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.932e-05/0.1961, allocations: 88.89 kB / 0.492 GB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.1961, allocations: 8 kB / 0.4921 GB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.1963, allocations: 11.98 kB / 0.4921 GB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.1964, allocations: 11.98 kB / 0.4921 GB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.1964, allocations: 4 kB / 0.4921 GB, free: 11.06 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001289/0.1965, allocations: 115.9 kB / 0.4922 GB, free: 10.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1966, allocations: 0 / 0.4922 GB, free: 10.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006642/0.1972, allocations: 103.5 kB / 0.4923 GB, free: 10.85 MB / 346.7 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 (7): * Single equations (assignments): 4 * 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.001176/0.1984, allocations: 0.8137 MB / 0.4931 GB, free: 10 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.1995, allocations: 192.5 kB / 0.4933 GB, free: 9.816 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.1995, allocations: 4 kB / 0.4933 GB, free: 9.812 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005676/0.2001, allocations: 92.17 kB / 0.4934 GB, free: 9.723 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.2004, allocations: 16.38 kB / 0.4934 GB, free: 9.707 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004073/0.2045, allocations: 3.951 MB / 0.4972 GB, free: 5.629 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/0.2051, allocations: 0.8021 MB / 0.498 GB, free: 4.801 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.2053, allocations: 83.34 kB / 0.4981 GB, free: 4.719 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2053, allocations: 0 / 0.4981 GB, free: 4.719 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.765/2.971, allocations: 7.906 MB / 0.5058 GB, free: 12.81 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat