Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_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.001169/0.001169, allocations: 197.5 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.42/1.42, allocations: 227.2 MB / 245 MB, free: 5.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009021/0.0009019, allocations: 99.62 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4004/0.4004, allocations: 45.23 MB / 394.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000282/0.000282, allocations: 8 kB / 468.5 MB, free: 7.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3836, allocations: 63.25 MB / 0.5193 GB, free: 37.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1426/0.5263, allocations: 97.34 MB / 0.6144 GB, free: 6.066 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.5266, allocations: 107.8 kB / 0.6145 GB, free: 5.965 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6132:11-6138:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6140:11-6143:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6146:11-6152:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6154:11-6157:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.03563/0.5623, allocations: 11.5 MB / 0.6257 GB, free: 10.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5623, allocations: 0 / 0.6257 GB, free: 10.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.5624, allocations: 4 kB / 0.6257 GB, free: 10.38 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001086/0.5635, allocations: 0.5851 MB / 0.6263 GB, free: 9.742 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.45e-05/0.5635, allocations: 8.031 kB / 0.6263 GB, free: 9.734 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.695e-05/0.5637, allocations: 86.45 kB / 0.6264 GB, free: 9.641 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.502e-05/0.5637, allocations: 31.58 kB / 0.6264 GB, free: 9.609 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.5641, allocations: 238.6 kB / 0.6266 GB, free: 9.336 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.5641, allocations: 28.64 kB / 0.6266 GB, free: 9.309 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.5641, allocations: 28 kB / 0.6267 GB, free: 9.281 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007832/0.5649, allocations: 455.9 kB / 0.6271 GB, free: 8.824 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.565, allocations: 0 / 0.6271 GB, free: 8.824 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.419e-05/0.565, allocations: 15.98 kB / 0.6271 GB, free: 8.809 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-05/0.5651, allocations: 48.97 kB / 0.6272 GB, free: 8.762 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008793/0.566, allocations: 0.5581 MB / 0.6277 GB, free: 8.203 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.5682, allocations: 1.348 MB / 0.629 GB, free: 6.738 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005945/0.5688, allocations: 288.5 kB / 0.6293 GB, free: 6.449 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.99e-05/0.5689, allocations: 16.36 kB / 0.6293 GB, free: 6.434 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.5689, allocations: 35 kB / 0.6293 GB, free: 6.391 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 1.794e-06/0.5689, allocations: 0 / 0.6293 GB, free: 6.391 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007999/0.5697, allocations: 349.1 kB / 0.6297 GB, free: 6.043 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.5698, allocations: 59.41 kB / 0.6297 GB, free: 5.973 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.5699, allocations: 125.2 kB / 0.6299 GB, free: 5.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.57, allocations: 29.7 kB / 0.6299 GB, free: 5.805 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.5701, allocations: 191.8 kB / 0.6301 GB, free: 5.613 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9e-05/0.5702, allocations: 86.75 kB / 0.6301 GB, free: 5.527 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/0.5702, allocations: 8 kB / 0.6302 GB, free: 5.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5704, allocations: 322.8 kB / 0.6305 GB, free: 5.195 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.5706, allocations: 95.86 kB / 0.6306 GB, free: 5.102 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.5709, allocations: 190.2 kB / 0.6307 GB, free: 4.883 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.5711, allocations: 115.9 kB / 0.6308 GB, free: 4.77 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.5712, allocations: 3.953 kB / 0.6309 GB, free: 4.766 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006562/0.5718, allocations: 333.9 kB / 0.6312 GB, free: 4.434 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.5718, allocations: 4 kB / 0.6312 GB, free: 4.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5719, allocations: 4 kB / 0.6312 GB, free: 4.426 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.5719, allocations: 4 kB / 0.6312 GB, free: 4.422 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005657/0.5725, allocations: 140.1 kB / 0.6313 GB, free: 4.285 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.5738, allocations: 2.352 MB / 0.6336 GB, free: 1.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.574, allocations: 47.56 kB / 0.6337 GB, free: 1.793 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.5741, allocations: 16 kB / 0.6337 GB, free: 1.777 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001981/0.5743, allocations: 177.8 kB / 0.6338 GB, free: 1.594 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.5744, allocations: 15.81 kB / 0.6339 GB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008627/0.5752, allocations: 374.3 kB / 0.6342 GB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.5752, allocations: 4 kB / 0.6342 GB, free: 1.199 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5753, allocations: 0 / 0.6342 GB, free: 1.199 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.5753, allocations: 3.984 kB / 0.6342 GB, free: 1.195 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.5757, allocations: 345.3 kB / 0.6346 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5757, allocations: 0 / 0.6346 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004869/0.5762, allocations: 123.8 kB / 0.6347 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.5763, allocations: 4 kB / 0.6347 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.5763, allocations: 11.98 kB / 0.6347 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/0.5778, allocations: 2.36 MB / 0.637 GB, free: 14.22 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5778, allocations: 4.312 kB / 0.637 GB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005787/0.5784, allocations: 372.5 kB / 0.6373 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.543e-05/0.5785, allocations: 100.8 kB / 0.6374 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.5786, allocations: 4 kB / 0.6374 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.5787, allocations: 19.98 kB / 0.6375 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/0.5788, allocations: 23.92 kB / 0.6375 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.5789, allocations: 8 kB / 0.6375 GB, free: 13.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.924e-05/0.5789, allocations: 109.4 kB / 0.6376 GB, free: 13.56 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.545e-06/0.579, allocations: 0 / 0.6376 GB, free: 13.56 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008741/0.5798, allocations: 195.4 kB / 0.6378 GB, free: 13.37 MB / 458.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001462/0.5813, allocations: 1.079 MB / 0.6388 GB, free: 12.26 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007528/0.5821, allocations: 292.6 kB / 0.6391 GB, free: 11.97 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5821, allocations: 0 / 0.6391 GB, free: 11.97 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004144/0.5825, allocations: 167.8 kB / 0.6393 GB, free: 11.81 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.5828, allocations: 14.2 kB / 0.6393 GB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003365/0.5861, allocations: 3.174 MB / 0.6424 GB, free: 8.527 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.5866, allocations: 0.8069 MB / 0.6432 GB, free: 7.695 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003323/0.5869, allocations: 101.7 kB / 0.6433 GB, free: 7.598 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.5871, allocations: 87.41 kB / 0.6434 GB, free: 7.516 MB / 458.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5871, allocations: 0 / 0.6434 GB, free: 7.516 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.6132, allocations: 6.659 MB / 0.6499 GB, free: 1.113 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004083/0.6137, allocations: 271.9 kB / 0.6501 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.609, allocations: 0 / 0.6501 GB, free: 0.7461 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat