Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001108/0.001109, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000856/0.0008559, allocations: 101.8 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3572/0.3572, allocations: 44.21 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003119, allocations: 8 kB / 460 MB, free: 1.402 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3304, allocations: 61.89 MB / 0.5097 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.4602, allocations: 94.05 MB / 0.6015 GB, free: 1.035 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/0.4606, allocations: 111.8 kB / 0.6016 GB, free: 0.9336 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5761:11-5762: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 4.0.0+maint.om/Fluid/Dissipation.mo:5774:11-5777: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 4.0.0+maint.om/Fluid/Dissipation.mo:5752:11-5759: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 4.0.0+maint.om/Fluid/Dissipation.mo:5765:11-5772: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.03259/0.4932, allocations: 10.61 MB / 0.612 GB, free: 6.141 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.4932, allocations: 4 kB / 0.612 GB, free: 6.137 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.4933, allocations: 8 kB / 0.612 GB, free: 6.129 MB / 426.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.001074/0.4943, allocations: 0.6911 MB / 0.6127 GB, free: 5.391 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/0.4944, allocations: 8.031 kB / 0.6127 GB, free: 5.383 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001449/0.4946, allocations: 106.5 kB / 0.6128 GB, free: 5.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.598e-05/0.4947, allocations: 51.34 kB / 0.6128 GB, free: 5.219 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.4952, allocations: 327.3 kB / 0.6131 GB, free: 4.859 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.4952, allocations: 33 kB / 0.6132 GB, free: 4.828 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-05/0.4953, allocations: 47.94 kB / 0.6132 GB, free: 4.781 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.4963, allocations: 0.6719 MB / 0.6139 GB, free: 4.098 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.4963, allocations: 0 / 0.6139 GB, free: 4.098 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.4964, allocations: 16 kB / 0.6139 GB, free: 4.082 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.065e-05/0.4964, allocations: 49.28 kB / 0.6139 GB, free: 4.035 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.4976, allocations: 0.7351 MB / 0.6146 GB, free: 3.297 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002782/0.5004, allocations: 1.747 MB / 0.6163 GB, free: 1.418 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006216/0.501, allocations: 359.4 kB / 0.6167 GB, free: 1.059 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.785e-05/0.5011, allocations: 12.22 kB / 0.6167 GB, free: 1.047 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.5011, allocations: 38.73 kB / 0.6167 GB, free: 1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 1.533e-06/0.5011, allocations: 0 / 0.6167 GB, free: 1 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.001013/0.5021, allocations: 0.5045 MB / 0.6172 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.5022, allocations: 51.41 kB / 0.6173 GB, free: 440 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004524/0.5026, allocations: 408.7 kB / 0.6177 GB, free: 24 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.5027, allocations: 29.7 kB / 0.6177 GB, free: 15.99 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.5029, allocations: 271.5 kB / 0.618 GB, free: 15.72 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.897e-05/0.503, allocations: 94.59 kB / 0.618 GB, free: 15.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.814e-05/0.503, allocations: 4 kB / 0.6181 GB, free: 15.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.5032, allocations: 358.8 kB / 0.6184 GB, free: 15.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.5034, allocations: 139.9 kB / 0.6185 GB, free: 15.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.5038, allocations: 265.1 kB / 0.6188 GB, free: 14.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.5041, allocations: 183.8 kB / 0.619 GB, free: 14.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5041, allocations: 0 / 0.619 GB, free: 14.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008032/0.5049, allocations: 488.9 kB / 0.6194 GB, free: 14.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.505, allocations: 9.719 kB / 0.6194 GB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.505, allocations: 4 kB / 0.6194 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.505, allocations: 4 kB / 0.6194 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/0.5056, allocations: 159.8 kB / 0.6196 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.5077, allocations: 3.61 MB / 0.6231 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.508, allocations: 59.36 kB / 0.6232 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.5081, allocations: 23.98 kB / 0.6232 GB, free: 10.15 MB / 442.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.0002898/0.5084, allocations: 226.3 kB / 0.6234 GB, free: 9.922 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/0.5085, allocations: 39.53 kB / 0.6234 GB, free: 9.883 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.5096, allocations: 0.5518 MB / 0.624 GB, free: 9.324 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.5096, allocations: 4 kB / 0.624 GB, free: 9.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.5096, allocations: 0 / 0.624 GB, free: 9.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.5097, allocations: 7.984 kB / 0.624 GB, free: 9.312 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006134/0.5103, allocations: 449.1 kB / 0.6244 GB, free: 8.824 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5103, allocations: 0 / 0.6244 GB, free: 8.824 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.5109, allocations: 135.8 kB / 0.6246 GB, free: 8.691 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.5109, allocations: 8 kB / 0.6246 GB, free: 8.684 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.5109, allocations: 11.98 kB / 0.6246 GB, free: 8.672 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/0.5131, allocations: 3.602 MB / 0.6281 GB, free: 4.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5132, allocations: 3.938 kB / 0.6281 GB, free: 4.926 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.5143, allocations: 0.6715 MB / 0.6288 GB, free: 4.238 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.5146, allocations: 180.4 kB / 0.6289 GB, free: 4.043 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/0.5147, allocations: 4 kB / 0.6289 GB, free: 4.039 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.5149, allocations: 16 kB / 0.6289 GB, free: 4.023 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.635e-05/0.515, allocations: 35.89 kB / 0.629 GB, free: 3.988 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.515, allocations: 8 kB / 0.629 GB, free: 3.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004193/0.5155, allocations: 351.1 kB / 0.6293 GB, free: 3.637 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5155, allocations: 3.938 kB / 0.6293 GB, free: 3.633 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006734/0.5161, allocations: 183.5 kB / 0.6295 GB, free: 3.453 MB / 442.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.001713/0.5179, allocations: 1.334 MB / 0.6308 GB, free: 2.094 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.519, allocations: 421.5 kB / 0.6312 GB, free: 1.684 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.519, allocations: 0 / 0.6312 GB, free: 1.684 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005897/0.5196, allocations: 235.8 kB / 0.6314 GB, free: 1.453 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.5199, allocations: 29.62 kB / 0.6315 GB, free: 1.426 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005433/0.5253, allocations: 5.279 MB / 0.6366 GB, free: 12.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/0.526, allocations: 0.917 MB / 0.6375 GB, free: 11.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004161/0.5264, allocations: 147 kB / 0.6376 GB, free: 10.95 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.5267, allocations: 163.4 kB / 0.6378 GB, free: 10.79 MB / 458.7 MB Notification: Performance of SimCode: time 7.32e-07/0.5267, allocations: 0 / 0.6378 GB, free: 10.79 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.5533, allocations: 10.47 MB / 0.648 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002791/0.5536, allocations: 264.4 kB / 0.6483 GB, free: 232 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/2.898, allocations: 0 / 0.6483 GB, free: 232 kB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat