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.001582/0.001582, allocations: 185.3 kB / 16.41 MB, free: 5.727 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.049/2.049, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001199/0.001199, allocations: 92.42 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5882/0.5882, allocations: 43.57 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006492/0.0006494, allocations: 12 kB / 431.5 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1294, allocations: 58.84 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4729/0.6024, allocations: 88.88 MB / 0.5656 GB, free: 13.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003745/0.6028, allocations: 102.2 kB / 0.5657 GB, free: 13.5 MB / 394.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.0224/0.6252, allocations: 4.268 MB / 0.5699 GB, free: 9.262 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6253, allocations: 0 / 0.5699 GB, free: 9.262 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.6253, allocations: 4 kB / 0.5699 GB, free: 9.258 MB / 394.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.0007813/0.6261, allocations: 449.8 kB / 0.5703 GB, free: 8.773 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.6262, allocations: 12.03 kB / 0.5704 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.241e-05/0.6263, allocations: 46.55 kB / 0.5704 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.6275, allocations: 107.1 kB / 0.5705 GB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.6279, allocations: 212.4 kB / 0.5707 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.6279, allocations: 24.55 kB / 0.5707 GB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.628, allocations: 12 kB / 0.5707 GB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007409/0.6287, allocations: 238.2 kB / 0.571 GB, free: 8.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.6288, allocations: 0 / 0.571 GB, free: 8.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.6288, allocations: 4 kB / 0.571 GB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.253e-05/0.6289, allocations: 20.8 kB / 0.571 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008142/0.6297, allocations: 235.8 kB / 0.5712 GB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.6316, allocations: 0.7356 MB / 0.5719 GB, free: 7.012 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.632, allocations: 90.5 kB / 0.572 GB, free: 6.914 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.6321, allocations: 4.156 kB / 0.572 GB, free: 6.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.6321, allocations: 38.55 kB / 0.5721 GB, free: 6.863 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 3.707e-06/0.6321, allocations: 0 / 0.5721 GB, free: 6.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009363/0.6331, allocations: 185.4 kB / 0.5722 GB, free: 6.676 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.6332, allocations: 53.47 kB / 0.5723 GB, free: 6.613 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.6334, allocations: 172.8 kB / 0.5725 GB, free: 6.438 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.6335, allocations: 25.7 kB / 0.5725 GB, free: 6.406 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.6336, allocations: 205.9 kB / 0.5727 GB, free: 6.203 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.6337, allocations: 23.66 kB / 0.5727 GB, free: 6.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/0.6337, allocations: 4 kB / 0.5727 GB, free: 6.176 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.6339, allocations: 314.8 kB / 0.573 GB, free: 5.859 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.6341, allocations: 55.95 kB / 0.5731 GB, free: 5.805 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.6345, allocations: 103.8 kB / 0.5732 GB, free: 5.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.6348, allocations: 67.89 kB / 0.5732 GB, free: 5.613 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6348, allocations: 0 / 0.5732 GB, free: 5.613 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00075/0.6356, allocations: 193.3 kB / 0.5734 GB, free: 5.418 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.6356, allocations: 8 kB / 0.5734 GB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.6356, allocations: 5.031 kB / 0.5734 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.6357, allocations: 8.219 kB / 0.5734 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.6373, allocations: 107.9 kB / 0.5735 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.6395, allocations: 1.813 MB / 0.5753 GB, free: 3.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/0.6398, allocations: 31.98 kB / 0.5753 GB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.6399, allocations: 12 kB / 0.5753 GB, free: 3.367 MB / 394.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 () * Number of clocked 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.0002297/0.6401, allocations: 141.7 kB / 0.5755 GB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/0.6402, allocations: 11.86 kB / 0.5755 GB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000821/0.641, allocations: 194.8 kB / 0.5757 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6411, allocations: 0 / 0.5757 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.6411, allocations: 0 / 0.5757 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.6411, allocations: 7.984 kB / 0.5757 GB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004265/0.6415, allocations: 225.5 kB / 0.5759 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.6415, allocations: 0 / 0.5759 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/0.643, allocations: 93.02 kB / 0.576 GB, free: 2.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.295e-05/0.643, allocations: 3.953 kB / 0.576 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/0.6431, allocations: 7.984 kB / 0.576 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.6447, allocations: 1.775 MB / 0.5777 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.6448, allocations: 4.281 kB / 0.5777 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007335/0.6455, allocations: 253.2 kB / 0.578 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-05/0.6456, allocations: 88.92 kB / 0.5781 GB, free: 428 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.6457, allocations: 3.953 kB / 0.5781 GB, free: 424 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.6459, allocations: 19.98 kB / 0.5781 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/0.646, allocations: 7.984 kB / 0.5781 GB, free: 396 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.6461, allocations: 0 / 0.5781 GB, free: 396 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000202/0.6463, allocations: 140.9 kB / 0.5782 GB, free: 256 kB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6463, allocations: 0 / 0.5782 GB, free: 256 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004657/0.6468, allocations: 55.83 kB / 0.5783 GB, free: 200 kB / 394.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 () * Number of clocked 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.001291/0.6481, allocations: 0.8127 MB / 0.5791 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002025/0.6501, allocations: 207.4 kB / 0.5793 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.6502, allocations: 0 / 0.5793 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.6514, allocations: 111.8 kB / 0.5794 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.652, allocations: 48.39 kB / 0.5794 GB, free: 15.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003334/0.6554, allocations: 2.112 MB / 0.5815 GB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.6559, allocations: 0.7475 MB / 0.5822 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.6561, allocations: 39.42 kB / 0.5822 GB, free: 12.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6561, allocations: 0 / 0.5822 GB, free: 12.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.913/3.569, allocations: 5.269 MB / 0.5874 GB, free: 6.777 MB / 410.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