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_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_cpp_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_cpp_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.001628/0.001632, allocations: 185 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001162/0.001162, allocations: 93.23 kB / 270.9 MB, free: 8.387 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.5288/0.5288, allocations: 43.56 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005139/0.0005138, allocations: 12 kB / 431.5 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1377, allocations: 58.84 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5049/0.6426, allocations: 101.6 MB / 0.578 GB, free: 0.793 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003559/0.6431, allocations: 96.7 kB / 0.5781 GB, free: 0.6992 MB / 394.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.122/0.7651, allocations: 22.63 MB / 0.6002 GB, free: 9.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.7651, allocations: 0 / 0.6002 GB, free: 9.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.7651, allocations: 4 kB / 0.6002 GB, free: 9.977 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.00161/0.7668, allocations: 0.6268 MB / 0.6008 GB, free: 9.305 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.7668, allocations: 8.594 kB / 0.6008 GB, free: 9.297 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001315/0.767, allocations: 78.52 kB / 0.6009 GB, free: 9.211 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.7671, allocations: 35.53 kB / 0.6009 GB, free: 9.176 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/0.7676, allocations: 266.6 kB / 0.6012 GB, free: 8.875 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.7676, allocations: 21 kB / 0.6012 GB, free: 8.855 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.073e-05/0.7677, allocations: 37.02 kB / 0.6013 GB, free: 8.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.7691, allocations: 0.4954 MB / 0.6017 GB, free: 8.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.7691, allocations: 0 / 0.6017 GB, free: 8.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.693e-05/0.7692, allocations: 19.94 kB / 0.6018 GB, free: 8.301 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.893e-05/0.7693, allocations: 40.97 kB / 0.6018 GB, free: 8.258 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.7708, allocations: 0.5348 MB / 0.6023 GB, free: 7.723 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003281/0.7741, allocations: 1.337 MB / 0.6036 GB, free: 6.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.7755, allocations: 382.9 kB / 0.604 GB, free: 5.883 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.666e-05/0.7756, allocations: 8 kB / 0.604 GB, free: 5.875 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.7756, allocations: 34.77 kB / 0.604 GB, free: 5.832 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 2.996e-06/0.7757, allocations: 0 / 0.604 GB, free: 5.832 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.001709/0.7774, allocations: 437.4 kB / 0.6044 GB, free: 5.398 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.7775, allocations: 63.33 kB / 0.6045 GB, free: 5.324 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005127/0.778, allocations: 281.6 kB / 0.6048 GB, free: 5.047 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.7781, allocations: 29.7 kB / 0.6048 GB, free: 5.012 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.7783, allocations: 250.6 kB / 0.605 GB, free: 4.766 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.7784, allocations: 90.66 kB / 0.6051 GB, free: 4.676 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.7784, allocations: 12 kB / 0.6051 GB, free: 4.664 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.7786, allocations: 322.8 kB / 0.6054 GB, free: 4.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004861/0.7791, allocations: 123.9 kB / 0.6056 GB, free: 4.219 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005154/0.7796, allocations: 163.1 kB / 0.6057 GB, free: 4.047 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005641/0.7802, allocations: 153.2 kB / 0.6059 GB, free: 3.898 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.7802, allocations: 0 / 0.6059 GB, free: 3.898 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001267/0.7815, allocations: 367.5 kB / 0.6062 GB, free: 3.535 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.7816, allocations: 4.781 kB / 0.6062 GB, free: 3.531 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.7816, allocations: 0 / 0.6062 GB, free: 3.531 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/0.7816, allocations: 11.94 kB / 0.6062 GB, free: 3.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.7827, allocations: 119.8 kB / 0.6063 GB, free: 3.402 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.7851, allocations: 3.012 MB / 0.6093 GB, free: 280 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005017/0.7857, allocations: 39.53 kB / 0.6093 GB, free: 240 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.7857, allocations: 23.94 kB / 0.6094 GB, free: 216 kB / 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 () * Number of clocked 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.0003536/0.7861, allocations: 185.9 kB / 0.6095 GB, free: 20 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.7862, allocations: 31.8 kB / 0.6096 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.788, allocations: 465.2 kB / 0.61 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.788, allocations: 4 kB / 0.61 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.449e-05/0.7881, allocations: 0 / 0.61 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.7881, allocations: 0 / 0.61 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008015/0.7889, allocations: 377 kB / 0.6104 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.7889, allocations: 0 / 0.6104 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.79, allocations: 119.8 kB / 0.6105 GB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/0.79, allocations: 4 kB / 0.6105 GB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.7901, allocations: 19.92 kB / 0.6105 GB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/0.7924, allocations: 3.008 MB / 0.6134 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.7924, allocations: 0 / 0.6134 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.7937, allocations: 450.8 kB / 0.6139 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.7939, allocations: 116.7 kB / 0.614 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/0.794, allocations: 8 kB / 0.614 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/0.7944, allocations: 15.98 kB / 0.614 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.7945, allocations: 19.97 kB / 0.614 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.7945, allocations: 15.98 kB / 0.614 GB, free: 11.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000386/0.7949, allocations: 221.9 kB / 0.6143 GB, free: 10.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7949, allocations: 0 / 0.6143 GB, free: 10.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001066/0.796, allocations: 199.6 kB / 0.6144 GB, free: 10.78 MB / 442.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 () * Number of clocked 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.002561/0.7986, allocations: 1.172 MB / 0.6156 GB, free: 9.586 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001767/0.8005, allocations: 359.6 kB / 0.6159 GB, free: 9.234 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.8005, allocations: 0 / 0.6159 GB, free: 9.234 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.8015, allocations: 207.7 kB / 0.6161 GB, free: 9.031 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006213/0.8022, allocations: 56.64 kB / 0.6162 GB, free: 8.977 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006041/0.8082, allocations: 2.513 MB / 0.6186 GB, free: 6.418 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005978/0.8089, allocations: 0.8263 MB / 0.6194 GB, free: 5.566 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000346/0.8092, allocations: 119.4 kB / 0.6196 GB, free: 5.449 MB / 442.7 MB Notification: Performance of SimCode: time 1.243e-06/0.8093, allocations: 3.938 kB / 0.6196 GB, free: 5.445 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.153/3.963, allocations: 14.52 MB / 0.6337 GB, free: 6.949 MB / 458.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat