Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_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.00144/0.00144, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008757/0.0008759, allocations: 90.86 kB / 270.2 MB, free: 13.36 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.2179/0.2179, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003278, allocations: 8 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1351, allocations: 58.87 MB / 490.4 MB, free: 8.543 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4483/0.5834, allocations: 101.5 MB / 0.5781 GB, free: 14.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003865/0.5839, allocations: 99.94 kB / 0.5781 GB, free: 14.09 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4646:11-4649:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4673:11-4676:68:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4633:11-4636:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4660:11-4663:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.07331/0.6572, allocations: 22.6 MB / 0.6002 GB, free: 10.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.6573, allocations: 0 / 0.6002 GB, free: 10.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.487e-05/0.6573, allocations: 4 kB / 0.6002 GB, free: 10.63 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001674/0.659, allocations: 0.6326 MB / 0.6008 GB, free: 9.977 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.6591, allocations: 15.97 kB / 0.6009 GB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001487/0.6592, allocations: 80.08 kB / 0.6009 GB, free: 9.895 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.885e-05/0.6593, allocations: 35.53 kB / 0.601 GB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.6598, allocations: 256 kB / 0.6012 GB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.6598, allocations: 35.42 kB / 0.6012 GB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.375e-05/0.6599, allocations: 26.81 kB / 0.6013 GB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008744/0.6608, allocations: 0.4996 MB / 0.6018 GB, free: 9.145 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.6608, allocations: 0 / 0.6018 GB, free: 9.145 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.6608, allocations: 19.14 kB / 0.6018 GB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-05/0.6609, allocations: 32.98 kB / 0.6018 GB, free: 9.102 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008738/0.6618, allocations: 0.5351 MB / 0.6023 GB, free: 8.691 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.6641, allocations: 1.35 MB / 0.6037 GB, free: 7.383 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007889/0.6649, allocations: 373 kB / 0.604 GB, free: 7.062 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.001e-05/0.6649, allocations: 19.34 kB / 0.604 GB, free: 7.047 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.665, allocations: 30.73 kB / 0.6041 GB, free: 7.008 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 2.144e-06/0.665, allocations: 0 / 0.6041 GB, free: 7.008 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.001018/0.666, allocations: 446.7 kB / 0.6045 GB, free: 6.629 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.6661, allocations: 55.41 kB / 0.6045 GB, free: 6.562 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.6664, allocations: 281.2 kB / 0.6048 GB, free: 6.324 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.6665, allocations: 33.64 kB / 0.6048 GB, free: 6.289 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.6666, allocations: 184.9 kB / 0.605 GB, free: 6.137 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.435e-05/0.6667, allocations: 96.52 kB / 0.6051 GB, free: 6.055 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.6667, allocations: 7.188 kB / 0.6051 GB, free: 6.051 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.6669, allocations: 348 kB / 0.6054 GB, free: 5.715 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.6672, allocations: 120 kB / 0.6056 GB, free: 5.617 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.6675, allocations: 158.6 kB / 0.6057 GB, free: 5.477 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.6678, allocations: 160.3 kB / 0.6059 GB, free: 5.352 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.6678, allocations: 0 / 0.6059 GB, free: 5.352 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007633/0.6686, allocations: 375.5 kB / 0.6062 GB, free: 5.039 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.6686, allocations: 8 kB / 0.6062 GB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.6686, allocations: 0 / 0.6062 GB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/0.6687, allocations: 7.953 kB / 0.6062 GB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000618/0.6693, allocations: 123.7 kB / 0.6064 GB, free: 4.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.6713, allocations: 3.005 MB / 0.6093 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.6716, allocations: 47.17 kB / 0.6093 GB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/0.6716, allocations: 18.94 kB / 0.6093 GB, free: 1.758 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002841/0.6719, allocations: 187.4 kB / 0.6095 GB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.61e-05/0.672, allocations: 31.81 kB / 0.6096 GB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.673, allocations: 464.5 kB / 0.61 GB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.6731, allocations: 4 kB / 0.61 GB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.6731, allocations: 0 / 0.61 GB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.6731, allocations: 0 / 0.61 GB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005376/0.6736, allocations: 382.7 kB / 0.6104 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.6736, allocations: 0 / 0.6104 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/0.6742, allocations: 123.5 kB / 0.6105 GB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.6742, allocations: 0 / 0.6105 GB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.6742, allocations: 11.92 kB / 0.6105 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.6761, allocations: 3.004 MB / 0.6134 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6761, allocations: 8.031 kB / 0.6134 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007021/0.6768, allocations: 447.7 kB / 0.6139 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.677, allocations: 116.6 kB / 0.614 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.6771, allocations: 7.938 kB / 0.614 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.6773, allocations: 15.73 kB / 0.614 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/0.6774, allocations: 23.78 kB / 0.614 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.6774, allocations: 8 kB / 0.614 GB, free: 12.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002579/0.6776, allocations: 232 kB / 0.6143 GB, free: 12.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6777, allocations: 0 / 0.6143 GB, free: 12.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009263/0.6786, allocations: 201.4 kB / 0.6144 GB, free: 12.61 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001874/0.6805, allocations: 1.173 MB / 0.6156 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009517/0.6814, allocations: 353.8 kB / 0.6159 GB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6815, allocations: 0 / 0.6159 GB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005699/0.682, allocations: 211.4 kB / 0.6161 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.6824, allocations: 53.53 kB / 0.6162 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.6862, allocations: 2.484 MB / 0.6186 GB, free: 8.695 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/0.6868, allocations: 0.8375 MB / 0.6194 GB, free: 7.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003866/0.6872, allocations: 130.7 kB / 0.6195 GB, free: 7.711 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.6874, allocations: 113.5 kB / 0.6197 GB, free: 7.668 MB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/0.6874, allocations: 0 / 0.6197 GB, free: 7.668 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.7152, allocations: 10.38 MB / 0.6298 GB, free: 13.35 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002411/0.7155, allocations: 247.5 kB / 0.63 GB, free: 13.02 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/2.908, allocations: 3.906 kB / 0.63 GB, free: 13.02 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat