Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_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.001448/0.001447, allocations: 197.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 96.52 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.377/0.377, allocations: 45.23 MB / 394.6 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003868, allocations: 8 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4118, allocations: 63.25 MB / 0.5193 GB, free: 43.44 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.146/0.5578, allocations: 95.11 MB / 0.6122 GB, free: 10.51 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004156/0.5583, allocations: 109.9 kB / 0.6123 GB, free: 10.41 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5761:11-5762:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5774:11-5777:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5752:11-5759:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5765:11-5772:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.03463/0.593, allocations: 10.68 MB / 0.6227 GB, free: 15.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.593, allocations: 0 / 0.6227 GB, free: 15.61 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.5931, allocations: 8 kB / 0.6227 GB, free: 15.6 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.00101/0.5941, allocations: 0.686 MB / 0.6234 GB, free: 14.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.5941, allocations: 8.031 kB / 0.6234 GB, free: 14.86 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/0.5943, allocations: 102.5 kB / 0.6235 GB, free: 14.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.455e-05/0.5943, allocations: 51.34 kB / 0.6235 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.5948, allocations: 326.2 kB / 0.6238 GB, free: 14.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.5949, allocations: 33 kB / 0.6239 GB, free: 14.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.543e-05/0.5949, allocations: 44 kB / 0.6239 GB, free: 14.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009836/0.5959, allocations: 0.6758 MB / 0.6246 GB, free: 13.58 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.596, allocations: 0 / 0.6246 GB, free: 13.58 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.502e-05/0.596, allocations: 23.95 kB / 0.6246 GB, free: 13.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.4e-05/0.5961, allocations: 49.28 kB / 0.6246 GB, free: 13.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.5971, allocations: 0.7388 MB / 0.6254 GB, free: 12.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002447/0.5996, allocations: 1.735 MB / 0.6271 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007015/0.6003, allocations: 365.8 kB / 0.6274 GB, free: 10.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.698e-05/0.6004, allocations: 12.22 kB / 0.6274 GB, free: 10.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.6004, allocations: 38.73 kB / 0.6275 GB, free: 10.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 1.492e-06/0.6004, allocations: 0 / 0.6275 GB, free: 10.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=27): time 0.001067/0.6015, allocations: 0.5038 MB / 0.628 GB, free: 9.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.6016, allocations: 55.34 kB / 0.628 GB, free: 9.914 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000477/0.602, allocations: 408.8 kB / 0.6284 GB, free: 9.504 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.6021, allocations: 29.7 kB / 0.6284 GB, free: 9.469 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.6023, allocations: 275.4 kB / 0.6287 GB, free: 9.195 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.6024, allocations: 90.66 kB / 0.6288 GB, free: 9.105 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.6025, allocations: 8 kB / 0.6288 GB, free: 9.098 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.6026, allocations: 350.8 kB / 0.6291 GB, free: 8.746 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.6029, allocations: 139.9 kB / 0.6292 GB, free: 8.609 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.6033, allocations: 259.4 kB / 0.6295 GB, free: 8.309 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.6036, allocations: 189 kB / 0.6297 GB, free: 8.125 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6036, allocations: 0 / 0.6297 GB, free: 8.125 MB / 442.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007876/0.6044, allocations: 485.5 kB / 0.6301 GB, free: 7.645 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.6044, allocations: 8 kB / 0.6301 GB, free: 7.637 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.6045, allocations: 4 kB / 0.6302 GB, free: 7.633 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.6045, allocations: 8.406 kB / 0.6302 GB, free: 7.625 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/0.6051, allocations: 159.8 kB / 0.6303 GB, free: 7.469 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.6069, allocations: 3.614 MB / 0.6338 GB, free: 3.715 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.6072, allocations: 63.36 kB / 0.6339 GB, free: 3.652 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/0.6072, allocations: 19.98 kB / 0.6339 GB, free: 3.633 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002446/0.6075, allocations: 221.6 kB / 0.6341 GB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.6076, allocations: 35.53 kB / 0.6342 GB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.6087, allocations: 0.552 MB / 0.6347 GB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.6087, allocations: 0 / 0.6347 GB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.6087, allocations: 11.95 kB / 0.6347 GB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.6087, allocations: 0 / 0.6347 GB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005324/0.6093, allocations: 449.1 kB / 0.6351 GB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6093, allocations: 0 / 0.6351 GB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.6098, allocations: 139.8 kB / 0.6353 GB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.6099, allocations: 4 kB / 0.6353 GB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.6099, allocations: 11.98 kB / 0.6353 GB, free: 2.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001915/0.6118, allocations: 3.602 MB / 0.6388 GB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.6118, allocations: 3.953 kB / 0.6388 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.6129, allocations: 0.6718 MB / 0.6395 GB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.6131, allocations: 184.4 kB / 0.6396 GB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.487e-05/0.6132, allocations: 16.06 kB / 0.6397 GB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.6134, allocations: 8 kB / 0.6397 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/0.6135, allocations: 39.78 kB / 0.6397 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.6135, allocations: 12 kB / 0.6397 GB, free: 13.45 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003426/0.6138, allocations: 343.1 kB / 0.64 GB, free: 13.12 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6138, allocations: 0 / 0.64 GB, free: 13.12 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000614/0.6145, allocations: 179.6 kB / 0.6402 GB, free: 12.94 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001546/0.616, allocations: 1.323 MB / 0.6415 GB, free: 11.59 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009859/0.617, allocations: 429.1 kB / 0.6419 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.617, allocations: 0 / 0.6419 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005979/0.6176, allocations: 247.7 kB / 0.6422 GB, free: 10.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.6179, allocations: 29.5 kB / 0.6422 GB, free: 10.91 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005139/0.6231, allocations: 5.277 MB / 0.6473 GB, free: 5.516 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.6235, allocations: 0.9131 MB / 0.6482 GB, free: 4.574 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003641/0.6239, allocations: 139 kB / 0.6484 GB, free: 4.441 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.6242, allocations: 167.4 kB / 0.6485 GB, free: 4.277 MB / 458.7 MB Notification: Performance of SimCode: time 1.262e-06/0.6242, allocations: 0 / 0.6485 GB, free: 4.277 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.649, allocations: 10.48 MB / 0.6588 GB, free: 10.06 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002615/0.6493, allocations: 267.7 kB / 0.659 GB, free: 9.695 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/3.068, allocations: 4 kB / 0.659 GB, free: 9.691 MB / 474.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat