Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009775/0.0009773, allocations: 169.9 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008133/0.0008133, allocations: 94.06 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1814/0.1814, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.922e-05/1.95e-05, allocations: 7.938 kB / 444.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 61.92 MB / 0.4948 GB, free: 1.117 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3823/0.4991, allocations: 93.3 MB / 0.5859 GB, free: 3.016 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.4995, allocations: 95.92 kB / 0.586 GB, free: 2.922 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5283:11-5295: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 4.0.0+maint.om/Fluid/Dissipation.mo:5297:11-5298: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 4.0.0+maint.om/Fluid/Dissipation.mo:5301:11-5313: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 4.0.0+maint.om/Fluid/Dissipation.mo:5315:11-5316: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.02397/0.5235, allocations: 9.012 MB / 0.5948 GB, free: 9.824 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.5235, allocations: 4 kB / 0.5948 GB, free: 9.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.5235, allocations: 0 / 0.5948 GB, free: 9.82 MB / 410.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.000622/0.5241, allocations: 0.5257 MB / 0.5953 GB, free: 9.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.5242, allocations: 11.98 kB / 0.5953 GB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.339e-05/0.5243, allocations: 31.62 kB / 0.5954 GB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.5245, allocations: 230.7 kB / 0.5956 GB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.5246, allocations: 15.94 kB / 0.5956 GB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/0.5246, allocations: 23.95 kB / 0.5956 GB, free: 8.902 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005149/0.5251, allocations: 385.4 kB / 0.596 GB, free: 8.527 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005837/0.5257, allocations: 417.2 kB / 0.5964 GB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.5257, allocations: 0 / 0.5964 GB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.5258, allocations: 3.984 kB / 0.5964 GB, free: 8.102 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.035e-05/0.5258, allocations: 24.77 kB / 0.5964 GB, free: 8.078 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.5273, allocations: 1.133 MB / 0.5975 GB, free: 6.859 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.951e-05/0.5274, allocations: 54.56 kB / 0.5976 GB, free: 6.797 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.183e-05/0.5274, allocations: 28.84 kB / 0.5976 GB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.5275, allocations: 4 kB / 0.5976 GB, free: 6.762 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.5275, allocations: 34.52 kB / 0.5976 GB, free: 6.719 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.5275, allocations: 4 kB / 0.5976 GB, free: 6.715 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002286/0.5277, allocations: 93.66 kB / 0.5977 GB, free: 6.617 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.5278, allocations: 55.41 kB / 0.5978 GB, free: 6.551 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.5279, allocations: 141.5 kB / 0.5979 GB, free: 6.402 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.528, allocations: 25.7 kB / 0.5979 GB, free: 6.371 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.5281, allocations: 219.5 kB / 0.5981 GB, free: 6.148 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.5281, allocations: 27.64 kB / 0.5982 GB, free: 6.121 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-06/0.5281, allocations: 0 / 0.5982 GB, free: 6.121 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5283, allocations: 326.8 kB / 0.5985 GB, free: 5.793 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.763e-05/0.5283, allocations: 35.92 kB / 0.5985 GB, free: 5.758 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.5285, allocations: 164.2 kB / 0.5987 GB, free: 5.539 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.37e-05/0.5286, allocations: 59.89 kB / 0.5987 GB, free: 5.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5286, allocations: 4 kB / 0.5987 GB, free: 5.477 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002892/0.5289, allocations: 201.1 kB / 0.5989 GB, free: 5.273 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.5289, allocations: 9.203 kB / 0.5989 GB, free: 5.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.529, allocations: 4 kB / 0.5989 GB, free: 5.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.529, allocations: 8 kB / 0.5989 GB, free: 5.254 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.5294, allocations: 84.44 kB / 0.599 GB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009053/0.5303, allocations: 1.781 MB / 0.6008 GB, free: 3.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.5304, allocations: 32.05 kB / 0.6008 GB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.5305, allocations: 19.94 kB / 0.6008 GB, free: 3.27 MB / 410.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.0001146/0.5306, allocations: 112.9 kB / 0.6009 GB, free: 3.152 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001508/0.5307, allocations: 97.42 kB / 0.601 GB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.5308, allocations: 11.91 kB / 0.601 GB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004024/0.5312, allocations: 176 kB / 0.6012 GB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5312, allocations: 4 kB / 0.6012 GB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5312, allocations: 0 / 0.6012 GB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.5312, allocations: 0 / 0.6012 GB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.5315, allocations: 222.1 kB / 0.6014 GB, free: 2.609 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5315, allocations: 4 kB / 0.6014 GB, free: 2.605 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.5317, allocations: 67.89 kB / 0.6015 GB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.5317, allocations: 3.953 kB / 0.6015 GB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.5317, allocations: 7.984 kB / 0.6015 GB, free: 2.527 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007978/0.5326, allocations: 1.77 MB / 0.6032 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.5326, allocations: 0 / 0.6032 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.5327, allocations: 187.7 kB / 0.6034 GB, free: 500 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.5328, allocations: 84.92 kB / 0.6035 GB, free: 396 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.5328, allocations: 8.141 kB / 0.6035 GB, free: 388 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.716e-05/0.5329, allocations: 11.98 kB / 0.6035 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.533, allocations: 11.98 kB / 0.6035 GB, free: 364 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.533, allocations: 11.98 kB / 0.6035 GB, free: 352 kB / 410.7 MB Notification: Performance of sorting global known variables: time 7.265e-05/0.5331, allocations: 111.7 kB / 0.6036 GB, free: 244 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5331, allocations: 0 / 0.6036 GB, free: 244 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.000509/0.5336, allocations: 91.62 kB / 0.6037 GB, free: 152 kB / 410.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.0006507/0.5343, allocations: 0.8122 MB / 0.6045 GB, free: 15.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003563/0.5346, allocations: 131.8 kB / 0.6046 GB, free: 15.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5346, allocations: 0 / 0.6046 GB, free: 15.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.5348, allocations: 59.95 kB / 0.6047 GB, free: 15.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.535, allocations: 13.08 kB / 0.6047 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007442/0.5358, allocations: 395.6 kB / 0.6051 GB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.5361, allocations: 0.806 MB / 0.6059 GB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001869/0.5363, allocations: 64.91 kB / 0.6059 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.118e-05/0.5364, allocations: 79.41 kB / 0.606 GB, free: 13.72 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5364, allocations: 0 / 0.606 GB, free: 13.72 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.562, allocations: 4.391 MB / 0.6103 GB, free: 9.348 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002858/0.5624, allocations: 208.4 kB / 0.6105 GB, free: 9.066 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.116, allocations: 5.75 kB / 0.6105 GB, free: 9.062 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat