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.001524/0.001524, allocations: 120 kB / 18.5 MB, free: 4.52 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.00177/0.00177, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.427/1.427, allocations: 230.5 MB / 254.7 MB, free: 15.19 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.2335/0.2335, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.002422/0.002422, allocations: 83.86 kB / 0.4917 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1353, allocations: 66.04 MB / 0.5562 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002808/0.1381, allocations: 1.462 MB / 0.5576 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.1403, allocations: 1.462 MB / 0.559 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.1403, allocations: 0 / 0.559 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.1405, allocations: 35.75 kB / 0.5591 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.1407, allocations: 43.7 kB / 0.5591 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.1412, allocations: 227.1 kB / 0.5593 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.1413, allocations: 55.72 kB / 0.5594 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.1414, allocations: 7.938 kB / 0.5594 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.908e-05/0.1415, allocations: 27.86 kB / 0.5594 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.482e-05/0.1415, allocations: 31.84 kB / 0.5594 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.1415, allocations: 0 / 0.5594 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006134/0.1421, allocations: 335.6 kB / 0.5598 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.1422, allocations: 15.97 kB / 0.5598 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.1422, allocations: 23.81 kB / 0.5598 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000459/0.1427, allocations: 271.2 kB / 0.56 GB, free: 1.539 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1427, allocations: 4 kB / 0.5601 GB, free: 1.535 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1427, allocations: 4 kB / 0.5601 GB, free: 1.531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1427, allocations: 0 / 0.5601 GB, free: 1.531 MB / 414.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.0006566/0.1433, allocations: 426.5 kB / 0.5605 GB, free: 1.066 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1434, allocations: 8.031 kB / 0.5605 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.544e-05/0.1434, allocations: 38.73 kB / 0.5605 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.1435, allocations: 8.891 kB / 0.5605 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.1436, allocations: 174 kB / 0.5607 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1436, allocations: 4.375 kB / 0.5607 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.1436, allocations: 8.375 kB / 0.5607 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1438, allocations: 69.61 kB / 0.5608 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1438, allocations: 0 / 0.5608 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1438, allocations: 0 / 0.5608 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1438, allocations: 0 / 0.5608 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.904e-05/0.1439, allocations: 63.91 kB / 0.5608 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.1442, allocations: 193.5 kB / 0.561 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.352e-05/0.1443, allocations: 54.55 kB / 0.5611 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.915e-05/0.1443, allocations: 40.83 kB / 0.5611 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.417e-05/0.1444, allocations: 23.94 kB / 0.5611 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.1444, allocations: 38.55 kB / 0.5612 GB, free: 240 kB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 2.615e-06/0.1444, allocations: 3.984 kB / 0.5612 GB, free: 236 kB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02006/0.1645, allocations: 1.622 MB / 0.5627 GB, free: 14.58 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.1645, allocations: 59.34 kB / 0.5628 GB, free: 14.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.1647, allocations: 135.3 kB / 0.5629 GB, free: 14.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.1647, allocations: 29.69 kB / 0.563 GB, free: 14.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.1647, allocations: 84.14 kB / 0.563 GB, free: 14.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.285e-05/0.1648, allocations: 47.62 kB / 0.5631 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.1649, allocations: 49.69 kB / 0.5631 GB, free: 14.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1651, allocations: 318.8 kB / 0.5634 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006605/0.1657, allocations: 203.8 kB / 0.5636 GB, free: 13.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006683/0.1664, allocations: 199.9 kB / 0.5638 GB, free: 13.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.1677, allocations: 384 kB / 0.5642 GB, free: 13.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1677, allocations: 0 / 0.5642 GB, free: 13.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001479/0.1692, allocations: 461.3 kB / 0.5646 GB, free: 12.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1692, allocations: 4 kB / 0.5646 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1692, allocations: 0 / 0.5646 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1692, allocations: 0 / 0.5646 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/0.1698, allocations: 67.94 kB / 0.5647 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1698, allocations: 0 / 0.5647 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/0.1702, allocations: 43.95 kB / 0.5647 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.1702, allocations: 4 kB / 0.5647 GB, free: 12.48 MB / 430.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.0001391/0.1704, allocations: 121.8 kB / 0.5649 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.1704, allocations: 7.953 kB / 0.5649 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.1719, allocations: 366 kB / 0.5652 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1719, allocations: 0 / 0.5652 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1719, allocations: 0 / 0.5652 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1719, allocations: 0 / 0.5652 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002953/0.1748, allocations: 0.7816 MB / 0.566 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.1748, allocations: 8 kB / 0.566 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004789/0.1753, allocations: 67.92 kB / 0.5661 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1753, allocations: 4.094 kB / 0.5661 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.1753, allocations: 7.938 kB / 0.5661 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.1753, allocations: 7.938 kB / 0.5661 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1753, allocations: 0 / 0.5661 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.1767, allocations: 421.8 kB / 0.5665 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.1768, allocations: 109 kB / 0.5666 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.1768, allocations: 4 kB / 0.5666 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004377/0.1773, allocations: 43.91 kB / 0.5666 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.1773, allocations: 11.92 kB / 0.5666 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.1773, allocations: 15.98 kB / 0.5666 GB, free: 10.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.639e-05/0.1774, allocations: 98.22 kB / 0.5667 GB, free: 10.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1774, allocations: 0 / 0.5667 GB, free: 10.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006181/0.178, allocations: 167.6 kB / 0.5669 GB, free: 10.14 MB / 430.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.002293/0.1803, allocations: 1.101 MB / 0.568 GB, free: 9.004 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.1816, allocations: 359.8 kB / 0.5683 GB, free: 8.652 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1817, allocations: 0 / 0.5683 GB, free: 8.652 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006053/0.1823, allocations: 140 kB / 0.5685 GB, free: 8.516 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.1826, allocations: 20.27 kB / 0.5685 GB, free: 8.496 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007194/0.1898, allocations: 2.748 MB / 0.5712 GB, free: 5.645 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.1902, allocations: 0.7001 MB / 0.5718 GB, free: 4.918 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.1903, allocations: 40.73 kB / 0.5719 GB, free: 4.879 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.1905, allocations: 43.39 kB / 0.5719 GB, free: 4.836 MB / 430.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1905, allocations: 0 / 0.5719 GB, free: 4.836 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03499/0.2255, allocations: 9.959 MB / 0.5816 GB, free: 11.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/8.211, allocations: 12.3 kB / 0.5817 GB, free: 11.03 MB / 446.1 MB " [Timeout remaining time 652] (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.928940736688673] 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.28365398524329 8.553159589 8.161323833 Calling exit ...