Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.003121/0.003121, allocations: 180.8 kB / 13.66 MB, free: 1.656 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.32/2.32, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001051/0.001051, allocations: 94.58 kB / 267.5 MB, free: 14.1 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.3799/0.3799, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.518e-05/3.548e-05, allocations: 0 / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1231, allocations: 58.84 MB / 484.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5261/0.6493, allocations: 88.8 MB / 0.5596 GB, free: 14.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005694/0.6499, allocations: 96.86 kB / 0.5597 GB, free: 14.67 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5488:11-5489:129:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5496:11-5497:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.03301/0.683, allocations: 4.263 MB / 0.5639 GB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.683, allocations: 4 kB / 0.5639 GB, free: 11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.6831, allocations: 4 kB / 0.5639 GB, free: 10.99 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009688/0.6841, allocations: 433 kB / 0.5643 GB, free: 10.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.698e-05/0.6841, allocations: 12.03 kB / 0.5643 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.346e-05/0.6843, allocations: 49.42 kB / 0.5644 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001824/0.6861, allocations: 103.4 kB / 0.5645 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004747/0.6866, allocations: 216.3 kB / 0.5647 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.6867, allocations: 7.875 kB / 0.5647 GB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.511e-05/0.6867, allocations: 11.94 kB / 0.5647 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008635/0.6877, allocations: 224.4 kB / 0.5649 GB, free: 9.949 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.6877, allocations: 0 / 0.5649 GB, free: 9.949 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.934e-05/0.6878, allocations: 7.375 kB / 0.5649 GB, free: 9.945 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.99e-05/0.6879, allocations: 11.78 kB / 0.5649 GB, free: 9.934 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007989/0.6887, allocations: 202.1 kB / 0.5651 GB, free: 9.793 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00274/0.6914, allocations: 0.7394 MB / 0.5658 GB, free: 9.023 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.6918, allocations: 77.22 kB / 0.5659 GB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.692, allocations: 38.97 kB / 0.5659 GB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.6921, allocations: 3.984 kB / 0.5659 GB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.6922, allocations: 30.56 kB / 0.566 GB, free: 8.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.867e-06/0.6922, allocations: 0 / 0.566 GB, free: 8.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000575/0.6928, allocations: 103 kB / 0.5661 GB, free: 8.773 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.6929, allocations: 59.41 kB / 0.5661 GB, free: 8.703 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/0.6932, allocations: 172.9 kB / 0.5663 GB, free: 8.539 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.6933, allocations: 27.89 kB / 0.5663 GB, free: 8.508 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.6935, allocations: 199.8 kB / 0.5665 GB, free: 8.324 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.6936, allocations: 30.98 kB / 0.5665 GB, free: 8.297 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.001e-05/0.6936, allocations: 0 / 0.5665 GB, free: 8.297 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.6938, allocations: 318.7 kB / 0.5668 GB, free: 7.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.694, allocations: 31.41 kB / 0.5669 GB, free: 7.953 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.6943, allocations: 92.28 kB / 0.567 GB, free: 7.848 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.6946, allocations: 54.33 kB / 0.567 GB, free: 7.801 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.6946, allocations: 3.938 kB / 0.567 GB, free: 7.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007044/0.6953, allocations: 154.8 kB / 0.5672 GB, free: 7.656 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.6954, allocations: 8 kB / 0.5672 GB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.6954, allocations: 0 / 0.5672 GB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.928e-05/0.6955, allocations: 4 kB / 0.5672 GB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002387/0.6979, allocations: 106.8 kB / 0.5673 GB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002887/0.7008, allocations: 1.826 MB / 0.5691 GB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004488/0.7013, allocations: 19.88 kB / 0.5691 GB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/0.7014, allocations: 15.48 kB / 0.5691 GB, free: 5.633 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.7016, allocations: 115.2 kB / 0.5692 GB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.23e-05/0.7017, allocations: 19.77 kB / 0.5692 GB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007654/0.7025, allocations: 152.3 kB / 0.5694 GB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.7025, allocations: 4 kB / 0.5694 GB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.7025, allocations: 0 / 0.5694 GB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.7025, allocations: 0 / 0.5694 GB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006002/0.7031, allocations: 227.5 kB / 0.5696 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.7032, allocations: 3.984 kB / 0.5696 GB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002057/0.7052, allocations: 91.89 kB / 0.5697 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.041e-05/0.7053, allocations: 11.95 kB / 0.5697 GB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.7054, allocations: 3.75 kB / 0.5697 GB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.7075, allocations: 1.78 MB / 0.5714 GB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.7076, allocations: 0 / 0.5714 GB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005883/0.7082, allocations: 217.6 kB / 0.5716 GB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.7083, allocations: 88.95 kB / 0.5717 GB, free: 2.852 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.683e-05/0.7084, allocations: 3.953 kB / 0.5717 GB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.7088, allocations: 11.98 kB / 0.5717 GB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.994e-05/0.7089, allocations: 15.7 kB / 0.5718 GB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.709, allocations: 4 kB / 0.5718 GB, free: 2.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002726/0.7093, allocations: 135.5 kB / 0.5719 GB, free: 2.703 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.7093, allocations: 0 / 0.5719 GB, free: 2.703 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007246/0.71, allocations: 47.59 kB / 0.5719 GB, free: 2.66 MB / 378.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001306/0.7113, allocations: 0.7881 MB / 0.5727 GB, free: 1.867 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002488/0.7139, allocations: 159.3 kB / 0.5729 GB, free: 1.723 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.426e-05/0.7139, allocations: 4 kB / 0.5729 GB, free: 1.719 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001596/0.7155, allocations: 91.09 kB / 0.5729 GB, free: 1.637 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007782/0.7164, allocations: 39.36 kB / 0.573 GB, free: 1.609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.7179, allocations: 308.7 kB / 0.5733 GB, free: 1.289 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005824/0.7185, allocations: 0.7469 MB / 0.574 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.7188, allocations: 44.8 kB / 0.574 GB, free: 0.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.154e-06/0.7188, allocations: 0 / 0.574 GB, free: 0.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.792/3.511, allocations: 5.261 MB / 0.5792 GB, free: 11.25 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat