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.001416/0.001416, allocations: 180.4 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 221.3 MB / 236 MB, free: 2.969 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.001068/0.001067, allocations: 90.66 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1926/0.1926, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.039e-05, allocations: 4 kB / 452 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1201, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4283/0.5485, allocations: 93.97 MB / 0.5936 GB, free: 11.29 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/0.5488, allocations: 99.47 kB / 0.5937 GB, free: 11.19 MB / 410.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.02539/0.5743, allocations: 9.137 MB / 0.6026 GB, free: 1.965 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5743, allocations: 0 / 0.6026 GB, free: 1.965 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.938e-05/0.5744, allocations: 4 kB / 0.6026 GB, free: 1.961 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.0009078/0.5753, allocations: 0.5218 MB / 0.6031 GB, free: 1.395 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.562e-05/0.5754, allocations: 12.03 kB / 0.6031 GB, free: 1.383 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.5755, allocations: 74.53 kB / 0.6032 GB, free: 1.301 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.081e-05/0.5756, allocations: 31.62 kB / 0.6032 GB, free: 1.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/0.576, allocations: 230.7 kB / 0.6034 GB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.576, allocations: 32.73 kB / 0.6035 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.5761, allocations: 32 kB / 0.6035 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008242/0.5769, allocations: 466.8 kB / 0.604 GB, free: 484 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.5769, allocations: 3.984 kB / 0.604 GB, free: 480 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.577, allocations: 12 kB / 0.604 GB, free: 468 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.021e-05/0.577, allocations: 28.77 kB / 0.604 GB, free: 440 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005619/0.5776, allocations: 390.9 kB / 0.6044 GB, free: 48 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.5794, allocations: 1.208 MB / 0.6055 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.5795, allocations: 70.45 kB / 0.6056 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.07e-05/0.5796, allocations: 28.84 kB / 0.6056 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.5797, allocations: 4 kB / 0.6056 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.5797, allocations: 34.56 kB / 0.6057 GB, free: 14.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.5797, allocations: 0 / 0.6057 GB, free: 14.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002947/0.58, allocations: 97.56 kB / 0.6058 GB, free: 14.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.5801, allocations: 55.34 kB / 0.6058 GB, free: 14.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.5802, allocations: 148.6 kB / 0.606 GB, free: 14.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.5803, allocations: 25.7 kB / 0.606 GB, free: 14.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.5805, allocations: 223.4 kB / 0.6062 GB, free: 14.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.5805, allocations: 27.64 kB / 0.6062 GB, free: 13.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.5805, allocations: 8 kB / 0.6062 GB, free: 13.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.5807, allocations: 322.8 kB / 0.6065 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.213e-05/0.5808, allocations: 43.92 kB / 0.6066 GB, free: 13.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.581, allocations: 158.3 kB / 0.6067 GB, free: 13.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.5812, allocations: 63.89 kB / 0.6068 GB, free: 13.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.5812, allocations: 4 kB / 0.6068 GB, free: 13.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003701/0.5815, allocations: 217.1 kB / 0.607 GB, free: 13.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.5816, allocations: 8.562 kB / 0.607 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.5816, allocations: 8 kB / 0.607 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.029e-05/0.5816, allocations: 8 kB / 0.607 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.5821, allocations: 91.88 kB / 0.6071 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.5835, allocations: 1.789 MB / 0.6089 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.5837, allocations: 23.78 kB / 0.6089 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.5837, allocations: 19.98 kB / 0.6089 GB, free: 11.09 MB / 426.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.0001546/0.5839, allocations: 116.9 kB / 0.609 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.5839, allocations: 16.05 kB / 0.609 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000511/0.5844, allocations: 182.3 kB / 0.6092 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.5844, allocations: 0 / 0.6092 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/0.5845, allocations: 8 kB / 0.6092 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.5845, allocations: 3.938 kB / 0.6092 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/0.5849, allocations: 281.6 kB / 0.6095 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.5849, allocations: 0 / 0.6095 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.5851, allocations: 67.89 kB / 0.6096 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/0.5852, allocations: 4 kB / 0.6096 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.5852, allocations: 0 / 0.6096 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.5865, allocations: 1.777 MB / 0.6113 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5865, allocations: 0 / 0.6113 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.5867, allocations: 196 kB / 0.6115 GB, free: 8.312 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/0.5868, allocations: 92.91 kB / 0.6116 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.5869, allocations: 4 kB / 0.6116 GB, free: 8.199 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.587, allocations: 11.98 kB / 0.6116 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.587, allocations: 7.984 kB / 0.6116 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.587, allocations: 4 kB / 0.6116 GB, free: 8.176 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001011/0.5872, allocations: 114.5 kB / 0.6117 GB, free: 8.066 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5872, allocations: 0 / 0.6117 GB, free: 8.066 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005732/0.5877, allocations: 111.5 kB / 0.6118 GB, free: 7.957 MB / 426.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.0008735/0.5886, allocations: 0.8115 MB / 0.6126 GB, free: 7.125 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004286/0.5891, allocations: 144.8 kB / 0.6127 GB, free: 6.984 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5891, allocations: 0 / 0.6127 GB, free: 6.984 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.5893, allocations: 67.95 kB / 0.6128 GB, free: 6.918 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.5895, allocations: 4 kB / 0.6128 GB, free: 6.914 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008556/0.5904, allocations: 410 kB / 0.6132 GB, free: 6.477 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.591, allocations: 0.8063 MB / 0.614 GB, free: 5.645 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002101/0.5912, allocations: 56.98 kB / 0.614 GB, free: 5.586 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.5913, allocations: 79.41 kB / 0.6141 GB, free: 5.512 MB / 426.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5913, allocations: 0 / 0.6141 GB, free: 5.512 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/0.6113, allocations: 5.331 MB / 0.6193 GB, free: 408 kB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002965/0.6117, allocations: 247.2 kB / 0.6196 GB, free: 64 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.376, allocations: 4 kB / 0.6196 GB, free: 60 kB / 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