Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_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.001545/0.001545, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.09/2.09, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001197/0.001196, allocations: 92.42 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5232/0.5232, allocations: 43.55 MB / 362.7 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004779, allocations: 19.98 kB / 431.5 MB, free: 5.805 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1321, allocations: 58.82 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4764/0.6085, allocations: 92.92 MB / 0.5696 GB, free: 9.547 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004176/0.609, allocations: 102.3 kB / 0.5697 GB, free: 9.449 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5845:11-5846:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5858:11-5861:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5836:11-5843:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5849:11-5856:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.05438/0.6634, allocations: 10.29 MB / 0.5797 GB, free: 15.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.6635, allocations: 0 / 0.5797 GB, free: 15.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.519e-05/0.6635, allocations: 8 kB / 0.5797 GB, free: 15.04 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001671/0.6652, allocations: 0.686 MB / 0.5804 GB, free: 14.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.6652, allocations: 11.97 kB / 0.5804 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002063/0.6655, allocations: 102.5 kB / 0.5805 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.6656, allocations: 55.33 kB / 0.5806 GB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006687/0.6663, allocations: 313.4 kB / 0.5809 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.6664, allocations: 33 kB / 0.5809 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.6665, allocations: 53.02 kB / 0.5809 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.6683, allocations: 0.6835 MB / 0.5816 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.6684, allocations: 0 / 0.5816 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.559e-05/0.6685, allocations: 19.95 kB / 0.5816 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.851e-05/0.6686, allocations: 49.28 kB / 0.5817 GB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.6706, allocations: 0.7273 MB / 0.5824 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00443/0.675, allocations: 1.737 MB / 0.5841 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.6762, allocations: 361 kB / 0.5844 GB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.639e-05/0.6763, allocations: 16.2 kB / 0.5844 GB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.6764, allocations: 34.8 kB / 0.5845 GB, free: 9.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 2.995e-06/0.6764, allocations: 4 kB / 0.5845 GB, free: 9.926 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.001813/0.6782, allocations: 0.4983 MB / 0.585 GB, free: 9.426 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.6783, allocations: 59.41 kB / 0.585 GB, free: 9.355 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008628/0.6792, allocations: 412.6 kB / 0.5854 GB, free: 8.949 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.017e-05/0.6793, allocations: 25.7 kB / 0.5854 GB, free: 8.918 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/0.6795, allocations: 314 kB / 0.5857 GB, free: 8.609 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.6797, allocations: 94.59 kB / 0.5858 GB, free: 8.516 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.6797, allocations: 12 kB / 0.5858 GB, free: 8.504 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.6799, allocations: 322.8 kB / 0.5862 GB, free: 8.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/0.6805, allocations: 143.9 kB / 0.5863 GB, free: 8.039 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006067/0.6811, allocations: 257.3 kB / 0.5865 GB, free: 7.738 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005885/0.6817, allocations: 175.9 kB / 0.5867 GB, free: 7.566 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.49e-05/0.6817, allocations: 7.938 kB / 0.5867 GB, free: 7.559 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001475/0.6832, allocations: 461.8 kB / 0.5872 GB, free: 7.102 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.6833, allocations: 8.469 kB / 0.5872 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.6833, allocations: 12 kB / 0.5872 GB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.6833, allocations: 4 kB / 0.5872 GB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.6846, allocations: 159.8 kB / 0.5873 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/0.6874, allocations: 3.619 MB / 0.5909 GB, free: 3.164 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000623/0.6881, allocations: 59.36 kB / 0.5909 GB, free: 3.105 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.547e-05/0.6882, allocations: 23.98 kB / 0.5909 GB, free: 3.082 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000444/0.6887, allocations: 217.7 kB / 0.5911 GB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.6888, allocations: 39.72 kB / 0.5912 GB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/0.6909, allocations: 0.5596 MB / 0.5917 GB, free: 2.254 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.691, allocations: 3.984 kB / 0.5917 GB, free: 2.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.691, allocations: 7.953 kB / 0.5917 GB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.691, allocations: 0 / 0.5917 GB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.6921, allocations: 449 kB / 0.5922 GB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.6921, allocations: 0 / 0.5922 GB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.6932, allocations: 139.8 kB / 0.5923 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-06/0.6933, allocations: 4 kB / 0.5923 GB, free: 1.613 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/0.6933, allocations: 11.98 kB / 0.5923 GB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00272/0.696, allocations: 3.602 MB / 0.5958 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.6961, allocations: 4.234 kB / 0.5958 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.6981, allocations: 0.6753 MB / 0.5965 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/0.6985, allocations: 180.4 kB / 0.5967 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-05/0.6986, allocations: 8 kB / 0.5967 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.699, allocations: 8 kB / 0.5967 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.6992, allocations: 39.84 kB / 0.5967 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/0.6992, allocations: 8 kB / 0.5967 GB, free: 12.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006767/0.6999, allocations: 347.1 kB / 0.5971 GB, free: 12.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6999, allocations: 0 / 0.5971 GB, free: 12.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009328/0.7009, allocations: 183.5 kB / 0.5972 GB, free: 12.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002828/0.7037, allocations: 1.319 MB / 0.5985 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001874/0.7057, allocations: 432.5 kB / 0.5989 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.7057, allocations: 3.938 kB / 0.5989 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.7069, allocations: 239.7 kB / 0.5992 GB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.7074, allocations: 25.56 kB / 0.5992 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008252/0.7156, allocations: 5.302 MB / 0.6044 GB, free: 4.949 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006796/0.7164, allocations: 0.9093 MB / 0.6053 GB, free: 4.008 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004559/0.7168, allocations: 175.4 kB / 0.6054 GB, free: 3.84 MB / 426.7 MB Notification: Performance of SimCode: time 1.472e-06/0.7168, allocations: 0 / 0.6054 GB, free: 3.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.241/3.957, allocations: 19.41 MB / 0.6244 GB, free: 436 kB / 442.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat