Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01416/0.01416, allocations: 175.8 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.067/2.067, allocations: 194.5 MB / 210.3 MB, free: 8.586 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002013/0.002013, allocations: 116.6 kB / 255.6 MB, free: 11.21 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2622/0.2622, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007188/0.0007185, allocations: 11.69 kB / 406.3 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1112, allocations: 54.88 MB / 461.2 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.52/0.6312, allocations: 85.13 MB / 0.5335 GB, free: 26.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005508/0.6319, allocations: 97.06 kB / 0.5336 GB, free: 26.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03508/0.667, allocations: 5.801 MB / 0.5393 GB, free: 25.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.667, allocations: 5.469 kB / 0.5393 GB, free: 25.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.407e-05/0.6671, allocations: 2.938 kB / 0.5393 GB, free: 25.85 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008887/0.668, allocations: 0.503 MB / 0.5398 GB, free: 25.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.668, allocations: 10.06 kB / 0.5398 GB, free: 25.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.836e-05/0.6681, allocations: 62.47 kB / 0.5398 GB, free: 25.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/0.6698, allocations: 176.1 kB / 0.54 GB, free: 25.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.6703, allocations: 256.2 kB / 0.5402 GB, free: 25.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.6704, allocations: 18.56 kB / 0.5403 GB, free: 25.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.675e-05/0.6704, allocations: 21.16 kB / 0.5403 GB, free: 25.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.6715, allocations: 433.7 kB / 0.5407 GB, free: 25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.6716, allocations: 0 / 0.5407 GB, free: 25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.372e-05/0.6716, allocations: 16.33 kB / 0.5407 GB, free: 25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.658e-05/0.6717, allocations: 25.48 kB / 0.5407 GB, free: 25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.6729, allocations: 393.5 kB / 0.5411 GB, free: 24.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003116/0.676, allocations: 1.711 MB / 0.5428 GB, free: 23.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.6765, allocations: 103.1 kB / 0.5429 GB, free: 23.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.6766, allocations: 2 kB / 0.5429 GB, free: 23.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.6766, allocations: 38.41 kB / 0.5429 GB, free: 23.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.046e-06/0.6766, allocations: 0 / 0.5429 GB, free: 23.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000981/0.6776, allocations: 204.5 kB / 0.5431 GB, free: 23.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.6776, allocations: 55.36 kB / 0.5432 GB, free: 23.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004962/0.6781, allocations: 301.9 kB / 0.5434 GB, free: 23.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.6782, allocations: 25.7 kB / 0.5435 GB, free: 23.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.6783, allocations: 175.7 kB / 0.5436 GB, free: 23.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.6784, allocations: 34.38 kB / 0.5437 GB, free: 23.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.6784, allocations: 1.375 kB / 0.5437 GB, free: 23.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.939e-05/0.6785, allocations: 336.3 kB / 0.544 GB, free: 22.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.6788, allocations: 69.58 kB / 0.5441 GB, free: 22.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/0.6792, allocations: 126.4 kB / 0.5442 GB, free: 22.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.6795, allocations: 91.28 kB / 0.5443 GB, free: 22.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6796, allocations: 0 / 0.5443 GB, free: 22.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009009/0.6805, allocations: 242.9 kB / 0.5445 GB, free: 22.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.6805, allocations: 11.19 kB / 0.5445 GB, free: 22.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6805, allocations: 2.75 kB / 0.5445 GB, free: 22.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.6806, allocations: 10.69 kB / 0.5445 GB, free: 22.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/0.6833, allocations: 123.6 kB / 0.5446 GB, free: 22.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/0.6854, allocations: 1.841 MB / 0.5464 GB, free: 21.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005234/0.686, allocations: 42.75 kB / 0.5465 GB, free: 20.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.686, allocations: 5.719 kB / 0.5465 GB, free: 20.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002251/0.6862, allocations: 156.5 kB / 0.5466 GB, free: 20.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.6863, allocations: 23 kB / 0.5467 GB, free: 20.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008353/0.6872, allocations: 209.9 kB / 0.5469 GB, free: 20.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.6872, allocations: 9.609 kB / 0.5469 GB, free: 20.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.6872, allocations: 0 / 0.5469 GB, free: 20.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.6872, allocations: 2.781 kB / 0.5469 GB, free: 20.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.6877, allocations: 282.7 kB / 0.5471 GB, free: 20.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.6877, allocations: 0 / 0.5471 GB, free: 20.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002197/0.6899, allocations: 98.41 kB / 0.5472 GB, free: 20.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.6899, allocations: 0 / 0.5472 GB, free: 20.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.69, allocations: 1.188 kB / 0.5472 GB, free: 20.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002181/0.6922, allocations: 1.793 MB / 0.549 GB, free: 34.83 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.6922, allocations: 0 / 0.549 GB, free: 34.83 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007572/0.693, allocations: 271 kB / 0.5492 GB, free: 34.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.6931, allocations: 99.2 kB / 0.5493 GB, free: 34.58 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.203e-05/0.6932, allocations: 2.922 kB / 0.5493 GB, free: 34.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.6936, allocations: 8.453 kB / 0.5493 GB, free: 34.58 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/0.6936, allocations: 18.42 kB / 0.5494 GB, free: 34.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.6937, allocations: 3.672 kB / 0.5494 GB, free: 34.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004235/0.6941, allocations: 240.8 kB / 0.5496 GB, free: 34.49 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6941, allocations: 3.938 kB / 0.5496 GB, free: 34.49 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005088/0.6946, allocations: 74.72 kB / 0.5497 GB, free: 34.48 MB / 394.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 (11): * 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): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00131/0.696, allocations: 0.8258 MB / 0.5505 GB, free: 33.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002743/0.6987, allocations: 232.1 kB / 0.5507 GB, free: 33.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.6988, allocations: 384 / 0.5507 GB, free: 33.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001629/0.7004, allocations: 113.4 kB / 0.5508 GB, free: 33.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005037/0.7009, allocations: 47.31 kB / 0.5509 GB, free: 33.76 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/0.7052, allocations: 2.534 MB / 0.5533 GB, free: 32.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.7058, allocations: 0.7925 MB / 0.5541 GB, free: 31.55 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003032/0.7061, allocations: 52.92 kB / 0.5541 GB, free: 31.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.7063, allocations: 72.58 kB / 0.5542 GB, free: 31.54 MB / 394.7 MB Notification: Performance of SimCode: time 9.71e-07/0.7063, allocations: 0 / 0.5542 GB, free: 31.54 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03648/0.7428, allocations: 7.586 MB / 0.5616 GB, free: 30.88 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/0.7431, allocations: 252.8 kB / 0.5619 GB, free: 30.54 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.182/3.925, allocations: 0 / 0.5619 GB, free: 30.54 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat