Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_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.0009382/0.0009379, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009514/0.0009515, allocations: 89.3 kB / 281.5 MB, free: 5.324 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.3028/0.3028, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.319e-05/2.321e-05, allocations: 8.156 kB / 444.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1291, allocations: 61.9 MB / 0.4948 GB, free: 1.129 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4392/0.5684, allocations: 98.44 MB / 0.5909 GB, free: 13.88 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.5688, allocations: 94.09 kB / 0.591 GB, free: 13.79 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4725:11-4728:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4738:11-4741:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.04751/0.6163, allocations: 15.33 MB / 0.606 GB, free: 14.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6164, allocations: 4 kB / 0.606 GB, free: 14.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.6164, allocations: 0 / 0.606 GB, free: 14.37 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009949/0.6174, allocations: 0.5567 MB / 0.6065 GB, free: 13.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.6174, allocations: 15.98 kB / 0.6065 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.031e-05/0.6175, allocations: 31.56 kB / 0.6066 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.6178, allocations: 238.7 kB / 0.6068 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.6179, allocations: 11.98 kB / 0.6068 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.6179, allocations: 12 kB / 0.6068 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004512/0.6184, allocations: 317.2 kB / 0.6071 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004531/0.6188, allocations: 316.9 kB / 0.6074 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.6188, allocations: 4 kB / 0.6074 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.6189, allocations: 0 / 0.6074 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.868e-05/0.6189, allocations: 32.75 kB / 0.6075 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.6204, allocations: 0.9572 MB / 0.6084 GB, free: 11.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004919/0.6209, allocations: 252.1 kB / 0.6086 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.621, allocations: 77.2 kB / 0.6087 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.6211, allocations: 8.172 kB / 0.6087 GB, free: 11.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.6211, allocations: 30.75 kB / 0.6087 GB, free: 11.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.462e-06/0.6211, allocations: 3.938 kB / 0.6087 GB, free: 11.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003877/0.6215, allocations: 204.2 kB / 0.6089 GB, free: 11.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.6215, allocations: 55.34 kB / 0.609 GB, free: 11.06 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.589e-05/0.6216, allocations: 119.1 kB / 0.6091 GB, free: 10.94 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.6217, allocations: 29.7 kB / 0.6091 GB, free: 10.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.315e-05/0.6218, allocations: 160.1 kB / 0.6093 GB, free: 10.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.6218, allocations: 67.02 kB / 0.6093 GB, free: 10.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.6218, allocations: 0 / 0.6093 GB, free: 10.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.622, allocations: 326.8 kB / 0.6097 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.834e-05/0.6221, allocations: 63.81 kB / 0.6097 GB, free: 10.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.6222, allocations: 86.53 kB / 0.6098 GB, free: 10.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.6224, allocations: 82.55 kB / 0.6099 GB, free: 10.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6224, allocations: 3.938 kB / 0.6099 GB, free: 10.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003292/0.6227, allocations: 205.4 kB / 0.6101 GB, free: 9.902 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.6227, allocations: 8 kB / 0.6101 GB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.6227, allocations: 0 / 0.6101 GB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.6228, allocations: 0 / 0.6101 GB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/0.6232, allocations: 91.86 kB / 0.6102 GB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.6245, allocations: 2.399 MB / 0.6125 GB, free: 7.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.6247, allocations: 19.86 kB / 0.6125 GB, free: 7.293 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.6247, allocations: 11.98 kB / 0.6125 GB, free: 7.281 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.484e-05/0.6248, allocations: 104.9 kB / 0.6126 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003135/0.6251, allocations: 200 kB / 0.6128 GB, free: 6.973 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.6252, allocations: 15.77 kB / 0.6129 GB, free: 6.957 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005951/0.6258, allocations: 310.1 kB / 0.6132 GB, free: 6.645 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.6258, allocations: 4 kB / 0.6132 GB, free: 6.641 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.6258, allocations: 0 / 0.6132 GB, free: 6.641 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6258, allocations: 3.938 kB / 0.6132 GB, free: 6.637 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.6261, allocations: 266 kB / 0.6134 GB, free: 6.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6262, allocations: 4 kB / 0.6134 GB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/0.6266, allocations: 91.92 kB / 0.6135 GB, free: 6.246 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.6266, allocations: 0 / 0.6135 GB, free: 6.246 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.6266, allocations: 7.953 kB / 0.6135 GB, free: 6.238 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.6278, allocations: 2.391 MB / 0.6158 GB, free: 3.754 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6278, allocations: 0 / 0.6158 GB, free: 3.754 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.6282, allocations: 320 kB / 0.6162 GB, free: 3.426 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.6283, allocations: 125 kB / 0.6163 GB, free: 3.285 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.6284, allocations: 4 kB / 0.6163 GB, free: 3.281 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.6285, allocations: 7.984 kB / 0.6163 GB, free: 3.273 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/0.6286, allocations: 19.97 kB / 0.6163 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.6286, allocations: 11.98 kB / 0.6163 GB, free: 3.242 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.884e-05/0.6287, allocations: 95.22 kB / 0.6164 GB, free: 3.148 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6287, allocations: 0 / 0.6164 GB, free: 3.148 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006967/0.6294, allocations: 187.5 kB / 0.6166 GB, free: 2.965 MB / 426.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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001005/0.6304, allocations: 1.008 MB / 0.6176 GB, free: 1.934 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005266/0.6309, allocations: 207.7 kB / 0.6178 GB, free: 1.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.631, allocations: 0 / 0.6178 GB, free: 1.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.6313, allocations: 135.8 kB / 0.6179 GB, free: 1.598 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.6315, allocations: 13.48 kB / 0.6179 GB, free: 1.586 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000884/0.6324, allocations: 482.3 kB / 0.6184 GB, free: 1.074 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.6327, allocations: 0.7865 MB / 0.6191 GB, free: 264 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002055/0.633, allocations: 69.03 kB / 0.6192 GB, free: 196 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.6331, allocations: 80.94 kB / 0.6193 GB, free: 116 kB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6331, allocations: 4 kB / 0.6193 GB, free: 112 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.6598, allocations: 6.222 MB / 0.6254 GB, free: 9.91 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.66, allocations: 193.8 kB / 0.6255 GB, free: 9.715 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.395, allocations: 3.938 kB / 0.6255 GB, free: 9.711 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat