Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_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.001076/0.001076, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009345/0.0009346, allocations: 88 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1824/0.1824, allocations: 45.14 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.627e-05/2.628e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1008, allocations: 63.25 MB / 0.5115 GB, free: 6.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3759/0.4767, allocations: 103.7 MB / 0.6127 GB, free: 6.23 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.477, allocations: 96.17 kB / 0.6128 GB, free: 6.176 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:4562:11-4565:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:4589:11-4592:68:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:4549:11-4552:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:4576:11-4579:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.06966/0.5467, allocations: 23.11 MB / 0.6354 GB, free: 2.262 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5467, allocations: 0 / 0.6354 GB, free: 2.262 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.5468, allocations: 8 kB / 0.6354 GB, free: 2.254 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001077/0.5478, allocations: 0.6084 MB / 0.636 GB, free: 1.621 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.5479, allocations: 12.03 kB / 0.636 GB, free: 1.609 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.107e-05/0.548, allocations: 82.89 kB / 0.6361 GB, free: 1.543 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.689e-05/0.5481, allocations: 39.61 kB / 0.6361 GB, free: 1.504 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.5484, allocations: 262.6 kB / 0.6364 GB, free: 1.215 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.5484, allocations: 27.39 kB / 0.6364 GB, free: 1.199 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.481e-05/0.5485, allocations: 31.5 kB / 0.6364 GB, free: 1.176 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000672/0.5492, allocations: 478.8 kB / 0.6369 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.5492, allocations: 0 / 0.6369 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.5492, allocations: 23 kB / 0.6369 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.978e-05/0.5493, allocations: 40.97 kB / 0.6369 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006556/0.55, allocations: 0.4944 MB / 0.6374 GB, free: 408 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.5519, allocations: 1.339 MB / 0.6387 GB, free: 15.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006717/0.5526, allocations: 350.7 kB / 0.6391 GB, free: 14.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.5528, allocations: 117.3 kB / 0.6392 GB, free: 14.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.27e-05/0.5528, allocations: 12.05 kB / 0.6392 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.5528, allocations: 34.69 kB / 0.6392 GB, free: 14.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 1.443e-06/0.5529, allocations: 0 / 0.6392 GB, free: 14.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005426/0.5534, allocations: 289.4 kB / 0.6395 GB, free: 14.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.5535, allocations: 62.91 kB / 0.6396 GB, free: 14.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.5538, allocations: 271.4 kB / 0.6398 GB, free: 14.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.5538, allocations: 37.27 kB / 0.6398 GB, free: 14.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.5539, allocations: 190.2 kB / 0.64 GB, free: 13.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.983e-05/0.554, allocations: 93.34 kB / 0.6401 GB, free: 13.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.538e-05/0.554, allocations: 6.75 kB / 0.6401 GB, free: 13.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.5542, allocations: 340.5 kB / 0.6405 GB, free: 13.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.5544, allocations: 105.2 kB / 0.6406 GB, free: 13.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.5546, allocations: 141.1 kB / 0.6407 GB, free: 13.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.5548, allocations: 132.7 kB / 0.6408 GB, free: 13.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5548, allocations: 3.984 kB / 0.6408 GB, free: 13.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005286/0.5553, allocations: 337.4 kB / 0.6411 GB, free: 12.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.5554, allocations: 9.344 kB / 0.6411 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.5554, allocations: 0 / 0.6411 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.5554, allocations: 11.89 kB / 0.6412 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005889/0.556, allocations: 123.5 kB / 0.6413 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.5577, allocations: 3.007 MB / 0.6442 GB, free: 9.664 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.5579, allocations: 50.41 kB / 0.6443 GB, free: 9.621 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.558, allocations: 15.94 kB / 0.6443 GB, free: 9.605 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * 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.000102/0.5581, allocations: 120.2 kB / 0.6444 GB, free: 9.492 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.5581, allocations: 23.72 kB / 0.6444 GB, free: 9.469 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008145/0.559, allocations: 425.3 kB / 0.6448 GB, free: 9.109 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.559, allocations: 0 / 0.6448 GB, free: 9.109 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.559, allocations: 7.984 kB / 0.6448 GB, free: 9.102 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.559, allocations: 0 / 0.6448 GB, free: 9.102 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.5595, allocations: 379.3 kB / 0.6452 GB, free: 8.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5595, allocations: 0 / 0.6452 GB, free: 8.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005428/0.56, allocations: 122.9 kB / 0.6453 GB, free: 8.613 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.5601, allocations: 0 / 0.6453 GB, free: 8.613 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.5601, allocations: 11.94 kB / 0.6453 GB, free: 8.605 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.5616, allocations: 3.011 MB / 0.6483 GB, free: 5.508 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5617, allocations: 0 / 0.6483 GB, free: 5.508 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.5622, allocations: 413.9 kB / 0.6487 GB, free: 5.133 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.885e-05/0.5623, allocations: 120.5 kB / 0.6488 GB, free: 4.996 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.5623, allocations: 5.5 kB / 0.6488 GB, free: 4.996 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.5625, allocations: 15.36 kB / 0.6488 GB, free: 4.984 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/0.5626, allocations: 23.16 kB / 0.6488 GB, free: 4.965 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.5626, allocations: 15.92 kB / 0.6488 GB, free: 4.949 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002055/0.5629, allocations: 219.5 kB / 0.649 GB, free: 4.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5629, allocations: 0 / 0.649 GB, free: 4.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007659/0.5636, allocations: 226.4 kB / 0.6492 GB, free: 4.566 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * 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.001325/0.565, allocations: 1.154 MB / 0.6504 GB, free: 3.445 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007594/0.5657, allocations: 321.9 kB / 0.6507 GB, free: 3.176 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.5658, allocations: 0 / 0.6507 GB, free: 3.176 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004751/0.5662, allocations: 190.9 kB / 0.6509 GB, free: 3.012 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.5666, allocations: 64.03 kB / 0.6509 GB, free: 2.965 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.5679, allocations: 0.6668 MB / 0.6516 GB, free: 2.312 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.5683, allocations: 0.8453 MB / 0.6524 GB, free: 1.449 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003344/0.5687, allocations: 118.8 kB / 0.6525 GB, free: 1.332 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.5688, allocations: 111.1 kB / 0.6526 GB, free: 1.289 MB / 442.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5688, allocations: 0 / 0.6526 GB, free: 1.289 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.5952, allocations: 10.63 MB / 0.663 GB, free: 6.93 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002325/0.5954, allocations: 227.3 kB / 0.6632 GB, free: 6.703 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/2.634, allocations: 0 / 0.6632 GB, free: 6.703 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat