Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_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.00098/0.00098, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000951/0.0009511, allocations: 106.6 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1934/0.1934, allocations: 45.14 MB / 383.7 MB, free: 308 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.505e-05/1.506e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09857/0.0986, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4322/0.5308, allocations: 112 MB / 0.6138 GB, free: 6.691 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.5311, allocations: 96.69 kB / 0.6139 GB, free: 6.637 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:4871:11-4872:126:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:4893:11-4894:120:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:4853:11-4869:48:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:4875:11-4891:59:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.07915/0.6103, allocations: 28.07 MB / 0.6413 GB, free: 15.06 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.6103, allocations: 0 / 0.6413 GB, free: 15.06 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.6104, allocations: 8 kB / 0.6413 GB, free: 15.05 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001633/0.612, allocations: 0.9185 MB / 0.6422 GB, free: 14.13 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.6121, allocations: 12.02 kB / 0.6422 GB, free: 14.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.6122, allocations: 82.95 kB / 0.6423 GB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.6127, allocations: 344.9 kB / 0.6426 GB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.6127, allocations: 32 kB / 0.6427 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.835e-05/0.6128, allocations: 44 kB / 0.6427 GB, free: 13.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001425/0.6142, allocations: 1.213 MB / 0.6439 GB, free: 12.83 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.6156, allocations: 1.043 MB / 0.6449 GB, free: 12.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.6156, allocations: 0 / 0.6449 GB, free: 12.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.917e-05/0.6157, allocations: 0 / 0.6449 GB, free: 12.08 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.228e-05/0.6158, allocations: 77.22 kB / 0.645 GB, free: 12.01 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003884/0.6197, allocations: 2.766 MB / 0.6477 GB, free: 9.559 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006804/0.6204, allocations: 393.4 kB / 0.6481 GB, free: 9.258 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.6205, allocations: 116.8 kB / 0.6482 GB, free: 9.172 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.802e-05/0.6206, allocations: 19.81 kB / 0.6482 GB, free: 9.156 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.6206, allocations: 30.84 kB / 0.6482 GB, free: 9.117 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 2.284e-06/0.6206, allocations: 4 kB / 0.6482 GB, free: 9.113 MB / 442.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005177/0.6211, allocations: 313 kB / 0.6485 GB, free: 8.852 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.6212, allocations: 57.66 kB / 0.6486 GB, free: 8.785 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.6213, allocations: 188 kB / 0.6488 GB, free: 8.613 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.6214, allocations: 25.7 kB / 0.6488 GB, free: 8.582 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.6216, allocations: 382.3 kB / 0.6491 GB, free: 8.234 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.489e-05/0.6217, allocations: 115.5 kB / 0.6493 GB, free: 8.133 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/0.6217, allocations: 0 / 0.6493 GB, free: 8.133 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.6218, allocations: 334.6 kB / 0.6496 GB, free: 7.805 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.622, allocations: 127.9 kB / 0.6497 GB, free: 7.707 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/0.6223, allocations: 312.3 kB / 0.65 GB, free: 7.355 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.6226, allocations: 180.5 kB / 0.6502 GB, free: 7.207 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.6226, allocations: 4 kB / 0.6502 GB, free: 7.203 MB / 442.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006499/0.6232, allocations: 464.1 kB / 0.6506 GB, free: 6.805 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.6233, allocations: 13.72 kB / 0.6506 GB, free: 6.793 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.6233, allocations: 7.938 kB / 0.6506 GB, free: 6.785 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.6233, allocations: 12 kB / 0.6506 GB, free: 6.773 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007403/0.6241, allocations: 203.6 kB / 0.6508 GB, free: 6.578 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.6256, allocations: 3.005 MB / 0.6538 GB, free: 3.484 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.626, allocations: 47.56 kB / 0.6538 GB, free: 3.438 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/0.626, allocations: 31.69 kB / 0.6538 GB, free: 3.41 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (roughness,geometry[5],geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * 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.0001505/0.6262, allocations: 136.4 kB / 0.654 GB, free: 3.273 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000477/0.6267, allocations: 308 kB / 0.6543 GB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.6267, allocations: 27.72 kB / 0.6543 GB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.6278, allocations: 0.4988 MB / 0.6548 GB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.6278, allocations: 4 kB / 0.6548 GB, free: 2.559 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.6278, allocations: 11.98 kB / 0.6548 GB, free: 2.547 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.6278, allocations: 0 / 0.6548 GB, free: 2.547 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.6291, allocations: 0.96 MB / 0.6557 GB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.6291, allocations: 0 / 0.6557 GB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006236/0.6298, allocations: 170.1 kB / 0.6559 GB, free: 1.492 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.6298, allocations: 7.984 kB / 0.6559 GB, free: 1.484 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.6298, allocations: 15.98 kB / 0.6559 GB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/0.6315, allocations: 2.973 MB / 0.6588 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.6315, allocations: 0 / 0.6588 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005699/0.6321, allocations: 0.5384 MB / 0.6594 GB, free: 13.83 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/0.6321, allocations: 104.7 kB / 0.6595 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.6322, allocations: 11.94 kB / 0.6595 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.6324, allocations: 8 kB / 0.6595 GB, free: 13.69 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.6325, allocations: 39.33 kB / 0.6595 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.6325, allocations: 22.67 kB / 0.6595 GB, free: 13.63 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.488e-05/0.6326, allocations: 130.5 kB / 0.6597 GB, free: 13.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6326, allocations: 0 / 0.6597 GB, free: 13.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001203/0.6338, allocations: 373.4 kB / 0.66 GB, free: 13.16 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * 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.001701/0.6355, allocations: 1.941 MB / 0.6619 GB, free: 11.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007856/0.6363, allocations: 389.1 kB / 0.6623 GB, free: 10.88 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6363, allocations: 0 / 0.6623 GB, free: 10.88 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004502/0.6368, allocations: 212.8 kB / 0.6625 GB, free: 10.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.637, allocations: 11.34 kB / 0.6625 GB, free: 10.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.639, allocations: 1.098 MB / 0.6636 GB, free: 9.578 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005668/0.6395, allocations: 0.9994 MB / 0.6645 GB, free: 8.57 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005056/0.64, allocations: 170.8 kB / 0.6647 GB, free: 8.406 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.6403, allocations: 208 kB / 0.6649 GB, free: 8.348 MB / 458.7 MB Notification: Performance of SimCode: time 3.4e-07/0.6403, allocations: 4 kB / 0.6649 GB, free: 8.344 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03475/0.675, allocations: 11.25 MB / 0.6759 GB, free: 13.13 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002497/0.6754, allocations: 199.4 kB / 0.6761 GB, free: 12.87 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.018/2.693, allocations: 5.406 kB / 0.6761 GB, free: 12.87 MB / 474.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat