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_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.002322/0.002322, allocations: 181.3 kB / 13.66 MB, free: 1.66 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.162/2.162, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001139/0.001138, allocations: 90.59 kB / 267.5 MB, free: 14.11 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.2865/0.2865, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.375e-05, allocations: 4 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1308, allocations: 58.85 MB / 484.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5646/0.6955, allocations: 90.9 MB / 0.5617 GB, free: 12.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003815/0.696, allocations: 98.05 kB / 0.5618 GB, free: 12.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02833/0.7243, allocations: 5.966 MB / 0.5676 GB, free: 7.312 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.7244, allocations: 0 / 0.5676 GB, free: 7.312 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.69e-05/0.7244, allocations: 4 kB / 0.5676 GB, free: 7.309 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.000844/0.7252, allocations: 498.5 kB / 0.5681 GB, free: 6.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.7253, allocations: 11.97 kB / 0.5681 GB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.7254, allocations: 68.83 kB / 0.5681 GB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002339/0.7278, allocations: 196.8 kB / 0.5683 GB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005865/0.7284, allocations: 266.1 kB / 0.5686 GB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.271e-05/0.7285, allocations: 23.88 kB / 0.5686 GB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.191e-05/0.7286, allocations: 27.19 kB / 0.5686 GB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.7297, allocations: 449.5 kB / 0.5691 GB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.7298, allocations: 0 / 0.5691 GB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-05/0.7299, allocations: 11.25 kB / 0.5691 GB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.096e-05/0.7299, allocations: 24.17 kB / 0.5691 GB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.7313, allocations: 0.5026 MB / 0.5696 GB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003592/0.7349, allocations: 1.174 MB / 0.5707 GB, free: 4.395 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/0.7354, allocations: 116.4 kB / 0.5709 GB, free: 4.281 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.7357, allocations: 51.95 kB / 0.5709 GB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.7357, allocations: 4.141 kB / 0.5709 GB, free: 4.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.7358, allocations: 38.5 kB / 0.5709 GB, free: 4.188 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.065e-06/0.7358, allocations: 0 / 0.5709 GB, free: 4.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000708/0.7365, allocations: 139.8 kB / 0.5711 GB, free: 4.055 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.7366, allocations: 59.34 kB / 0.5711 GB, free: 3.984 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.737, allocations: 251.8 kB / 0.5714 GB, free: 3.766 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.7371, allocations: 28.95 kB / 0.5714 GB, free: 3.734 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.7372, allocations: 224.7 kB / 0.5716 GB, free: 3.539 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.7373, allocations: 23.22 kB / 0.5716 GB, free: 3.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.7373, allocations: 4 kB / 0.5716 GB, free: 3.516 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.7375, allocations: 318.1 kB / 0.5719 GB, free: 3.199 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.7377, allocations: 50.3 kB / 0.572 GB, free: 3.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.738, allocations: 84.77 kB / 0.5721 GB, free: 3.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.7383, allocations: 61.27 kB / 0.5721 GB, free: 3.027 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.7384, allocations: 0 / 0.5721 GB, free: 3.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006789/0.739, allocations: 174.8 kB / 0.5723 GB, free: 2.875 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.7391, allocations: 8 kB / 0.5723 GB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.7391, allocations: 0 / 0.5723 GB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.7391, allocations: 4.094 kB / 0.5723 GB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01023/0.7494, allocations: 454 kB / 0.5727 GB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004912/0.7543, allocations: 1.917 MB / 0.5746 GB, free: 484 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008129/0.7552, allocations: 47.61 kB / 0.5747 GB, free: 436 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/0.7553, allocations: 15.92 kB / 0.5747 GB, free: 420 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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.0001566/0.7555, allocations: 113.6 kB / 0.5748 GB, free: 308 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.577e-05/0.7555, allocations: 15.81 kB / 0.5748 GB, free: 292 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.137e-05/0.7556, allocations: 28.7 kB / 0.5748 GB, free: 268 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.7556, allocations: 0 / 0.5748 GB, free: 268 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.7557, allocations: 0 / 0.5748 GB, free: 268 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.7557, allocations: 0 / 0.5748 GB, free: 268 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006311/0.7563, allocations: 301.9 kB / 0.5751 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.7563, allocations: 0 / 0.5751 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01005/0.7664, allocations: 438.2 kB / 0.5755 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.7665, allocations: 0 / 0.5755 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.176e-05/0.7665, allocations: 3.984 kB / 0.5755 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004905/0.7714, allocations: 1.912 MB / 0.5774 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.7715, allocations: 0 / 0.5774 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007253/0.7722, allocations: 254.1 kB / 0.5776 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.7724, allocations: 92.92 kB / 0.5777 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.716e-05/0.7725, allocations: 3.938 kB / 0.5777 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000726/0.7732, allocations: 27.81 kB / 0.5778 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-05/0.7733, allocations: 11.97 kB / 0.5778 GB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.7734, allocations: 0 / 0.5778 GB, free: 13.17 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003304/0.7737, allocations: 207.7 kB / 0.578 GB, free: 13 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.7737, allocations: 0 / 0.578 GB, free: 13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005766/0.7743, allocations: 75.47 kB / 0.578 GB, free: 12.93 MB / 394.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 () * 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.001313/0.7756, allocations: 0.8204 MB / 0.5788 GB, free: 12.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009618/0.7853, allocations: 465.2 kB / 0.5793 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.7854, allocations: 4.062 kB / 0.5793 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009162/0.7945, allocations: 398.1 kB / 0.5797 GB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.7951, allocations: 43.69 kB / 0.5797 GB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.7964, allocations: 413.3 kB / 0.5801 GB, free: 10.83 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.7969, allocations: 0.771 MB / 0.5809 GB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.7971, allocations: 76.95 kB / 0.5809 GB, free: 10 MB / 394.7 MB Notification: Performance of SimCode: time 1.433e-06/0.7971, allocations: 0 / 0.5809 GB, free: 10 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.005/3.803, allocations: 7.764 MB / 0.5885 GB, free: 2.262 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat