Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_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.002111/0.002111, allocations: 174.4 kB / 8.74 MB, free: 348 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.612/1.612, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.001011/0.001012, allocations: 90.92 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.2073/0.2073, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.074e-05/2.079e-05, allocations: 4.219 kB / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1272, allocations: 61.91 MB / 0.4948 GB, free: 1.133 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4607/0.5879, allocations: 110.9 MB / 0.6031 GB, free: 1.391 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/0.5883, allocations: 98.34 kB / 0.6032 GB, free: 1.297 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4871:11-4872:126:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4893:11-4894:120:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4853:11-4869:48:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4875:11-4891:59:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.08303/0.6714, allocations: 28.19 MB / 0.6307 GB, free: 4.793 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6714, allocations: 0 / 0.6307 GB, free: 4.793 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.6714, allocations: 16 kB / 0.6307 GB, free: 4.777 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00183/0.6733, allocations: 0.8925 MB / 0.6316 GB, free: 3.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.6733, allocations: 15.98 kB / 0.6316 GB, free: 3.824 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/0.6736, allocations: 75.06 kB / 0.6317 GB, free: 3.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005643/0.6741, allocations: 350 kB / 0.632 GB, free: 3.367 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.6742, allocations: 24 kB / 0.632 GB, free: 3.344 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.6743, allocations: 44 kB / 0.6321 GB, free: 3.301 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001655/0.6759, allocations: 1.222 MB / 0.6333 GB, free: 2.078 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.6774, allocations: 1.038 MB / 0.6343 GB, free: 1.031 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.6774, allocations: 7.938 kB / 0.6343 GB, free: 1.023 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.2e-05/0.6775, allocations: 3.938 kB / 0.6343 GB, free: 1.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.549e-05/0.6776, allocations: 69.95 kB / 0.6344 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004202/0.6818, allocations: 2.771 MB / 0.6371 GB, free: 14.04 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008733/0.6827, allocations: 393.6 kB / 0.6375 GB, free: 13.65 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.683, allocations: 125.4 kB / 0.6376 GB, free: 13.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.259e-05/0.6831, allocations: 12.25 kB / 0.6376 GB, free: 13.51 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.6831, allocations: 38.84 kB / 0.6376 GB, free: 13.46 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 3.627e-06/0.6832, allocations: 0 / 0.6376 GB, free: 13.46 MB / 458.7 MB Notification: Performance of matching and sorting (n=34): time 0.000775/0.6839, allocations: 311.7 kB / 0.6379 GB, free: 13.16 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.684, allocations: 59.41 kB / 0.638 GB, free: 13.09 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.6842, allocations: 185.5 kB / 0.6382 GB, free: 12.89 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.6843, allocations: 25.7 kB / 0.6382 GB, free: 12.86 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/0.6846, allocations: 378.3 kB / 0.6385 GB, free: 12.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.6847, allocations: 114.3 kB / 0.6387 GB, free: 12.37 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.6847, allocations: 0 / 0.6387 GB, free: 12.37 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.6849, allocations: 334.8 kB / 0.639 GB, free: 12.04 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.6851, allocations: 117.1 kB / 0.6391 GB, free: 11.92 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.6856, allocations: 325.5 kB / 0.6394 GB, free: 11.51 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.686, allocations: 183.9 kB / 0.6396 GB, free: 11.33 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/0.686, allocations: 3.953 kB / 0.6396 GB, free: 11.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00107/0.6871, allocations: 465.5 kB / 0.64 GB, free: 10.87 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.6871, allocations: 11.98 kB / 0.64 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.6871, allocations: 4 kB / 0.64 GB, free: 10.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.125e-05/0.6872, allocations: 16.03 kB / 0.64 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.6883, allocations: 203.8 kB / 0.6402 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.6903, allocations: 3.008 MB / 0.6432 GB, free: 7.512 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/0.6908, allocations: 47.52 kB / 0.6432 GB, free: 7.465 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.869e-05/0.6909, allocations: 35.98 kB / 0.6433 GB, free: 7.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (roughness,geometry[5],geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * 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.0001727/0.6911, allocations: 116.8 kB / 0.6434 GB, free: 7.309 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006751/0.6918, allocations: 313.4 kB / 0.6437 GB, free: 6.996 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.365e-05/0.6919, allocations: 27.67 kB / 0.6437 GB, free: 6.969 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.6935, allocations: 0.5118 MB / 0.6442 GB, free: 6.457 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/0.6935, allocations: 4 kB / 0.6442 GB, free: 6.453 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.6936, allocations: 0 / 0.6442 GB, free: 6.453 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.6936, allocations: 8 kB / 0.6442 GB, free: 6.445 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.6956, allocations: 0.9589 MB / 0.6451 GB, free: 5.418 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.6956, allocations: 4.25 kB / 0.6451 GB, free: 5.414 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009166/0.6965, allocations: 179.8 kB / 0.6453 GB, free: 5.238 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/0.6965, allocations: 4 kB / 0.6453 GB, free: 5.234 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/0.6966, allocations: 8 kB / 0.6453 GB, free: 5.227 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.6985, allocations: 2.973 MB / 0.6482 GB, free: 2.137 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.6985, allocations: 3.938 kB / 0.6482 GB, free: 2.133 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007674/0.6992, allocations: 0.535 MB / 0.6488 GB, free: 1.508 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.953e-05/0.6994, allocations: 104.8 kB / 0.6489 GB, free: 1.387 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.524e-05/0.6994, allocations: 4 kB / 0.6489 GB, free: 1.383 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.6997, allocations: 19.92 kB / 0.6489 GB, free: 1.363 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.6998, allocations: 31.92 kB / 0.6489 GB, free: 1.332 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.961e-05/0.6999, allocations: 23.98 kB / 0.6489 GB, free: 1.309 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001288/0.7, allocations: 127.2 kB / 0.6491 GB, free: 1.184 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7, allocations: 0 / 0.6491 GB, free: 1.184 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001765/0.7018, allocations: 358.7 kB / 0.6494 GB, free: 0.832 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * 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.00247/0.7043, allocations: 1.926 MB / 0.6513 GB, free: 14.82 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.7056, allocations: 399.4 kB / 0.6517 GB, free: 14.43 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.7056, allocations: 1.75 kB / 0.6517 GB, free: 14.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006842/0.7063, allocations: 205 kB / 0.6519 GB, free: 14.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.7067, allocations: 28.05 kB / 0.6519 GB, free: 14.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.7096, allocations: 1.069 MB / 0.6529 GB, free: 13.07 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007233/0.7103, allocations: 1.003 MB / 0.6539 GB, free: 12.04 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008334/0.7111, allocations: 170.8 kB / 0.6541 GB, free: 11.87 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/0.7115, allocations: 207.4 kB / 0.6543 GB, free: 11.67 MB / 474.7 MB Notification: Performance of SimCode: time 9.12e-07/0.7115, allocations: 0 / 0.6543 GB, free: 11.67 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04105/0.7526, allocations: 11.11 MB / 0.6651 GB, free: 0.582 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003261/0.753, allocations: 204.8 kB / 0.6653 GB, free: 328 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.653, allocations: 7.969 kB / 0.6653 GB, free: 320 kB / 474.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat