Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001212/0.001212, allocations: 121.2 kB / 17.78 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001271, allocations: 199.8 kB / 18.73 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2271/0.2271, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 83.86 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3204, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002915/0.3234, allocations: 1.675 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.3248, allocations: 0.8475 MB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.301e-05/0.3249, allocations: 1.781 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.3251, allocations: 40.97 kB / 0.5331 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.3253, allocations: 51.58 kB / 0.5332 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.3257, allocations: 101.4 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.3259, allocations: 155.8 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.732e-05/0.326, allocations: 14.5 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.3261, allocations: 68.7 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.3263, allocations: 68.56 kB / 0.5336 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.3263, allocations: 4.125 kB / 0.5336 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.3266, allocations: 160.8 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.863e-05/0.3267, allocations: 49.52 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.706e-05/0.3268, allocations: 56.42 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.3272, allocations: 210.6 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3272, allocations: 5.312 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3272, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3272, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006916/0.3279, allocations: 467.7 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.328, allocations: 9.844 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.845e-05/0.3281, allocations: 53.23 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004909/0.3285, allocations: 54.78 kB / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.3288, allocations: 218 kB / 0.5348 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.3288, allocations: 13.5 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.3289, allocations: 15.66 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004757/0.3293, allocations: 243.7 kB / 0.535 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3294, allocations: 1.156 kB / 0.5351 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.3294, allocations: 5.062 kB / 0.5351 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.951e-05/0.3294, allocations: 17.61 kB / 0.5351 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.3299, allocations: 228.1 kB / 0.5353 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.331, allocations: 0.7298 MB / 0.536 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.3313, allocations: 90.94 kB / 0.5361 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.3314, allocations: 53.98 kB / 0.5361 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.3314, allocations: 0 / 0.5361 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.3315, allocations: 43.66 kB / 0.5362 GB, free: 8.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 9.71e-07/0.3315, allocations: 0 / 0.5362 GB, free: 8.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005185/0.332, allocations: 164.2 kB / 0.5363 GB, free: 8.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.332, allocations: 60.47 kB / 0.5364 GB, free: 8.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.3322, allocations: 186.4 kB / 0.5366 GB, free: 8.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.3323, allocations: 25.7 kB / 0.5366 GB, free: 8.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.3324, allocations: 145 kB / 0.5367 GB, free: 8.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.3324, allocations: 27.78 kB / 0.5368 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.3325, allocations: 36.78 kB / 0.5368 GB, free: 8.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3326, allocations: 322.5 kB / 0.5371 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.3328, allocations: 47.8 kB / 0.5372 GB, free: 8.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.333, allocations: 106.3 kB / 0.5373 GB, free: 8.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.3334, allocations: 166.3 kB / 0.5374 GB, free: 7.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.3334, allocations: 1.188 kB / 0.5374 GB, free: 7.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004206/0.3338, allocations: 187.3 kB / 0.5376 GB, free: 7.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.3338, allocations: 6.312 kB / 0.5376 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3338, allocations: 2.469 kB / 0.5376 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.3339, allocations: 2.156 kB / 0.5376 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009003/0.3348, allocations: 96.17 kB / 0.5377 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.3361, allocations: 1.811 MB / 0.5395 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.3363, allocations: 23.52 kB / 0.5395 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.3363, allocations: 10.72 kB / 0.5395 GB, free: 5.91 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001423/0.3364, allocations: 147.9 kB / 0.5396 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.3365, allocations: 9.484 kB / 0.5396 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004704/0.337, allocations: 180 kB / 0.5398 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.337, allocations: 5.094 kB / 0.5398 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.337, allocations: 0 / 0.5398 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.337, allocations: 1.312 kB / 0.5398 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.3373, allocations: 244.2 kB / 0.5401 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3373, allocations: 1.062 kB / 0.5401 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007077/0.338, allocations: 84.36 kB / 0.5401 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.338, allocations: 1.25 kB / 0.5401 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.338, allocations: 1.344 kB / 0.5401 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.3392, allocations: 1.772 MB / 0.5419 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/0.3392, allocations: 5 kB / 0.5419 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.3396, allocations: 245.2 kB / 0.5421 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.954e-05/0.3397, allocations: 89.05 kB / 0.5422 GB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.3397, allocations: 9.141 kB / 0.5422 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.3399, allocations: 4.219 kB / 0.5422 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.3399, allocations: 15.73 kB / 0.5422 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.3399, allocations: 11.31 kB / 0.5422 GB, free: 3.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.3401, allocations: 138.4 kB / 0.5424 GB, free: 3.148 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3401, allocations: 0 / 0.5424 GB, free: 3.148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003234/0.3404, allocations: 47.7 kB / 0.5424 GB, free: 3.137 MB / 398.1 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007885/0.3412, allocations: 0.7902 MB / 0.5432 GB, free: 2.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.3424, allocations: 202.3 kB / 0.5434 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3424, allocations: 0 / 0.5434 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006535/0.3431, allocations: 99.3 kB / 0.5435 GB, free: 2.293 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.3435, allocations: 42.08 kB / 0.5435 GB, free: 2.273 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.3461, allocations: 2.095 MB / 0.5456 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.3465, allocations: 0.7484 MB / 0.5463 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.3466, allocations: 39.91 kB / 0.5463 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.754e-05/0.3468, allocations: 43.52 kB / 0.5464 GB, free: 15.77 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3468, allocations: 0 / 0.5464 GB, free: 15.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.375, allocations: 5.102 MB / 0.5513 GB, free: 11.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.03, allocations: 18.95 kB / 0.5514 GB, free: 11.97 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1)