Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_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.001217/0.001217, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008383/0.0008384, allocations: 86.36 kB / 261.7 MB, free: 1.684 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.1964/0.1964, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.811e-05/1.803e-05, allocations: 0 / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1192, allocations: 58.86 MB / 477.2 MB, free: 1.52 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4164/0.5357, allocations: 100.8 MB / 0.5645 GB, free: 10.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.536, allocations: 95.97 kB / 0.5646 GB, free: 10.27 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4646:11-4649:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4673:11-4676:68:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4633:11-4636:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4660:11-4663:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.07297/0.609, allocations: 22.44 MB / 0.5865 GB, free: 7.355 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.609, allocations: 4 kB / 0.5865 GB, free: 7.352 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.6091, allocations: 4 kB / 0.5865 GB, free: 7.348 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001134/0.6102, allocations: 0.6074 MB / 0.5871 GB, free: 6.719 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.6103, allocations: 12.03 kB / 0.5871 GB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.641e-05/0.6103, allocations: 31.62 kB / 0.5871 GB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.6107, allocations: 269.8 kB / 0.5874 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.6107, allocations: 8 kB / 0.5874 GB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.77e-05/0.6108, allocations: 20 kB / 0.5874 GB, free: 6.355 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005586/0.6114, allocations: 437.8 kB / 0.5878 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005861/0.6119, allocations: 431.8 kB / 0.5882 GB, free: 5.707 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.612, allocations: 0 / 0.5882 GB, free: 5.707 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.612, allocations: 3.953 kB / 0.5882 GB, free: 5.703 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.214e-05/0.6121, allocations: 44.92 kB / 0.5883 GB, free: 5.664 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.6139, allocations: 1.224 MB / 0.5895 GB, free: 4.469 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006378/0.6145, allocations: 348.4 kB / 0.5898 GB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.6147, allocations: 111.7 kB / 0.5899 GB, free: 4.082 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.6148, allocations: 11.92 kB / 0.5899 GB, free: 4.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.6148, allocations: 33.81 kB / 0.59 GB, free: 4.031 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/0.6148, allocations: 0 / 0.59 GB, free: 4.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005241/0.6153, allocations: 260.4 kB / 0.5902 GB, free: 3.805 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.6154, allocations: 59.36 kB / 0.5903 GB, free: 3.734 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.6156, allocations: 162.5 kB / 0.5904 GB, free: 3.586 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.6156, allocations: 29.7 kB / 0.5905 GB, free: 3.551 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.6158, allocations: 208 kB / 0.5907 GB, free: 3.363 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.356e-05/0.6158, allocations: 88.84 kB / 0.5907 GB, free: 3.285 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/0.6159, allocations: 0 / 0.5907 GB, free: 3.285 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.616, allocations: 325.3 kB / 0.5911 GB, free: 2.965 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.6162, allocations: 101.1 kB / 0.5911 GB, free: 2.887 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.6164, allocations: 141.4 kB / 0.5913 GB, free: 2.762 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.6166, allocations: 129 kB / 0.5914 GB, free: 2.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6166, allocations: 0 / 0.5914 GB, free: 2.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004914/0.6171, allocations: 313.2 kB / 0.5917 GB, free: 2.391 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.6171, allocations: 8 kB / 0.5917 GB, free: 2.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.6171, allocations: 0 / 0.5917 GB, free: 2.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.6172, allocations: 4 kB / 0.5917 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005728/0.6177, allocations: 122.9 kB / 0.5918 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.6196, allocations: 3.019 MB / 0.5948 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.6199, allocations: 27.67 kB / 0.5948 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.6199, allocations: 14.81 kB / 0.5948 GB, free: 15.12 MB / 410.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 (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.6201, allocations: 113.1 kB / 0.5949 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004556/0.6205, allocations: 275.1 kB / 0.5952 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.6206, allocations: 15.81 kB / 0.5952 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008745/0.6215, allocations: 400 kB / 0.5956 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.6215, allocations: 4 kB / 0.5956 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6215, allocations: 0 / 0.5956 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.6215, allocations: 0 / 0.5956 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.622, allocations: 315.5 kB / 0.5959 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.622, allocations: 7.938 kB / 0.5959 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005428/0.6225, allocations: 115.8 kB / 0.596 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.6226, allocations: 0 / 0.596 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.6226, allocations: 15.42 kB / 0.596 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/0.6244, allocations: 3.019 MB / 0.599 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.6244, allocations: 0 / 0.599 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.6249, allocations: 389.5 kB / 0.5993 GB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-05/0.625, allocations: 108.7 kB / 0.5994 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.6251, allocations: 3.953 kB / 0.5995 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.6252, allocations: 7.984 kB / 0.5995 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.081e-05/0.6253, allocations: 22.91 kB / 0.5995 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.6254, allocations: 19.55 kB / 0.5995 GB, free: 10.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.6255, allocations: 122.3 kB / 0.5996 GB, free: 10.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6255, allocations: 0 / 0.5996 GB, free: 10.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00092/0.6264, allocations: 198.2 kB / 0.5998 GB, free: 10.02 MB / 410.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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001419/0.6278, allocations: 1.106 MB / 0.6009 GB, free: 8.938 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007086/0.6286, allocations: 299.4 kB / 0.6012 GB, free: 8.691 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6286, allocations: 0 / 0.6012 GB, free: 8.691 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000422/0.629, allocations: 181.5 kB / 0.6013 GB, free: 8.535 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.6293, allocations: 18.36 kB / 0.6014 GB, free: 8.523 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.6306, allocations: 0.6077 MB / 0.602 GB, free: 7.906 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.6311, allocations: 0.8478 MB / 0.6028 GB, free: 7.039 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003166/0.6315, allocations: 105.9 kB / 0.6029 GB, free: 6.938 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.6316, allocations: 112.6 kB / 0.603 GB, free: 6.898 MB / 410.7 MB Notification: Performance of SimCode: time 6.92e-07/0.6316, allocations: 0 / 0.603 GB, free: 6.898 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0335/0.6651, allocations: 7.826 MB / 0.6106 GB, free: 15.07 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000299/0.6656, allocations: 196.2 kB / 0.6108 GB, free: 14.88 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.551, allocations: 5.547 kB / 0.6108 GB, free: 14.87 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat