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_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.01044/0.01044, allocations: 176 kB / 15.12 MB, free: 5.93 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 1.869/1.869, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.001982/0.001982, allocations: 112.7 kB / 255.6 MB, free: 10.24 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.2447/0.2447, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007122/0.0007124, allocations: 14.17 kB / 406.3 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1293, allocations: 54.87 MB / 461.2 MB, free: 3.188 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4905/0.6198, allocations: 86 MB / 0.5343 GB, free: 27.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004809/0.6204, allocations: 97.72 kB / 0.5344 GB, free: 27.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03735/0.6577, allocations: 5.955 MB / 0.5402 GB, free: 26.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.141e-06/0.6578, allocations: 1.781 kB / 0.5402 GB, free: 26.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.6578, allocations: 1.812 kB / 0.5402 GB, free: 26.22 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001088/0.6589, allocations: 498.5 kB / 0.5407 GB, free: 25.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.659, allocations: 18.34 kB / 0.5407 GB, free: 25.79 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.6591, allocations: 66.44 kB / 0.5408 GB, free: 25.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003323/0.6625, allocations: 200.2 kB / 0.541 GB, free: 25.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006571/0.6632, allocations: 268.3 kB / 0.5413 GB, free: 25.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.571e-05/0.6633, allocations: 24.14 kB / 0.5413 GB, free: 25.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.6634, allocations: 30.22 kB / 0.5413 GB, free: 25.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.6657, allocations: 489.1 kB / 0.5418 GB, free: 25.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.6657, allocations: 0 / 0.5418 GB, free: 25.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.199e-05/0.6658, allocations: 6 kB / 0.5418 GB, free: 25.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.461e-05/0.6659, allocations: 31.83 kB / 0.5418 GB, free: 25.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/0.6684, allocations: 0.5928 MB / 0.5424 GB, free: 25.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003223/0.6716, allocations: 1.17 MB / 0.5435 GB, free: 24.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.6729, allocations: 176.2 kB / 0.5437 GB, free: 24.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.673, allocations: 1 kB / 0.5437 GB, free: 24.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.673, allocations: 31.75 kB / 0.5437 GB, free: 24.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.275e-06/0.673, allocations: 0 / 0.5437 GB, free: 24.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.002198/0.6752, allocations: 317.5 kB / 0.544 GB, free: 24.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.6753, allocations: 52.81 kB / 0.5441 GB, free: 24.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.6757, allocations: 250.1 kB / 0.5443 GB, free: 24.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.6757, allocations: 26.77 kB / 0.5443 GB, free: 24.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.6758, allocations: 177.4 kB / 0.5445 GB, free: 24.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/0.6759, allocations: 24.22 kB / 0.5445 GB, free: 24.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.6759, allocations: 4.875 kB / 0.5445 GB, free: 24.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.353e-05/0.676, allocations: 330.1 kB / 0.5449 GB, free: 24.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006619/0.6767, allocations: 95.5 kB / 0.5449 GB, free: 24.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006719/0.6774, allocations: 117.8 kB / 0.5451 GB, free: 24.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006948/0.6781, allocations: 100.1 kB / 0.5452 GB, free: 24.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6781, allocations: 0 / 0.5452 GB, free: 24.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001544/0.6796, allocations: 273.7 kB / 0.5454 GB, free: 23.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.6797, allocations: 6.281 kB / 0.5454 GB, free: 23.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.6797, allocations: 0.875 kB / 0.5454 GB, free: 23.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.6797, allocations: 3.859 kB / 0.5454 GB, free: 23.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009943/0.6897, allocations: 450 kB / 0.5459 GB, free: 23.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004778/0.6945, allocations: 1.95 MB / 0.5478 GB, free: 22.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008105/0.6954, allocations: 47.52 kB / 0.5478 GB, free: 22.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.055e-05/0.6954, allocations: 5.266 kB / 0.5478 GB, free: 22.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0002809/0.6957, allocations: 155.8 kB / 0.548 GB, free: 22.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.842e-05/0.6958, allocations: 20.81 kB / 0.548 GB, free: 22.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.752e-05/0.6959, allocations: 32.86 kB / 0.548 GB, free: 22.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.6959, allocations: 0.9688 kB / 0.548 GB, free: 22.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.696, allocations: 5.078 kB / 0.548 GB, free: 22.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.696, allocations: 7.266 kB / 0.548 GB, free: 22.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/0.6965, allocations: 283.7 kB / 0.5483 GB, free: 21.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6965, allocations: 0 / 0.5483 GB, free: 21.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009866/0.7064, allocations: 443.1 kB / 0.5487 GB, free: 21.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.7064, allocations: 0 / 0.5487 GB, free: 21.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.836e-05/0.7065, allocations: 5.766 kB / 0.5487 GB, free: 21.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004592/0.7111, allocations: 1.94 MB / 0.5506 GB, free: 20.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.7112, allocations: 5.391 kB / 0.5506 GB, free: 20.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.7132, allocations: 322.6 kB / 0.5509 GB, free: 35.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.7133, allocations: 93.5 kB / 0.551 GB, free: 35.81 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.939e-05/0.7134, allocations: 4 kB / 0.551 GB, free: 35.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006941/0.7141, allocations: 22.34 kB / 0.551 GB, free: 35.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/0.7142, allocations: 9.531 kB / 0.5511 GB, free: 35.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.7143, allocations: 13.59 kB / 0.5511 GB, free: 35.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00036/0.7146, allocations: 205.1 kB / 0.5513 GB, free: 35.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.7147, allocations: 0.5312 kB / 0.5513 GB, free: 35.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005691/0.7152, allocations: 76.31 kB / 0.5513 GB, free: 35.7 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 (7): * Single equations (assignments): 4 * 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.002113/0.7174, allocations: 0.898 MB / 0.5522 GB, free: 35.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01016/0.7276, allocations: 0.5402 MB / 0.5527 GB, free: 34.99 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.7276, allocations: 0 / 0.5527 GB, free: 34.99 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009267/0.7369, allocations: 429.2 kB / 0.5531 GB, free: 34.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.7374, allocations: 32.55 kB / 0.5532 GB, free: 34.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005088/0.7425, allocations: 2.138 MB / 0.5553 GB, free: 33.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.7431, allocations: 0.7933 MB / 0.556 GB, free: 33.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003355/0.7434, allocations: 54.02 kB / 0.5561 GB, free: 33.22 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.7436, allocations: 65.28 kB / 0.5562 GB, free: 33.21 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7436, allocations: 0 / 0.5562 GB, free: 33.21 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03363/0.7773, allocations: 8.027 MB / 0.564 GB, free: 32.52 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/0.7776, allocations: 273.8 kB / 0.5643 GB, free: 32.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.193/3.971, allocations: 0 / 0.5643 GB, free: 32.16 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_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat