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_volumeFlowRate_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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.001526/0.001526, allocations: 181.7 kB / 13.66 MB, free: 1.664 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.141/2.141, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001091/0.001091, allocations: 82.72 kB / 267.5 MB, free: 14.11 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.3384/0.3384, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.483e-05/4.493e-05, allocations: 4 kB / 425.4 MB, free: 23.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1241, allocations: 58.84 MB / 484.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.495/0.6192, allocations: 89.36 MB / 0.5602 GB, free: 14.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003872/0.6196, allocations: 91.38 kB / 0.5603 GB, free: 14.06 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5587:11-5590:61: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:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.03867/0.6583, allocations: 7.825 MB / 0.5679 GB, free: 7.422 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6584, allocations: 0 / 0.5679 GB, free: 7.422 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.6584, allocations: 0 / 0.5679 GB, free: 7.422 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007567/0.6592, allocations: 445.8 kB / 0.5683 GB, free: 6.953 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.6592, allocations: 16.02 kB / 0.5683 GB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.872e-05/0.6593, allocations: 50.48 kB / 0.5684 GB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.6606, allocations: 90.31 kB / 0.5685 GB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.661, allocations: 225.6 kB / 0.5687 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.661, allocations: 9.938 kB / 0.5687 GB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/0.6611, allocations: 15.5 kB / 0.5687 GB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007364/0.6618, allocations: 288.9 kB / 0.569 GB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.6619, allocations: 0 / 0.569 GB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/0.6619, allocations: 7.625 kB / 0.569 GB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.345e-05/0.662, allocations: 27.48 kB / 0.569 GB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007352/0.6627, allocations: 281.2 kB / 0.5693 GB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.6652, allocations: 0.8429 MB / 0.5701 GB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/0.6659, allocations: 204.3 kB / 0.5703 GB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.6661, allocations: 71.84 kB / 0.5704 GB, free: 4.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.959e-05/0.6662, allocations: 4 kB / 0.5704 GB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.6662, allocations: 34.55 kB / 0.5704 GB, free: 4.926 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.655e-06/0.6662, allocations: 0 / 0.5704 GB, free: 4.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006772/0.6669, allocations: 183.5 kB / 0.5706 GB, free: 4.762 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.667, allocations: 55.41 kB / 0.5706 GB, free: 4.695 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.6673, allocations: 172.8 kB / 0.5708 GB, free: 4.531 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.6673, allocations: 25.7 kB / 0.5708 GB, free: 4.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.6674, allocations: 204.7 kB / 0.571 GB, free: 4.309 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.6675, allocations: 34.73 kB / 0.5711 GB, free: 4.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.6675, allocations: 0 / 0.5711 GB, free: 4.281 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6677, allocations: 318.4 kB / 0.5714 GB, free: 3.965 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.6679, allocations: 70.92 kB / 0.5714 GB, free: 3.906 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.6682, allocations: 124.7 kB / 0.5715 GB, free: 3.777 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.6685, allocations: 71.23 kB / 0.5716 GB, free: 3.715 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6685, allocations: 4 kB / 0.5716 GB, free: 3.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007004/0.6692, allocations: 234.1 kB / 0.5718 GB, free: 3.504 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.6693, allocations: 11.98 kB / 0.5719 GB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.549e-06/0.6693, allocations: 0 / 0.5719 GB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.6693, allocations: 7.938 kB / 0.5719 GB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000873/0.6702, allocations: 83.53 kB / 0.5719 GB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.6716, allocations: 1.784 MB / 0.5737 GB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000474/0.6721, allocations: 32.08 kB / 0.5737 GB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.6722, allocations: 19.48 kB / 0.5737 GB, free: 1.52 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 (17): * Single equations (assignments): 14 * 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.0001721/0.6723, allocations: 112.5 kB / 0.5738 GB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.6724, allocations: 19.77 kB / 0.5739 GB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000831/0.6733, allocations: 227.4 kB / 0.5741 GB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.6733, allocations: 0 / 0.5741 GB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6733, allocations: 0 / 0.5741 GB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.6733, allocations: 3.984 kB / 0.5741 GB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/0.6738, allocations: 250.8 kB / 0.5743 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.6738, allocations: 0 / 0.5743 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007834/0.6746, allocations: 75.42 kB / 0.5744 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.6747, allocations: 4 kB / 0.5744 GB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/0.6747, allocations: 11.55 kB / 0.5744 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.6761, allocations: 1.787 MB / 0.5761 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.6761, allocations: 0 / 0.5761 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006819/0.6768, allocations: 278.9 kB / 0.5764 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.766e-05/0.6769, allocations: 100.2 kB / 0.5765 GB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.677, allocations: 3.984 kB / 0.5765 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.6774, allocations: 8 kB / 0.5765 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.732e-05/0.6775, allocations: 19.38 kB / 0.5765 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.145e-05/0.6776, allocations: 11.97 kB / 0.5766 GB, free: 14.56 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001855/0.6778, allocations: 135.8 kB / 0.5767 GB, free: 14.44 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6778, allocations: 0 / 0.5767 GB, free: 14.44 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005688/0.6784, allocations: 72.66 kB / 0.5768 GB, free: 14.38 MB / 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.001303/0.6797, allocations: 0.8739 MB / 0.5776 GB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009481/0.6807, allocations: 189.5 kB / 0.5778 GB, free: 13.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.6807, allocations: 0 / 0.5778 GB, free: 13.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005412/0.6812, allocations: 122.1 kB / 0.5779 GB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.6815, allocations: 16.47 kB / 0.5779 GB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.6826, allocations: 333 kB / 0.5782 GB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.6831, allocations: 0.7466 MB / 0.579 GB, free: 12.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.6834, allocations: 58.31 kB / 0.579 GB, free: 12.08 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6834, allocations: 0 / 0.579 GB, free: 12.08 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.92/3.603, allocations: 5.761 MB / 0.5846 GB, free: 6.332 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat