Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.002274/0.002274, allocations: 178 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001162/0.001161, allocations: 85.73 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2927/0.2927, allocations: 43.5 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.163e-05/2.184e-05, allocations: 224 / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4, allocations: 58.86 MB / 477.2 MB, free: 5.172 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1787/0.5788, allocations: 97.31 MB / 0.561 GB, free: 1.859 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003985/0.5792, allocations: 95.94 kB / 0.5611 GB, free: 1.766 MB / 395.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4809:11-4812: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 3.2.3+maint.om/Fluid/Dissipation.mo:4822:11-4825: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.08053/0.6598, allocations: 15.07 MB / 0.5758 GB, free: 2.598 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6598, allocations: 0 / 0.5758 GB, free: 2.598 MB / 411.1 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.6598, allocations: 4 kB / 0.5759 GB, free: 2.594 MB / 411.1 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.001295/0.6612, allocations: 0.5534 MB / 0.5764 GB, free: 1.992 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.6612, allocations: 8.031 kB / 0.5764 GB, free: 1.984 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.064e-05/0.6613, allocations: 31.58 kB / 0.5764 GB, free: 1.953 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004403/0.6618, allocations: 234.7 kB / 0.5767 GB, free: 1.684 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.6618, allocations: 8 kB / 0.5767 GB, free: 1.676 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.081e-05/0.6619, allocations: 12 kB / 0.5767 GB, free: 1.664 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007551/0.6626, allocations: 313.2 kB / 0.577 GB, free: 1.359 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000786/0.6634, allocations: 317 kB / 0.5773 GB, free: 1.043 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.6635, allocations: 3.938 kB / 0.5773 GB, free: 1.039 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.415e-05/0.6635, allocations: 4 kB / 0.5773 GB, free: 1.035 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.721e-05/0.6636, allocations: 32.75 kB / 0.5773 GB, free: 1.004 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.666, allocations: 0.965 MB / 0.5783 GB, free: 15.95 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000825/0.6668, allocations: 246.7 kB / 0.5785 GB, free: 15.7 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.6671, allocations: 73.2 kB / 0.5786 GB, free: 15.63 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.129e-05/0.6672, allocations: 12.17 kB / 0.5786 GB, free: 15.62 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.6672, allocations: 42.7 kB / 0.5786 GB, free: 15.57 MB / 427.1 MB Notification: Performance of pre-optimization done (n=21): time 2.786e-06/0.6672, allocations: 0 / 0.5786 GB, free: 15.57 MB / 427.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006592/0.6679, allocations: 196.2 kB / 0.5788 GB, free: 15.37 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.668, allocations: 55.41 kB / 0.5789 GB, free: 15.3 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.6681, allocations: 117.1 kB / 0.579 GB, free: 15.18 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.6682, allocations: 25.7 kB / 0.579 GB, free: 15.15 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.6683, allocations: 230.3 kB / 0.5792 GB, free: 14.93 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.748e-05/0.6684, allocations: 71 kB / 0.5793 GB, free: 14.86 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.782e-05/0.6685, allocations: 0 / 0.5793 GB, free: 14.86 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.6686, allocations: 318.8 kB / 0.5796 GB, free: 14.54 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.6688, allocations: 63.91 kB / 0.5796 GB, free: 14.47 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.669, allocations: 94.05 kB / 0.5797 GB, free: 14.38 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.6693, allocations: 77.05 kB / 0.5798 GB, free: 14.3 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6693, allocations: 4 kB / 0.5798 GB, free: 14.3 MB / 427.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007294/0.67, allocations: 209.5 kB / 0.58 GB, free: 14.09 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.6701, allocations: 4 kB / 0.58 GB, free: 14.08 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.6701, allocations: 0 / 0.58 GB, free: 14.08 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.6701, allocations: 7.953 kB / 0.58 GB, free: 14.07 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008506/0.671, allocations: 83.92 kB / 0.5801 GB, free: 13.99 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/0.6728, allocations: 2.391 MB / 0.5824 GB, free: 11.51 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.6732, allocations: 19.86 kB / 0.5825 GB, free: 11.49 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.6732, allocations: 15.94 kB / 0.5825 GB, free: 11.47 MB / 427.1 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 0.000147/0.6734, allocations: 112.9 kB / 0.5826 GB, free: 11.36 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005805/0.674, allocations: 205.2 kB / 0.5828 GB, free: 11.15 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.6741, allocations: 11.91 kB / 0.5828 GB, free: 11.14 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.6751, allocations: 301 kB / 0.5831 GB, free: 10.83 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.6751, allocations: 4 kB / 0.5831 GB, free: 10.83 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.6752, allocations: 0 / 0.5831 GB, free: 10.83 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.6752, allocations: 3.984 kB / 0.5831 GB, free: 10.82 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00053/0.6757, allocations: 266 kB / 0.5833 GB, free: 10.53 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6757, allocations: 0 / 0.5833 GB, free: 10.53 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008425/0.6766, allocations: 95.86 kB / 0.5834 GB, free: 10.43 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.6766, allocations: 0 / 0.5834 GB, free: 10.43 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.6766, allocations: 15.98 kB / 0.5834 GB, free: 10.42 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.6784, allocations: 2.375 MB / 0.5858 GB, free: 7.949 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.6785, allocations: 0 / 0.5858 GB, free: 7.949 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007343/0.6792, allocations: 323.8 kB / 0.5861 GB, free: 7.617 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.6794, allocations: 136.8 kB / 0.5862 GB, free: 7.465 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.6795, allocations: 3.938 kB / 0.5862 GB, free: 7.461 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002713/0.6798, allocations: 11.98 kB / 0.5862 GB, free: 7.449 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-05/0.6799, allocations: 15.97 kB / 0.5862 GB, free: 7.434 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.6799, allocations: 8 kB / 0.5862 GB, free: 7.426 MB / 427.1 MB Notification: Performance of sorting global known variables: time 9.203e-05/0.68, allocations: 99.27 kB / 0.5863 GB, free: 7.328 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.68, allocations: 0 / 0.5863 GB, free: 7.328 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.000923/0.6809, allocations: 183.4 kB / 0.5865 GB, free: 7.148 MB / 427.1 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.00172/0.6827, allocations: 1.008 MB / 0.5875 GB, free: 6.117 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0009603/0.6837, allocations: 207.8 kB / 0.5877 GB, free: 5.914 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6837, allocations: 0 / 0.5877 GB, free: 5.914 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006188/0.6843, allocations: 135.8 kB / 0.5878 GB, free: 5.781 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.6846, allocations: 4 kB / 0.5878 GB, free: 5.777 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.6863, allocations: 0.5078 MB / 0.5883 GB, free: 5.227 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.6868, allocations: 0.7826 MB / 0.5891 GB, free: 4.418 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.6871, allocations: 83.39 kB / 0.5892 GB, free: 4.336 MB / 427.1 MB Notification: Performance of SimCode: time 1.553e-06/0.6871, allocations: 0 / 0.5892 GB, free: 4.336 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.892/3.579, allocations: 9.217 MB / 0.5982 GB, free: 11.12 MB / 443.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat