Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001126/0.001126, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007825/0.0007827, allocations: 90.16 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1988/0.1988, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.467e-05/2.477e-05, allocations: 0 / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09726/0.0973, allocations: 63.25 MB / 0.5115 GB, free: 6.684 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3805/0.4779, allocations: 90.96 MB / 0.6003 GB, free: 2.844 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.4782, allocations: 98.42 kB / 0.6004 GB, free: 2.785 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5404:11-5405: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 trunk/Fluid/Dissipation.mo:5412:11-5413: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.0126/0.4908, allocations: 4.414 MB / 0.6047 GB, free: 14.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4908, allocations: 0 / 0.6047 GB, free: 14.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.4908, allocations: 0 / 0.6047 GB, free: 14.98 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000469/0.4913, allocations: 433.5 kB / 0.6051 GB, free: 14.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.4913, allocations: 15.97 kB / 0.6051 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.318e-05/0.4914, allocations: 54.34 kB / 0.6052 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006568/0.4921, allocations: 99.58 kB / 0.6053 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.4923, allocations: 222.4 kB / 0.6055 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.4923, allocations: 11.48 kB / 0.6055 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.4924, allocations: 11.38 kB / 0.6055 GB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.4927, allocations: 211.6 kB / 0.6057 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.4927, allocations: 4 kB / 0.6057 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.4927, allocations: 18.98 kB / 0.6057 GB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/0.4928, allocations: 8 kB / 0.6058 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/0.493, allocations: 199.3 kB / 0.6059 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.4941, allocations: 0.7441 MB / 0.6067 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.4942, allocations: 73.84 kB / 0.6067 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.186e-05/0.4943, allocations: 34.72 kB / 0.6068 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.4943, allocations: 0 / 0.6068 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.4944, allocations: 46.17 kB / 0.6068 GB, free: 12.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.4944, allocations: 3.938 kB / 0.6068 GB, free: 12.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002424/0.4946, allocations: 100.3 kB / 0.6069 GB, free: 12.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.4947, allocations: 51.41 kB / 0.607 GB, free: 12.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.4948, allocations: 170.5 kB / 0.6071 GB, free: 12.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.4949, allocations: 29.33 kB / 0.6072 GB, free: 12.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.4949, allocations: 132.8 kB / 0.6073 GB, free: 12.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.495, allocations: 35.28 kB / 0.6073 GB, free: 12.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.495, allocations: 0 / 0.6073 GB, free: 12.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.4951, allocations: 329.1 kB / 0.6076 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.617e-05/0.4952, allocations: 34.55 kB / 0.6077 GB, free: 11.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.554e-05/0.4953, allocations: 82.64 kB / 0.6077 GB, free: 11.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.263e-05/0.4953, allocations: 50.22 kB / 0.6078 GB, free: 11.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4954, allocations: 4 kB / 0.6078 GB, free: 11.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002435/0.4956, allocations: 159.2 kB / 0.6079 GB, free: 11.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.4956, allocations: 5.625 kB / 0.608 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4956, allocations: 8 kB / 0.608 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.4957, allocations: 7.938 kB / 0.608 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008278/0.4965, allocations: 107.2 kB / 0.6081 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.4978, allocations: 1.82 MB / 0.6098 GB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.4979, allocations: 28.14 kB / 0.6099 GB, free: 9.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.498, allocations: 7.75 kB / 0.6099 GB, free: 9.672 MB / 410.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 7.558e-05/0.498, allocations: 105 kB / 0.61 GB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.4981, allocations: 11.86 kB / 0.61 GB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003199/0.4984, allocations: 163.8 kB / 0.6102 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4984, allocations: 4 kB / 0.6102 GB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4984, allocations: 0 / 0.6102 GB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4984, allocations: 0 / 0.6102 GB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.4987, allocations: 235.3 kB / 0.6104 GB, free: 9.141 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4987, allocations: 0 / 0.6104 GB, free: 9.141 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006825/0.4994, allocations: 91.89 kB / 0.6105 GB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.4994, allocations: 3.953 kB / 0.6105 GB, free: 9.047 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.4994, allocations: 4 kB / 0.6105 GB, free: 9.043 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.5005, allocations: 1.779 MB / 0.6122 GB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5005, allocations: 4.031 kB / 0.6122 GB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.5008, allocations: 220.4 kB / 0.6124 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/0.5008, allocations: 89.19 kB / 0.6125 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.5009, allocations: 7.953 kB / 0.6125 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.501, allocations: 8 kB / 0.6125 GB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.5011, allocations: 10.55 kB / 0.6125 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.5011, allocations: 4 kB / 0.6125 GB, free: 6.859 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.5012, allocations: 138.6 kB / 0.6127 GB, free: 6.738 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5012, allocations: 0 / 0.6127 GB, free: 6.738 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003397/0.5015, allocations: 55.59 kB / 0.6127 GB, free: 6.691 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 (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.000575/0.5021, allocations: 0.7775 MB / 0.6135 GB, free: 5.906 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008761/0.503, allocations: 162.3 kB / 0.6136 GB, free: 5.762 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.503, allocations: 4 kB / 0.6136 GB, free: 5.758 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005358/0.5036, allocations: 95.16 kB / 0.6137 GB, free: 5.672 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.5038, allocations: 43.41 kB / 0.6138 GB, free: 5.637 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006709/0.5045, allocations: 282.8 kB / 0.614 GB, free: 5.348 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.5049, allocations: 0.7435 MB / 0.6148 GB, free: 4.582 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.505, allocations: 37.12 kB / 0.6148 GB, free: 4.547 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.683e-05/0.5051, allocations: 43.11 kB / 0.6148 GB, free: 4.523 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5051, allocations: 0 / 0.6148 GB, free: 4.523 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.5235, allocations: 4.964 MB / 0.6197 GB, free: 15.82 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002764/0.5238, allocations: 242 kB / 0.6199 GB, free: 15.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/2.141, allocations: 3.953 kB / 0.6199 GB, free: 15.5 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat