Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.0009498/0.0009499, allocations: 180.9 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008348/0.0008347, allocations: 86.62 kB / 261.7 MB, free: 1.688 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.1992/0.1992, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.586e-05/1.589e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1252, allocations: 58.85 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4288/0.5541, allocations: 92.17 MB / 0.5561 GB, free: 2.926 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.5544, allocations: 103.2 kB / 0.5562 GB, free: 2.867 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5367:11-5379:61:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5381:11-5382:129:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5385:11-5397:67:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5399:11-5400:123:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). Notification: Performance of FrontEnd - DAE generated: time 0.02225/0.5767, allocations: 8.835 MB / 0.5648 GB, free: 11.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5767, allocations: 0 / 0.5648 GB, free: 11.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.5767, allocations: 4 kB / 0.5648 GB, free: 11.38 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0006437/0.5774, allocations: 0.5138 MB / 0.5653 GB, free: 10.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.5775, allocations: 12.03 kB / 0.5653 GB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.478e-05/0.5775, allocations: 31.62 kB / 0.5653 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.5778, allocations: 250.3 kB / 0.5656 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.5778, allocations: 15.98 kB / 0.5656 GB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.5779, allocations: 16 kB / 0.5656 GB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004844/0.5784, allocations: 380.1 kB / 0.566 GB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.5789, allocations: 408.8 kB / 0.5663 GB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5789, allocations: 0 / 0.5663 GB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.5789, allocations: 0 / 0.5663 GB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.802e-05/0.579, allocations: 24.77 kB / 0.5664 GB, free: 9.902 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.5804, allocations: 1.126 MB / 0.5675 GB, free: 8.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.5805, allocations: 69.72 kB / 0.5675 GB, free: 8.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.059e-05/0.5806, allocations: 35.53 kB / 0.5676 GB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.5806, allocations: 0 / 0.5676 GB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.5807, allocations: 34.5 kB / 0.5676 GB, free: 8.676 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.5807, allocations: 4 kB / 0.5676 GB, free: 8.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002353/0.5809, allocations: 84.95 kB / 0.5677 GB, free: 8.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.581, allocations: 51.41 kB / 0.5677 GB, free: 8.527 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.5811, allocations: 154.2 kB / 0.5679 GB, free: 8.383 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.5812, allocations: 25.7 kB / 0.5679 GB, free: 8.352 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.5813, allocations: 218.7 kB / 0.5681 GB, free: 8.145 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.5813, allocations: 26.83 kB / 0.5681 GB, free: 8.121 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-06/0.5813, allocations: 0 / 0.5681 GB, free: 8.121 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.5815, allocations: 325.6 kB / 0.5685 GB, free: 7.801 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.74e-05/0.5815, allocations: 35.86 kB / 0.5685 GB, free: 7.773 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.5817, allocations: 153.6 kB / 0.5686 GB, free: 7.578 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.885e-05/0.5818, allocations: 66.48 kB / 0.5687 GB, free: 7.523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5818, allocations: 4 kB / 0.5687 GB, free: 7.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002717/0.5821, allocations: 193 kB / 0.5689 GB, free: 7.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.5821, allocations: 8.562 kB / 0.5689 GB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.5821, allocations: 11.98 kB / 0.5689 GB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.5821, allocations: 8 kB / 0.5689 GB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.5825, allocations: 82.83 kB / 0.569 GB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009801/0.5835, allocations: 1.788 MB / 0.5707 GB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.5837, allocations: 27.77 kB / 0.5708 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.5837, allocations: 15.19 kB / 0.5708 GB, free: 5.348 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0001033/0.5838, allocations: 119.2 kB / 0.5709 GB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001574/0.584, allocations: 100.5 kB / 0.571 GB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.584, allocations: 11.81 kB / 0.571 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003974/0.5844, allocations: 159.4 kB / 0.5712 GB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5844, allocations: 4 kB / 0.5712 GB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5844, allocations: 0 / 0.5712 GB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.5844, allocations: 7.938 kB / 0.5712 GB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.5847, allocations: 238.5 kB / 0.5714 GB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5847, allocations: 0 / 0.5714 GB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.5849, allocations: 59.95 kB / 0.5714 GB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5849, allocations: 0 / 0.5714 GB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.585, allocations: 4 kB / 0.5715 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008805/0.5858, allocations: 1.772 MB / 0.5732 GB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.5859, allocations: 3.984 kB / 0.5732 GB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.586, allocations: 197 kB / 0.5734 GB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.5861, allocations: 88.92 kB / 0.5735 GB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.5861, allocations: 7.984 kB / 0.5735 GB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.881e-05/0.5862, allocations: 11.98 kB / 0.5735 GB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.5863, allocations: 7.984 kB / 0.5735 GB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.5863, allocations: 4 kB / 0.5735 GB, free: 2.492 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.037e-05/0.5864, allocations: 116.6 kB / 0.5736 GB, free: 2.387 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5864, allocations: 4 kB / 0.5736 GB, free: 2.383 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000481/0.5869, allocations: 95 kB / 0.5737 GB, free: 2.293 MB / 378.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 (7): * Single equations (assignments): 4 * 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.0006764/0.5875, allocations: 0.7953 MB / 0.5745 GB, free: 1.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003611/0.5879, allocations: 130.7 kB / 0.5746 GB, free: 1.367 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5879, allocations: 0 / 0.5746 GB, free: 1.367 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.5881, allocations: 70.33 kB / 0.5747 GB, free: 1.305 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.5883, allocations: 9.031 kB / 0.5747 GB, free: 1.301 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007651/0.5891, allocations: 401.2 kB / 0.5751 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.5895, allocations: 0.8046 MB / 0.5758 GB, free: 72 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001949/0.5897, allocations: 57.05 kB / 0.5759 GB, free: 8 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.5898, allocations: 76.33 kB / 0.576 GB, free: 15.98 MB / 394.7 MB Notification: Performance of SimCode: time 1.804e-06/0.5898, allocations: 0 / 0.576 GB, free: 15.98 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.6145, allocations: 4.4 MB / 0.5803 GB, free: 11.61 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003408/0.615, allocations: 217.2 kB / 0.5805 GB, free: 11.32 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/2.283, allocations: 0 / 0.5805 GB, free: 11.32 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat