Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001287/0.001287, allocations: 183.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008648/0.0008646, allocations: 90.42 kB / 267 MB, free: 9.273 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.4257/0.4257, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.837e-05/3.856e-05, allocations: 4 kB / 425.4 MB, free: 8.082 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1453, allocations: 58.85 MB / 484.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4698/0.6151, allocations: 92.82 MB / 0.5636 GB, free: 12.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/0.6155, allocations: 96.58 kB / 0.5637 GB, free: 12.55 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.02837/0.6439, allocations: 10.28 MB / 0.5737 GB, free: 3.656 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.6439, allocations: 0 / 0.5737 GB, free: 3.656 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.644, allocations: 8 kB / 0.5737 GB, free: 3.648 MB / 394.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.0007123/0.6447, allocations: 0.6533 MB / 0.5744 GB, free: 2.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.6447, allocations: 12.03 kB / 0.5744 GB, free: 2.969 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.307e-05/0.6448, allocations: 98.39 kB / 0.5745 GB, free: 2.895 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.34e-05/0.6449, allocations: 53.31 kB / 0.5745 GB, free: 2.844 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.6452, allocations: 321.3 kB / 0.5748 GB, free: 2.508 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.6453, allocations: 38.44 kB / 0.5749 GB, free: 2.488 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.336e-05/0.6453, allocations: 45.81 kB / 0.5749 GB, free: 2.457 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007695/0.6461, allocations: 0.6475 MB / 0.5755 GB, free: 1.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.6461, allocations: 3.984 kB / 0.5755 GB, free: 1.977 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/0.6462, allocations: 21.89 kB / 0.5756 GB, free: 1.969 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.976e-05/0.6462, allocations: 53.16 kB / 0.5756 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000706/0.647, allocations: 0.6915 MB / 0.5763 GB, free: 1.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.649, allocations: 1.742 MB / 0.578 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005384/0.6496, allocations: 342.5 kB / 0.5783 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.6498, allocations: 127.6 kB / 0.5784 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.942e-05/0.6499, allocations: 11.22 kB / 0.5785 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.6499, allocations: 38.73 kB / 0.5785 GB, free: 15.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 2.595e-06/0.6499, allocations: 0 / 0.5785 GB, free: 15.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006537/0.6506, allocations: 341.4 kB / 0.5788 GB, free: 15.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.6507, allocations: 55.41 kB / 0.5789 GB, free: 14.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004593/0.6511, allocations: 407.2 kB / 0.5793 GB, free: 14.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.6512, allocations: 28.95 kB / 0.5793 GB, free: 14.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.6513, allocations: 266.3 kB / 0.5795 GB, free: 14.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.736e-05/0.6514, allocations: 95.34 kB / 0.5796 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.6515, allocations: 7.125 kB / 0.5796 GB, free: 14.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.6516, allocations: 350.6 kB / 0.58 GB, free: 14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.6518, allocations: 122.1 kB / 0.5801 GB, free: 13.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.6522, allocations: 243.6 kB / 0.5803 GB, free: 13.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.6525, allocations: 169 kB / 0.5805 GB, free: 13.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.6525, allocations: 0 / 0.5805 GB, free: 13.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006988/0.6532, allocations: 439 kB / 0.5809 GB, free: 13.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.6532, allocations: 4.469 kB / 0.5809 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.6533, allocations: 8 kB / 0.5809 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.6533, allocations: 8 kB / 0.5809 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006375/0.6539, allocations: 163.4 kB / 0.5811 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.6561, allocations: 3.613 MB / 0.5846 GB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.6565, allocations: 62.05 kB / 0.5847 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.6565, allocations: 23.42 kB / 0.5847 GB, free: 9.164 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 () * 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.0001097/0.6566, allocations: 122.6 kB / 0.5848 GB, free: 9.047 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.582e-05/0.6567, allocations: 39.53 kB / 0.5848 GB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.6577, allocations: 0.5113 MB / 0.5853 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.6578, allocations: 7.953 kB / 0.5853 GB, free: 8.559 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.6578, allocations: 0 / 0.5853 GB, free: 8.559 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.6578, allocations: 3.984 kB / 0.5853 GB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006118/0.6584, allocations: 456.5 kB / 0.5858 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.6584, allocations: 0 / 0.5858 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005921/0.659, allocations: 143.2 kB / 0.5859 GB, free: 7.992 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.659, allocations: 0 / 0.5859 GB, free: 7.992 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/0.6591, allocations: 19.73 kB / 0.5859 GB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/0.6611, allocations: 3.609 MB / 0.5895 GB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6611, allocations: 0 / 0.5895 GB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008363/0.6619, allocations: 0.618 MB / 0.5901 GB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.6622, allocations: 175.4 kB / 0.5902 GB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-05/0.6623, allocations: 3.562 kB / 0.5902 GB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.6625, allocations: 23.39 kB / 0.5903 GB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.984e-05/0.6626, allocations: 31.86 kB / 0.5903 GB, free: 3.496 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.6626, allocations: 15.61 kB / 0.5903 GB, free: 3.484 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003843/0.663, allocations: 337.3 kB / 0.5906 GB, free: 3.215 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.663, allocations: 0 / 0.5906 GB, free: 3.215 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000681/0.6637, allocations: 184.5 kB / 0.5908 GB, free: 3.047 MB / 410.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.001465/0.6652, allocations: 1.266 MB / 0.592 GB, free: 1.859 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009591/0.6661, allocations: 395.1 kB / 0.5924 GB, free: 1.527 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6662, allocations: 0 / 0.5924 GB, free: 1.527 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005679/0.6667, allocations: 221.9 kB / 0.5926 GB, free: 1.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.667, allocations: 33.02 kB / 0.5927 GB, free: 1.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.6687, allocations: 0.889 MB / 0.5935 GB, free: 468 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.6692, allocations: 0.9079 MB / 0.5944 GB, free: 15.53 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000369/0.6696, allocations: 139 kB / 0.5945 GB, free: 15.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.6699, allocations: 168.4 kB / 0.5947 GB, free: 15.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.563e-06/0.6699, allocations: 0 / 0.5947 GB, free: 15.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.6964, allocations: 10.53 MB / 0.605 GB, free: 4.898 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000229/0.6967, allocations: 238.1 kB / 0.6052 GB, free: 4.582 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.102, allocations: 0 / 0.6052 GB, free: 4.582 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat