Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001058/0.001057, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.2 MB / 245 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009226/0.0009224, allocations: 96.44 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.423/0.423, allocations: 45.23 MB / 394.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003376, allocations: 15.98 kB / 468.5 MB, free: 7.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3984, allocations: 63.26 MB / 0.5193 GB, free: 37.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.5431, allocations: 92.29 MB / 0.6094 GB, free: 11.13 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.5435, allocations: 103.9 kB / 0.6095 GB, free: 11.04 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5884:11-5887:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5889:11-5892:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5895:11-5898:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5900:11-5903:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.01077/0.5543, allocations: 3.669 MB / 0.6131 GB, free: 7.336 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5543, allocations: 4 kB / 0.6131 GB, free: 7.332 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.5543, allocations: 7.938 kB / 0.6131 GB, free: 7.324 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005126/0.5548, allocations: 403 kB / 0.6135 GB, free: 6.883 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.5549, allocations: 8.031 kB / 0.6135 GB, free: 6.875 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.364e-05/0.5549, allocations: 46.55 kB / 0.6136 GB, free: 6.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002856/0.5552, allocations: 43.86 kB / 0.6136 GB, free: 6.777 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.5555, allocations: 190.8 kB / 0.6138 GB, free: 6.551 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.5555, allocations: 4 kB / 0.6138 GB, free: 6.547 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.5555, allocations: 15.98 kB / 0.6138 GB, free: 6.531 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.5559, allocations: 180 kB / 0.614 GB, free: 6.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.5559, allocations: 4 kB / 0.614 GB, free: 6.336 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.5559, allocations: 7.984 kB / 0.614 GB, free: 6.328 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/0.556, allocations: 11.98 kB / 0.614 GB, free: 6.316 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/0.5563, allocations: 140.3 kB / 0.6141 GB, free: 6.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009073/0.5572, allocations: 0.6638 MB / 0.6148 GB, free: 5.445 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.5576, allocations: 106.7 kB / 0.6149 GB, free: 5.332 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.5576, allocations: 4 kB / 0.6149 GB, free: 5.328 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.5576, allocations: 42.5 kB / 0.6149 GB, free: 5.277 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.5576, allocations: 0 / 0.6149 GB, free: 5.277 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004672/0.5581, allocations: 149.7 kB / 0.6151 GB, free: 5.125 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.5582, allocations: 55.39 kB / 0.6151 GB, free: 5.059 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.5583, allocations: 125 kB / 0.6152 GB, free: 4.926 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.5583, allocations: 25.7 kB / 0.6153 GB, free: 4.895 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.538e-05/0.5584, allocations: 112 kB / 0.6154 GB, free: 4.777 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.5584, allocations: 23.66 kB / 0.6154 GB, free: 4.754 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.408e-06/0.5584, allocations: 8 kB / 0.6154 GB, free: 4.746 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.5586, allocations: 318.8 kB / 0.6157 GB, free: 4.426 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.5587, allocations: 43.97 kB / 0.6157 GB, free: 4.383 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.5588, allocations: 99.62 kB / 0.6158 GB, free: 4.258 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.559, allocations: 51.97 kB / 0.6159 GB, free: 4.207 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.559, allocations: 0 / 0.6159 GB, free: 4.207 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003361/0.5593, allocations: 169.3 kB / 0.6161 GB, free: 4.035 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.5594, allocations: 8.25 kB / 0.6161 GB, free: 4.027 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5594, allocations: 4 kB / 0.6161 GB, free: 4.023 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.5594, allocations: 4 kB / 0.6161 GB, free: 4.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.5596, allocations: 47.91 kB / 0.6161 GB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.5596, allocations: 4 kB / 0.6161 GB, free: 3.969 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.5597, allocations: 23.83 kB / 0.6161 GB, free: 3.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.5598, allocations: 4 kB / 0.6161 GB, free: 3.941 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.5599, allocations: 141.7 kB / 0.6163 GB, free: 3.793 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.5599, allocations: 7.906 kB / 0.6163 GB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.5603, allocations: 130 kB / 0.6164 GB, free: 3.656 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.5603, allocations: 4 kB / 0.6164 GB, free: 3.652 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5603, allocations: 0 / 0.6164 GB, free: 3.652 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.5603, allocations: 0 / 0.6164 GB, free: 3.652 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.5605, allocations: 197.6 kB / 0.6166 GB, free: 3.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5605, allocations: 0 / 0.6166 GB, free: 3.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.5607, allocations: 31.98 kB / 0.6166 GB, free: 3.379 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5607, allocations: 0 / 0.6166 GB, free: 3.379 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.5607, allocations: 7.984 kB / 0.6166 GB, free: 3.371 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.5607, allocations: 3.938 kB / 0.6166 GB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5607, allocations: 4 kB / 0.6166 GB, free: 3.363 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.5611, allocations: 215.9 kB / 0.6169 GB, free: 3.137 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.5611, allocations: 88.91 kB / 0.6169 GB, free: 3.031 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.5612, allocations: 7.984 kB / 0.6169 GB, free: 3.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.5613, allocations: 8 kB / 0.617 GB, free: 3.016 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.5613, allocations: 11.98 kB / 0.617 GB, free: 3.004 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.5613, allocations: 0 / 0.617 GB, free: 3.004 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.865e-05/0.5614, allocations: 95.27 kB / 0.6171 GB, free: 2.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5614, allocations: 0 / 0.6171 GB, free: 2.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004087/0.5618, allocations: 27.94 kB / 0.6171 GB, free: 2.883 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006864/0.5625, allocations: 0.7835 MB / 0.6178 GB, free: 2.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003007/0.5628, allocations: 107.9 kB / 0.6179 GB, free: 1.965 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5628, allocations: 3.938 kB / 0.618 GB, free: 1.961 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.563, allocations: 52.47 kB / 0.618 GB, free: 1.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.5631, allocations: 4 kB / 0.618 GB, free: 1.906 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.5649, allocations: 1.956 MB / 0.6199 GB, free: 15.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.5652, allocations: 0.7199 MB / 0.6206 GB, free: 15.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.5653, allocations: 28.52 kB / 0.6206 GB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.536e-05/0.5654, allocations: 29.11 kB / 0.6207 GB, free: 15.06 MB / 442.7 MB Notification: Performance of SimCode: time 5.411e-06/0.5654, allocations: 0 / 0.6207 GB, free: 15.06 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/0.5804, allocations: 2.33 MB / 0.623 GB, free: 12.95 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/0.5807, allocations: 237.2 kB / 0.6232 GB, free: 12.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/2.198, allocations: 4 kB / 0.6232 GB, free: 12.7 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat