Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001237/0.001237, allocations: 109.4 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001377/0.001377, allocations: 219.5 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.2 MB / 256.2 MB, free: 8.699 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2589/0.2589, allocations: 46.89 MB / 359.4 MB, free: 4.918 MB / 286.1 MB " [Timeout remaining time 180] 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.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002371/0.002371, allocations: 75.88 kB / 0.4941 GB, free: 9.008 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3389, allocations: 65.99 MB / 0.5586 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002728/0.3416, allocations: 1.478 MB / 0.56 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.3438, allocations: 1.461 MB / 0.5614 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.3438, allocations: 0 / 0.5614 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.344, allocations: 39.58 kB / 0.5615 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.3442, allocations: 51.67 kB / 0.5615 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.3447, allocations: 222.8 kB / 0.5617 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.3448, allocations: 55.72 kB / 0.5618 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.677e-05/0.3449, allocations: 8 kB / 0.5618 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.279e-05/0.3449, allocations: 27.86 kB / 0.5618 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.746e-05/0.345, allocations: 23.86 kB / 0.5619 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.839e-06/0.345, allocations: 3.938 kB / 0.5619 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000608/0.3456, allocations: 339.6 kB / 0.5622 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.3456, allocations: 3.984 kB / 0.5622 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.3457, allocations: 27.81 kB / 0.5622 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004368/0.3461, allocations: 281.1 kB / 0.5625 GB, free: 1.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3461, allocations: 0 / 0.5625 GB, free: 1.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3461, allocations: 0 / 0.5625 GB, free: 1.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3461, allocations: 4 kB / 0.5625 GB, free: 1.117 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005959/0.3467, allocations: 422.7 kB / 0.5629 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3467, allocations: 8.031 kB / 0.5629 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.3468, allocations: 38.69 kB / 0.5629 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.3468, allocations: 12.83 kB / 0.5629 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.347, allocations: 180.2 kB / 0.5631 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.347, allocations: 384 / 0.5631 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.347, allocations: 4.375 kB / 0.5631 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.3472, allocations: 77.61 kB / 0.5632 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3472, allocations: 0 / 0.5632 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.3472, allocations: 0 / 0.5632 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3472, allocations: 0 / 0.5632 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.884e-05/0.3473, allocations: 55.95 kB / 0.5632 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002217/0.3475, allocations: 189.6 kB / 0.5634 GB, free: 0 / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.3476, allocations: 58.58 kB / 0.5635 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.259e-05/0.3477, allocations: 36.84 kB / 0.5635 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-05/0.3478, allocations: 27.92 kB / 0.5635 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.3478, allocations: 30.56 kB / 0.5636 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.3478, allocations: 0 / 0.5636 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02012/0.3679, allocations: 1.63 MB / 0.5652 GB, free: 14.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.368, allocations: 55.41 kB / 0.5652 GB, free: 14.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.3681, allocations: 138 kB / 0.5654 GB, free: 13.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.3681, allocations: 25.7 kB / 0.5654 GB, free: 13.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.3682, allocations: 88.12 kB / 0.5655 GB, free: 13.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.097e-05/0.3683, allocations: 39.66 kB / 0.5655 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.3684, allocations: 53.67 kB / 0.5655 GB, free: 13.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3685, allocations: 314.8 kB / 0.5658 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006607/0.3692, allocations: 215.8 kB / 0.5661 GB, free: 13.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006422/0.3698, allocations: 195.9 kB / 0.5662 GB, free: 13.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.3712, allocations: 388.7 kB / 0.5666 GB, free: 12.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3712, allocations: 0 / 0.5666 GB, free: 12.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001459/0.3726, allocations: 448.9 kB / 0.567 GB, free: 12.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.3726, allocations: 8 kB / 0.567 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.3727, allocations: 0 / 0.567 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3727, allocations: 0 / 0.567 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/0.3732, allocations: 71.86 kB / 0.5671 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.3732, allocations: 0 / 0.5671 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004129/0.3736, allocations: 39.97 kB / 0.5672 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.3737, allocations: 11.98 kB / 0.5672 GB, free: 12.06 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (data.zetaLaminarKnown,data.zeta2_at_a,data.zeta1_at_a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.3738, allocations: 117.8 kB / 0.5673 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.3738, allocations: 7.953 kB / 0.5673 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.3753, allocations: 369.9 kB / 0.5676 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3753, allocations: 0 / 0.5676 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3753, allocations: 0 / 0.5676 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.3753, allocations: 3.984 kB / 0.5676 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002865/0.3782, allocations: 0.7856 MB / 0.5684 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.3782, allocations: 4 kB / 0.5684 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000473/0.3787, allocations: 59.94 kB / 0.5685 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.302e-05/0.3787, allocations: 4 kB / 0.5685 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.3787, allocations: 16.02 kB / 0.5685 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.3787, allocations: 7.938 kB / 0.5685 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3787, allocations: 0 / 0.5685 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.38, allocations: 417.8 kB / 0.5689 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.3802, allocations: 109 kB / 0.569 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.3802, allocations: 3.984 kB / 0.569 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004345/0.3806, allocations: 43.91 kB / 0.569 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.109e-05/0.3806, allocations: 11.98 kB / 0.5691 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.3807, allocations: 4 kB / 0.5691 GB, free: 9.996 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.842e-05/0.3807, allocations: 110.6 kB / 0.5692 GB, free: 9.891 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3807, allocations: 0 / 0.5692 GB, free: 9.891 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006313/0.3814, allocations: 167.6 kB / 0.5693 GB, free: 9.727 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00235/0.3837, allocations: 1.105 MB / 0.5704 GB, free: 8.586 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.3851, allocations: 355.7 kB / 0.5707 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.3851, allocations: 4 kB / 0.5707 GB, free: 8.234 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005954/0.3857, allocations: 140 kB / 0.5709 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.3861, allocations: 12.28 kB / 0.5709 GB, free: 8.086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007309/0.3934, allocations: 2.76 MB / 0.5736 GB, free: 5.223 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.3938, allocations: 0.6963 MB / 0.5743 GB, free: 4.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002118/0.394, allocations: 40.73 kB / 0.5743 GB, free: 4.461 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.3942, allocations: 35.41 kB / 0.5743 GB, free: 4.426 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3942, allocations: 0 / 0.5743 GB, free: 4.426 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0509/0.4451, allocations: 9.933 MB / 0.584 GB, free: 10.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.269/8.714, allocations: 3.984 kB / 0.584 GB, free: 10.57 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.459146882989444] Failed to read output from testmodel.py, exit status != 0: ['time', 'rho_a', 'rho_b', 'mu_a', 'mu_b', 'dp', 'm_flow1', 'm_flow2', 'der_m_flow1'] 8.786913115996867 8.801687391 8.452583188 Calling exit ...