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.001471/0.001471, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.086/2.086, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.00107/0.00107, allocations: 82.67 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2799/0.2799, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.649e-05/3.659e-05, allocations: 8 kB / 425.4 MB, free: 23.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1145, allocations: 58.85 MB / 484.3 MB, free: 12.33 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5337/0.6483, allocations: 101.5 MB / 0.572 GB, free: 2.031 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003717/0.6487, allocations: 99.52 kB / 0.5721 GB, free: 1.977 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.1223/0.771, allocations: 22.61 MB / 0.5942 GB, free: 14.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.771, allocations: 0 / 0.5942 GB, free: 14.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.098e-05/0.7711, allocations: 8 kB / 0.5942 GB, free: 14.51 MB / 410.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.001515/0.7726, allocations: 0.615 MB / 0.5948 GB, free: 13.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.7727, allocations: 12.03 kB / 0.5948 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.7728, allocations: 81.89 kB / 0.5949 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.7729, allocations: 31.62 kB / 0.5949 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005067/0.7734, allocations: 265 kB / 0.5951 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.7735, allocations: 23.72 kB / 0.5952 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.82e-05/0.7736, allocations: 34.55 kB / 0.5952 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.7747, allocations: 477.2 kB / 0.5957 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.7747, allocations: 0 / 0.5957 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.179e-05/0.7748, allocations: 22.83 kB / 0.5957 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.693e-05/0.7749, allocations: 40.97 kB / 0.5957 GB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.7761, allocations: 0.4979 MB / 0.5962 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00314/0.7793, allocations: 1.335 MB / 0.5975 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.7805, allocations: 366.6 kB / 0.5979 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/0.7808, allocations: 114.9 kB / 0.598 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.939e-05/0.7809, allocations: 7.984 kB / 0.598 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.7809, allocations: 42.25 kB / 0.598 GB, free: 10.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 3.186e-06/0.7809, allocations: 0 / 0.598 GB, free: 10.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009107/0.7819, allocations: 278.8 kB / 0.5983 GB, free: 10.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.7819, allocations: 59.41 kB / 0.5983 GB, free: 10.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004646/0.7824, allocations: 277.4 kB / 0.5986 GB, free: 10.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.7825, allocations: 28.52 kB / 0.5986 GB, free: 10.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.7827, allocations: 248.9 kB / 0.5989 GB, free: 10.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.7828, allocations: 96.7 kB / 0.599 GB, free: 10.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.7828, allocations: 7.375 kB / 0.599 GB, free: 10.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.783, allocations: 326.4 kB / 0.5993 GB, free: 9.695 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/0.7833, allocations: 109.9 kB / 0.5994 GB, free: 9.609 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.7837, allocations: 147 kB / 0.5995 GB, free: 9.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.7841, allocations: 130.2 kB / 0.5996 GB, free: 9.375 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.7841, allocations: 0 / 0.5996 GB, free: 9.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009499/0.7851, allocations: 321.8 kB / 0.6 GB, free: 9.105 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.7851, allocations: 4 kB / 0.6 GB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.7851, allocations: 4 kB / 0.6 GB, free: 9.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.7852, allocations: 3.953 kB / 0.6 GB, free: 9.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.7863, allocations: 135.1 kB / 0.6001 GB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.7886, allocations: 3.002 MB / 0.603 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000477/0.7891, allocations: 47.73 kB / 0.6031 GB, free: 5.836 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-05/0.7892, allocations: 15.98 kB / 0.6031 GB, free: 5.82 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.0001478/0.7893, allocations: 119.7 kB / 0.6032 GB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.565e-05/0.7894, allocations: 23.72 kB / 0.6032 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.7908, allocations: 435.5 kB / 0.6036 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.589e-06/0.7909, allocations: 7.938 kB / 0.6036 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.7909, allocations: 0 / 0.6036 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.699e-06/0.7909, allocations: 3.984 kB / 0.6037 GB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000686/0.7916, allocations: 375 kB / 0.604 GB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.7916, allocations: 0 / 0.604 GB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.7927, allocations: 119.8 kB / 0.6041 GB, free: 4.824 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.7927, allocations: 0 / 0.6041 GB, free: 4.824 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.851e-05/0.7927, allocations: 15.73 kB / 0.6041 GB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002188/0.7949, allocations: 3.006 MB / 0.6071 GB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.795, allocations: 0 / 0.6071 GB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009513/0.7959, allocations: 420.2 kB / 0.6075 GB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.7961, allocations: 116.5 kB / 0.6076 GB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.115e-05/0.7962, allocations: 7.812 kB / 0.6076 GB, free: 1.207 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003565/0.7966, allocations: 11.88 kB / 0.6076 GB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.7967, allocations: 23.95 kB / 0.6076 GB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/0.7968, allocations: 11 kB / 0.6076 GB, free: 1.168 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003658/0.7971, allocations: 222.7 kB / 0.6078 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7972, allocations: 4 kB / 0.6079 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009648/0.7981, allocations: 200.4 kB / 0.608 GB, free: 0.7969 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.002083/0.8002, allocations: 1.143 MB / 0.6092 GB, free: 15.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.8016, allocations: 314.8 kB / 0.6095 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.8016, allocations: 0 / 0.6095 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008566/0.8025, allocations: 197.8 kB / 0.6096 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005669/0.8031, allocations: 63.33 kB / 0.6097 GB, free: 15.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.8051, allocations: 0.6735 MB / 0.6104 GB, free: 14.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006192/0.8057, allocations: 0.8369 MB / 0.6112 GB, free: 13.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/0.806, allocations: 126 kB / 0.6113 GB, free: 13.63 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/0.806, allocations: 0 / 0.6113 GB, free: 13.63 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.169/3.975, allocations: 14.46 MB / 0.6254 GB, free: 15.2 MB / 442.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