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.001286/0.001286, allocations: 112.3 kB / 20.22 MB, free: 1.793 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.001475/0.001475, allocations: 214.1 kB / 23.48 MB, free: 5.223 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.407/1.407, allocations: 230.2 MB / 256.8 MB, free: 8.57 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.2251/0.2251, allocations: 46.89 MB / 360 MB, free: 4.719 MB / 286.1 MB " [Timeout remaining time 179] 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.003544/0.003544, allocations: 91.84 kB / 0.4951 GB, free: 9.07 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3647, allocations: 65.96 MB / 0.5595 GB, free: 33.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002351/0.3671, allocations: 1.476 MB / 0.561 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.3687, allocations: 1.464 MB / 0.5624 GB, free: 31.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/0.3687, allocations: 1.188 kB / 0.5624 GB, free: 31.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.3689, allocations: 36.64 kB / 0.5624 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.3691, allocations: 47.19 kB / 0.5625 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.3695, allocations: 227.2 kB / 0.5627 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.3696, allocations: 52.23 kB / 0.5627 GB, free: 31.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.886e-05/0.3697, allocations: 11.11 kB / 0.5627 GB, free: 31.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.061e-05/0.3697, allocations: 26.44 kB / 0.5628 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.682e-05/0.3698, allocations: 32.28 kB / 0.5628 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.3698, allocations: 0 / 0.5628 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005562/0.3704, allocations: 337.3 kB / 0.5631 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.3704, allocations: 4.656 kB / 0.5631 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.3704, allocations: 36.09 kB / 0.5632 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.3708, allocations: 269.5 kB / 0.5634 GB, free: 31.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3708, allocations: 0 / 0.5634 GB, free: 31.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3708, allocations: 0 / 0.5634 GB, free: 31.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.3708, allocations: 0 / 0.5634 GB, free: 31.49 MB / 446.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.0004932/0.3713, allocations: 424.3 kB / 0.5638 GB, free: 31.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3714, allocations: 13.69 kB / 0.5638 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.782e-05/0.3714, allocations: 34.75 kB / 0.5639 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.3714, allocations: 11.03 kB / 0.5639 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.3715, allocations: 178 kB / 0.564 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.3716, allocations: 384 / 0.564 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.3716, allocations: 7.125 kB / 0.5641 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.3717, allocations: 66.78 kB / 0.5641 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3717, allocations: 0 / 0.5641 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3717, allocations: 4 kB / 0.5641 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3717, allocations: 0 / 0.5641 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.091e-05/0.3718, allocations: 56.58 kB / 0.5642 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.372, allocations: 188.5 kB / 0.5644 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.609e-05/0.372, allocations: 62.94 kB / 0.5644 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.014e-05/0.3721, allocations: 40.17 kB / 0.5645 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.025e-05/0.3721, allocations: 24 kB / 0.5645 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.3722, allocations: 35.23 kB / 0.5645 GB, free: 30.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.3722, allocations: 0 / 0.5645 GB, free: 30.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.01893/0.3911, allocations: 1.621 MB / 0.5661 GB, free: 30.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.3911, allocations: 55.34 kB / 0.5661 GB, free: 30.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.404e-05/0.3912, allocations: 140 kB / 0.5663 GB, free: 29.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.3912, allocations: 25.7 kB / 0.5663 GB, free: 29.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.553e-05/0.3913, allocations: 88.08 kB / 0.5664 GB, free: 29.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.3913, allocations: 45.08 kB / 0.5664 GB, free: 29.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-05/0.3914, allocations: 53.75 kB / 0.5665 GB, free: 29.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.28e-05/0.3914, allocations: 322.1 kB / 0.5668 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005377/0.392, allocations: 202.2 kB / 0.567 GB, free: 29.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005224/0.3925, allocations: 206.5 kB / 0.5672 GB, free: 29.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.3935, allocations: 382.1 kB / 0.5675 GB, free: 29.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3935, allocations: 0 / 0.5675 GB, free: 29.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001168/0.3947, allocations: 455.8 kB / 0.568 GB, free: 28.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3947, allocations: 3.125 kB / 0.568 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3947, allocations: 0 / 0.568 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3947, allocations: 3.344 kB / 0.568 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004852/0.3952, allocations: 74.44 kB / 0.5681 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3952, allocations: 0 / 0.5681 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/0.3956, allocations: 37.14 kB / 0.5681 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.3956, allocations: 9.109 kB / 0.5681 GB, free: 28.91 MB / 446.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 8.904e-05/0.3957, allocations: 120.8 kB / 0.5682 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.3957, allocations: 13.64 kB / 0.5682 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.397, allocations: 369.3 kB / 0.5686 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.397, allocations: 1.062 kB / 0.5686 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.397, allocations: 1.25 kB / 0.5686 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.397, allocations: 0 / 0.5686 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/0.3996, allocations: 0.7834 MB / 0.5693 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3996, allocations: 0.8438 kB / 0.5693 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.4, allocations: 63.44 kB / 0.5694 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.4, allocations: 1.781 kB / 0.5694 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.4001, allocations: 11.33 kB / 0.5694 GB, free: 28.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.4001, allocations: 9.719 kB / 0.5694 GB, free: 28.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4001, allocations: 5.094 kB / 0.5694 GB, free: 28.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.4012, allocations: 420.1 kB / 0.5698 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.307e-05/0.4013, allocations: 102.9 kB / 0.5699 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.4013, allocations: 6.484 kB / 0.5699 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.4018, allocations: 44.77 kB / 0.57 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.4018, allocations: 7.422 kB / 0.57 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.4018, allocations: 11.62 kB / 0.57 GB, free: 27.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.758e-05/0.4018, allocations: 104.5 kB / 0.5701 GB, free: 27.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4018, allocations: 0 / 0.5701 GB, free: 27.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005635/0.4024, allocations: 169.5 kB / 0.5703 GB, free: 27.72 MB / 446.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.001835/0.4042, allocations: 1.108 MB / 0.5713 GB, free: 26.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.4054, allocations: 357.1 kB / 0.5717 GB, free: 26.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4054, allocations: 0 / 0.5717 GB, free: 26.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000531/0.406, allocations: 146.7 kB / 0.5718 GB, free: 26.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.4063, allocations: 18.88 kB / 0.5718 GB, free: 26.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005943/0.4123, allocations: 2.755 MB / 0.5745 GB, free: 24.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.4124, allocations: 0.6941 MB / 0.5752 GB, free: 24.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001807/0.4126, allocations: 45.58 kB / 0.5753 GB, free: 24.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.4128, allocations: 38.5 kB / 0.5753 GB, free: 24.25 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4128, allocations: 0 / 0.5753 GB, free: 24.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03584/0.4486, allocations: 9.93 MB / 0.585 GB, free: 22.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/8.39, allocations: 5.094 kB / 0.585 GB, free: 22.38 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 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.187387148849666] 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.46301900385879 8.475357201 8.101886419 Calling exit ...