Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.001514/0.001513, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001132/0.001132, allocations: 82.7 kB / 267.5 MB, free: 14.04 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.2933/0.2933, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.769e-05/3.784e-05, allocations: 4 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1255, allocations: 58.86 MB / 484.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5777/0.7032, allocations: 110.3 MB / 0.5807 GB, free: 8.918 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003697/0.7037, allocations: 94.12 kB / 0.5807 GB, free: 8.867 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4955:11-4956: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 3.2.3+maint.om/Fluid/Dissipation.mo:4977:11-4978: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 3.2.3+maint.om/Fluid/Dissipation.mo:4937:11-4953: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 3.2.3+maint.om/Fluid/Dissipation.mo:4959:11-4975: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.1428/0.8465, allocations: 27.9 MB / 0.608 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.8465, allocations: 0 / 0.608 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.204e-05/0.8466, allocations: 8 kB / 0.608 GB, free: 0.6406 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002838/0.8495, allocations: 0.9045 MB / 0.6089 GB, free: 15.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.59e-05/0.8495, allocations: 8.031 kB / 0.6089 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002769/0.8498, allocations: 144.2 kB / 0.609 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.8501, allocations: 79.02 kB / 0.6091 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000882/0.851, allocations: 344.6 kB / 0.6094 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.14e-05/0.851, allocations: 59.44 kB / 0.6095 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.8512, allocations: 85.23 kB / 0.6096 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002841/0.8541, allocations: 1.152 MB / 0.6107 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.8542, allocations: 4 kB / 0.6107 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.8543, allocations: 27.56 kB / 0.6107 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001597/0.8545, allocations: 77.27 kB / 0.6108 GB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004143/0.8586, allocations: 1.671 MB / 0.6124 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007856/0.8666, allocations: 2.978 MB / 0.6153 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.868, allocations: 407.7 kB / 0.6157 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.8684, allocations: 132 kB / 0.6159 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.141e-05/0.8685, allocations: 12.03 kB / 0.6159 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.8685, allocations: 30.84 kB / 0.6159 GB, free: 10.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.156e-06/0.8685, allocations: 0 / 0.6159 GB, free: 10.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009859/0.8695, allocations: 332.3 kB / 0.6162 GB, free: 9.754 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.8696, allocations: 59.41 kB / 0.6163 GB, free: 9.684 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.8699, allocations: 191.4 kB / 0.6165 GB, free: 9.512 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/0.87, allocations: 33.64 kB / 0.6165 GB, free: 9.477 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003251/0.8703, allocations: 445.5 kB / 0.6169 GB, free: 9.062 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.8704, allocations: 121.8 kB / 0.617 GB, free: 8.961 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.8705, allocations: 10.38 kB / 0.617 GB, free: 8.957 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.8707, allocations: 329.9 kB / 0.6173 GB, free: 8.633 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.8711, allocations: 129.8 kB / 0.6175 GB, free: 8.531 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005564/0.8716, allocations: 332.4 kB / 0.6178 GB, free: 8.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/0.8722, allocations: 191.2 kB / 0.618 GB, free: 8.004 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.8722, allocations: 0 / 0.618 GB, free: 8.004 MB / 426.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001335/0.8735, allocations: 0.516 MB / 0.6185 GB, free: 7.562 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.8736, allocations: 8 kB / 0.6185 GB, free: 7.555 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.8736, allocations: 4 kB / 0.6185 GB, free: 7.551 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.485e-05/0.8736, allocations: 12 kB / 0.6185 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.8752, allocations: 211 kB / 0.6187 GB, free: 7.336 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.8774, allocations: 2.998 MB / 0.6216 GB, free: 4.246 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005842/0.8781, allocations: 61.33 kB / 0.6217 GB, free: 4.195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/0.8782, allocations: 31.48 kB / 0.6217 GB, free: 4.168 MB / 426.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.0002272/0.8784, allocations: 143.2 kB / 0.6219 GB, free: 4.035 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.291e-05/0.8785, allocations: 19.81 kB / 0.6219 GB, free: 4.016 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/0.8806, allocations: 0.5461 MB / 0.6224 GB, free: 3.559 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.8806, allocations: 8 kB / 0.6224 GB, free: 3.551 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.8806, allocations: 3.938 kB / 0.6224 GB, free: 3.547 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.8807, allocations: 0 / 0.6224 GB, free: 3.547 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002759/0.8834, allocations: 1.15 MB / 0.6235 GB, free: 2.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.8835, allocations: 4 kB / 0.6235 GB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.8848, allocations: 171.1 kB / 0.6237 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.391e-05/0.8848, allocations: 7.938 kB / 0.6237 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/0.8848, allocations: 24.75 kB / 0.6237 GB, free: 2.305 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/0.8871, allocations: 2.96 MB / 0.6266 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.8871, allocations: 0 / 0.6266 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.8882, allocations: 0.5649 MB / 0.6272 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.8884, allocations: 104.6 kB / 0.6273 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.8885, allocations: 11.89 kB / 0.6273 GB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.8888, allocations: 15.17 kB / 0.6273 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.8889, allocations: 43.39 kB / 0.6273 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.893e-05/0.889, allocations: 19.31 kB / 0.6274 GB, free: 14.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001714/0.8892, allocations: 133.9 kB / 0.6275 GB, free: 14.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8892, allocations: 0 / 0.6275 GB, free: 14.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001664/0.8909, allocations: 384.4 kB / 0.6279 GB, free: 13.99 MB / 442.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.002989/0.8939, allocations: 1.942 MB / 0.6298 GB, free: 12.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.8956, allocations: 419.2 kB / 0.6302 GB, free: 11.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.8956, allocations: 256 / 0.6302 GB, free: 11.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009005/0.8965, allocations: 228.2 kB / 0.6304 GB, free: 11.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.8969, allocations: 26.95 kB / 0.6304 GB, free: 11.47 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.9004, allocations: 1.128 MB / 0.6315 GB, free: 10.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008714/0.9014, allocations: 0.9974 MB / 0.6325 GB, free: 9.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000442/0.9018, allocations: 211.3 kB / 0.6327 GB, free: 9.281 MB / 442.7 MB Notification: Performance of SimCode: time 1.273e-06/0.9019, allocations: 0 / 0.6327 GB, free: 9.281 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.243/4.145, allocations: 24.12 MB / 0.6562 GB, free: 1.188 MB / 458.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat