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.002222/0.002222, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.115/2.115, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002297/0.002297, allocations: 87.64 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3011/0.3011, allocations: 43.49 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.152e-05/2.168e-05, allocations: 4 kB / 418.4 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4893/0.4893, allocations: 58.85 MB / 477.2 MB, free: 5.176 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1656/0.655, allocations: 88.13 MB / 0.5521 GB, free: 11.07 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003601/0.6554, allocations: 95.92 kB / 0.5522 GB, free: 10.98 MB / 395.1 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.02087/0.6763, allocations: 4.213 MB / 0.5563 GB, free: 6.77 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6763, allocations: 7.938 kB / 0.5563 GB, free: 6.762 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.6764, allocations: 4 kB / 0.5563 GB, free: 6.758 MB / 395.1 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.0007858/0.6771, allocations: 442.6 kB / 0.5567 GB, free: 6.281 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.6772, allocations: 8.031 kB / 0.5567 GB, free: 6.273 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.6784, allocations: 103.7 kB / 0.5568 GB, free: 6.172 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.6789, allocations: 210.9 kB / 0.557 GB, free: 5.926 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.6789, allocations: 4 kB / 0.557 GB, free: 5.922 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.6789, allocations: 8 kB / 0.557 GB, free: 5.914 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005776/0.6795, allocations: 195.9 kB / 0.5572 GB, free: 5.723 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.68, allocations: 193.3 kB / 0.5574 GB, free: 5.527 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.6801, allocations: 0 / 0.5574 GB, free: 5.527 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.6801, allocations: 3.984 kB / 0.5574 GB, free: 5.523 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.682e-05/0.6802, allocations: 15.94 kB / 0.5574 GB, free: 5.508 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.6819, allocations: 0.6824 MB / 0.5581 GB, free: 4.746 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.6822, allocations: 74.53 kB / 0.5582 GB, free: 4.664 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.6823, allocations: 36.78 kB / 0.5582 GB, free: 4.625 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.6824, allocations: 4.141 kB / 0.5582 GB, free: 4.621 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.6824, allocations: 42.55 kB / 0.5582 GB, free: 4.57 MB / 395.1 MB Notification: Performance of pre-optimization done (n=7): time 2.805e-06/0.6824, allocations: 0 / 0.5582 GB, free: 4.57 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003784/0.6828, allocations: 97.53 kB / 0.5583 GB, free: 4.469 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.6829, allocations: 51.41 kB / 0.5584 GB, free: 4.406 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.683, allocations: 125.2 kB / 0.5585 GB, free: 4.277 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.6831, allocations: 25.7 kB / 0.5585 GB, free: 4.246 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.6832, allocations: 210.2 kB / 0.5587 GB, free: 4.039 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.6833, allocations: 27.56 kB / 0.5588 GB, free: 4.012 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.6833, allocations: 0 / 0.5588 GB, free: 4.012 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.6835, allocations: 318.8 kB / 0.5591 GB, free: 3.691 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.6836, allocations: 35.97 kB / 0.5591 GB, free: 3.656 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.6838, allocations: 82.84 kB / 0.5592 GB, free: 3.551 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.6839, allocations: 43.95 kB / 0.5592 GB, free: 3.508 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.6839, allocations: 0 / 0.5592 GB, free: 3.508 MB / 395.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000389/0.6843, allocations: 145.4 kB / 0.5594 GB, free: 3.359 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.6844, allocations: 7.953 kB / 0.5594 GB, free: 3.352 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.6844, allocations: 4 kB / 0.5594 GB, free: 3.348 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.6844, allocations: 4 kB / 0.5594 GB, free: 3.344 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.686, allocations: 108.1 kB / 0.5595 GB, free: 3.238 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.6881, allocations: 1.824 MB / 0.5613 GB, free: 1.344 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.6884, allocations: 19.83 kB / 0.5613 GB, free: 1.324 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.6884, allocations: 11.94 kB / 0.5613 GB, free: 1.312 MB / 395.1 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.0001224/0.6886, allocations: 108.7 kB / 0.5614 GB, free: 1.199 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002972/0.6889, allocations: 109.6 kB / 0.5615 GB, free: 1.086 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.6889, allocations: 11.89 kB / 0.5615 GB, free: 1.074 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004706/0.6894, allocations: 134.1 kB / 0.5616 GB, free: 0.9414 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.6894, allocations: 8 kB / 0.5616 GB, free: 0.9336 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6895, allocations: 0 / 0.5616 GB, free: 0.9336 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.6895, allocations: 0 / 0.5616 GB, free: 0.9336 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.6898, allocations: 194.2 kB / 0.5618 GB, free: 0.707 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.6898, allocations: 0 / 0.5618 GB, free: 0.707 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.6912, allocations: 93.02 kB / 0.5619 GB, free: 0.6172 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.6912, allocations: 3.953 kB / 0.5619 GB, free: 0.6133 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.6912, allocations: 4 kB / 0.5619 GB, free: 0.6094 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/0.6928, allocations: 1.782 MB / 0.5637 GB, free: 14.76 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.6928, allocations: 0 / 0.5637 GB, free: 14.76 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.6932, allocations: 215.3 kB / 0.5639 GB, free: 14.53 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.171e-05/0.6933, allocations: 88.95 kB / 0.564 GB, free: 14.43 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.6933, allocations: 3.953 kB / 0.564 GB, free: 14.42 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.6935, allocations: 11.98 kB / 0.564 GB, free: 14.41 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.6936, allocations: 8.078 kB / 0.564 GB, free: 14.4 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.6937, allocations: 15.94 kB / 0.564 GB, free: 14.39 MB / 411.1 MB Notification: Performance of sorting global known variables: time 9.584e-05/0.6938, allocations: 98.92 kB / 0.5641 GB, free: 14.29 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6938, allocations: 0 / 0.5641 GB, free: 14.29 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.000467/0.6943, allocations: 51.84 kB / 0.5641 GB, free: 14.24 MB / 411.1 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.0008216/0.6951, allocations: 0.762 MB / 0.5649 GB, free: 13.45 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.00163/0.6967, allocations: 155.7 kB / 0.565 GB, free: 13.3 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.6968, allocations: 0 / 0.565 GB, free: 13.3 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.6978, allocations: 88.28 kB / 0.5651 GB, free: 13.21 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.6981, allocations: 22.78 kB / 0.5651 GB, free: 13.2 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009617/0.6991, allocations: 292 kB / 0.5654 GB, free: 12.86 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.6995, allocations: 0.7431 MB / 0.5661 GB, free: 12.09 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.6997, allocations: 43.36 kB / 0.5662 GB, free: 12.05 MB / 411.1 MB Notification: Performance of SimCode: time 9.11e-07/0.6997, allocations: 0 / 0.5662 GB, free: 12.05 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.072/3.772, allocations: 4.893 MB / 0.571 GB, free: 7.168 MB / 411.1 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