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.001607/0.001607, allocations: 181.2 kB / 13.66 MB, free: 1.664 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.179/2.179, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001125/0.001125, allocations: 90.69 kB / 267.5 MB, free: 14.05 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.2995/0.2995, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.27e-05/4.292e-05, allocations: 4 kB / 425.4 MB, free: 23.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1246, allocations: 58.85 MB / 484.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5108/0.6355, allocations: 92.83 MB / 0.5636 GB, free: 10.31 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000374/0.6359, allocations: 97.25 kB / 0.5637 GB, free: 10.25 MB / 378.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.05327/0.6892, allocations: 10.28 MB / 0.5737 GB, free: 1.223 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6892, allocations: 0 / 0.5737 GB, free: 1.223 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.249e-05/0.6893, allocations: 8 kB / 0.5737 GB, free: 1.215 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001416/0.6907, allocations: 0.6487 MB / 0.5743 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.6908, allocations: 12.03 kB / 0.5744 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.6909, allocations: 99.94 kB / 0.5745 GB, free: 476 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.6911, allocations: 55.34 kB / 0.5745 GB, free: 420 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006644/0.6918, allocations: 317.8 kB / 0.5748 GB, free: 76 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/0.6918, allocations: 34.75 kB / 0.5748 GB, free: 56 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.6919, allocations: 47.94 kB / 0.5749 GB, free: 24 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.6935, allocations: 0.6451 MB / 0.5755 GB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.6935, allocations: 0 / 0.5755 GB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.565e-05/0.6936, allocations: 22.27 kB / 0.5755 GB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.6937, allocations: 52.72 kB / 0.5756 GB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.6953, allocations: 0.6874 MB / 0.5763 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004241/0.6996, allocations: 1.743 MB / 0.578 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009482/0.7006, allocations: 343.8 kB / 0.5783 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.701, allocations: 133.1 kB / 0.5784 GB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.738e-05/0.7011, allocations: 12.2 kB / 0.5784 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.7011, allocations: 38.42 kB / 0.5785 GB, free: 12.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 3.868e-06/0.7011, allocations: 3.938 kB / 0.5785 GB, free: 12.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.001062/0.7022, allocations: 336.9 kB / 0.5788 GB, free: 12.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.229e-05/0.7023, allocations: 55.41 kB / 0.5788 GB, free: 12.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007572/0.7031, allocations: 411.7 kB / 0.5792 GB, free: 12.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/0.7032, allocations: 28.95 kB / 0.5793 GB, free: 12.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.7034, allocations: 309.9 kB / 0.5796 GB, free: 11.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.7036, allocations: 96.03 kB / 0.5797 GB, free: 11.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.7036, allocations: 6.938 kB / 0.5797 GB, free: 11.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.7038, allocations: 325.7 kB / 0.58 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/0.7041, allocations: 124.9 kB / 0.5801 GB, free: 11.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004772/0.7046, allocations: 240 kB / 0.5803 GB, free: 11.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/0.7051, allocations: 162.9 kB / 0.5805 GB, free: 11.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/0.7051, allocations: 8 kB / 0.5805 GB, free: 11.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001217/0.7064, allocations: 413.3 kB / 0.5809 GB, free: 10.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.7064, allocations: 8 kB / 0.5809 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.7065, allocations: 4.469 kB / 0.5809 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.418e-05/0.7065, allocations: 8 kB / 0.5809 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.7078, allocations: 167.1 kB / 0.5811 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002869/0.7107, allocations: 3.61 MB / 0.5846 GB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005915/0.7113, allocations: 53.88 kB / 0.5846 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.435e-05/0.7114, allocations: 29.3 kB / 0.5847 GB, free: 6.707 MB / 394.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 () * 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.0001682/0.7116, allocations: 123.3 kB / 0.5848 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.7117, allocations: 39.52 kB / 0.5848 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/0.7135, allocations: 0.5132 MB / 0.5853 GB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.7135, allocations: 11.89 kB / 0.5853 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.7135, allocations: 0 / 0.5853 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.7136, allocations: 0 / 0.5853 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.7146, allocations: 465 kB / 0.5858 GB, free: 5.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.7146, allocations: 0 / 0.5858 GB, free: 5.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.7158, allocations: 139 kB / 0.5859 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/0.7158, allocations: 4 kB / 0.5859 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.7159, allocations: 7.5 kB / 0.5859 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002734/0.7186, allocations: 3.607 MB / 0.5894 GB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.7187, allocations: 3.938 kB / 0.5894 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.7202, allocations: 0.6148 MB / 0.59 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003653/0.7206, allocations: 179.3 kB / 0.5902 GB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.574e-05/0.7207, allocations: 11 kB / 0.5902 GB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004064/0.7211, allocations: 11.67 kB / 0.5902 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.7212, allocations: 39.58 kB / 0.5903 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.7213, allocations: 8 kB / 0.5903 GB, free: 1.031 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006243/0.7219, allocations: 345.8 kB / 0.5906 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.555e-06/0.7219, allocations: 0 / 0.5906 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008779/0.7228, allocations: 181.9 kB / 0.5908 GB, free: 0.5898 MB / 394.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 () * 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.002392/0.7252, allocations: 1.263 MB / 0.592 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001645/0.7269, allocations: 394.2 kB / 0.5924 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.727, allocations: 0 / 0.5924 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.728, allocations: 218.5 kB / 0.5926 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.7284, allocations: 36.7 kB / 0.5926 GB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.7312, allocations: 0.9039 MB / 0.5935 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007005/0.7319, allocations: 0.9151 MB / 0.5944 GB, free: 13.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004059/0.7323, allocations: 170.4 kB / 0.5946 GB, free: 12.99 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.7324, allocations: 3.938 kB / 0.5946 GB, free: 12.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.274/4.007, allocations: 19.38 MB / 0.6135 GB, free: 9.625 MB / 426.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