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.Bend.dp_curvedOverall_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.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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_4_1_0-beta_om_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/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 113.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001552/0.001552, allocations: 207.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 247 MB, free: 10.42 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.2292/0.2292, allocations: 46.12 MB / 344.3 MB, free: 11.48 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: 79.88 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3445, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.003481/0.348, allocations: 2.082 MB / 0.5327 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003246/0.3513, allocations: 1.982 MB / 0.5346 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.127e-05/0.3514, allocations: 6.688 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.3517, allocations: 64.14 kB / 0.5347 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003789/0.3521, allocations: 145.5 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.3534, allocations: 0.5927 MB / 0.5354 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004967/0.3539, allocations: 390.4 kB / 0.5358 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.475e-05/0.354, allocations: 33.36 kB / 0.5358 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003107/0.3543, allocations: 166 kB / 0.5359 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/0.3546, allocations: 186.4 kB / 0.5361 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.3547, allocations: 11.97 kB / 0.5361 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002306/0.357, allocations: 1.629 MB / 0.5377 GB, free: 8.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.3571, allocations: 98.81 kB / 0.5378 GB, free: 8.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.3573, allocations: 145.1 kB / 0.538 GB, free: 8.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.3588, allocations: 1.075 MB / 0.539 GB, free: 7.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3588, allocations: 0 / 0.539 GB, free: 7.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3588, allocations: 0 / 0.539 GB, free: 7.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3588, allocations: 1 kB / 0.539 GB, free: 7.301 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001114/0.3599, allocations: 0.6893 MB / 0.5397 GB, free: 6.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.36, allocations: 13.72 kB / 0.5397 GB, free: 6.691 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.3601, allocations: 81.66 kB / 0.5398 GB, free: 6.617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.047e-05/0.3602, allocations: 37.8 kB / 0.5398 GB, free: 6.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.3605, allocations: 262.1 kB / 0.5401 GB, free: 6.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.3606, allocations: 30.03 kB / 0.5401 GB, free: 6.328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.517e-05/0.3606, allocations: 36.58 kB / 0.5401 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008486/0.3615, allocations: 0.4921 MB / 0.5406 GB, free: 6.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3615, allocations: 0 / 0.5406 GB, free: 6.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.3615, allocations: 15.2 kB / 0.5406 GB, free: 6.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.582e-05/0.3616, allocations: 51.94 kB / 0.5407 GB, free: 6.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008788/0.3625, allocations: 0.5281 MB / 0.5412 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.3644, allocations: 1.298 MB / 0.5424 GB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008146/0.3653, allocations: 379.3 kB / 0.5428 GB, free: 4.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.3655, allocations: 128.4 kB / 0.5429 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.212e-05/0.3656, allocations: 12.73 kB / 0.5429 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.3656, allocations: 31.81 kB / 0.543 GB, free: 4.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.483e-06/0.3656, allocations: 4 kB / 0.543 GB, free: 4.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009311/0.3666, allocations: 425.7 kB / 0.5434 GB, free: 4.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.3666, allocations: 57.67 kB / 0.5434 GB, free: 4.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.367, allocations: 310.8 kB / 0.5437 GB, free: 3.996 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.367, allocations: 34.95 kB / 0.5438 GB, free: 3.957 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.3671, allocations: 194 kB / 0.544 GB, free: 3.781 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.044e-05/0.3672, allocations: 103.9 kB / 0.5441 GB, free: 3.691 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.3674, allocations: 67.28 kB / 0.5441 GB, free: 3.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3675, allocations: 338.8 kB / 0.5444 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.3678, allocations: 123.9 kB / 0.5446 GB, free: 3.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.3681, allocations: 171.3 kB / 0.5447 GB, free: 2.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005491/0.3686, allocations: 292.8 kB / 0.545 GB, free: 2.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3687, allocations: 4 kB / 0.545 GB, free: 2.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007109/0.3694, allocations: 371.1 kB / 0.5454 GB, free: 2.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.3694, allocations: 10.5 kB / 0.5454 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3694, allocations: 4.062 kB / 0.5454 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3694, allocations: 0 / 0.5454 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005316/0.37, allocations: 127.9 kB / 0.5455 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.3718, allocations: 3.008 MB / 0.5484 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.372, allocations: 39.95 kB / 0.5485 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.3721, allocations: 19.98 kB / 0.5485 GB, free: 15 MB / 414.1 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 () * Number of clocked 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 (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002177/0.3723, allocations: 181.7 kB / 0.5487 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/0.3724, allocations: 31.75 kB / 0.5487 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009431/0.3733, allocations: 451.1 kB / 0.5491 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3733, allocations: 4 kB / 0.5491 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.3734, allocations: 0 / 0.5491 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3734, allocations: 3.938 kB / 0.5491 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004687/0.3738, allocations: 377.3 kB / 0.5495 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3739, allocations: 3.938 kB / 0.5495 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004778/0.3743, allocations: 119.8 kB / 0.5496 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3743, allocations: 0 / 0.5496 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.3744, allocations: 8 kB / 0.5496 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.3762, allocations: 3.012 MB / 0.5526 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3762, allocations: 3.984 kB / 0.5526 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007055/0.377, allocations: 435.9 kB / 0.553 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.3771, allocations: 112.9 kB / 0.5531 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.077e-05/0.3771, allocations: 19.84 kB / 0.5531 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.3773, allocations: 8 kB / 0.5531 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.421e-05/0.3774, allocations: 23.97 kB / 0.5531 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.3774, allocations: 19.98 kB / 0.5532 GB, free: 10 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002366/0.3777, allocations: 221.9 kB / 0.5534 GB, free: 9.785 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3777, allocations: 0 / 0.5534 GB, free: 9.785 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006767/0.3784, allocations: 195.3 kB / 0.5536 GB, free: 9.594 MB / 414.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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001457/0.3798, allocations: 1.129 MB / 0.5547 GB, free: 8.441 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009377/0.3808, allocations: 359.9 kB / 0.555 GB, free: 8.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3808, allocations: 0 / 0.555 GB, free: 8.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005757/0.3814, allocations: 231.8 kB / 0.5552 GB, free: 7.863 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.3819, allocations: 64.45 kB / 0.5553 GB, free: 7.801 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004649/0.3866, allocations: 3.539 MB / 0.5587 GB, free: 4.164 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.3871, allocations: 0.8379 MB / 0.5596 GB, free: 3.297 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003006/0.3874, allocations: 122.7 kB / 0.5597 GB, free: 3.176 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.3876, allocations: 111.4 kB / 0.5598 GB, free: 3.07 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3876, allocations: 4 kB / 0.5598 GB, free: 3.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03657/0.4241, allocations: 11.15 MB / 0.5707 GB, free: 8.168 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.2, allocations: 21.95 kB / 0.5707 GB, free: 8.152 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1)