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.001591/0.001591, allocations: 109 kB / 21.23 MB, free: 0.5117 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.001462/0.001462, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.444/1.444, allocations: 230.5 MB / 258.2 MB, free: 8.23 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.2399/0.2399, allocations: 46.93 MB / 361.6 MB, free: 4.266 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.002404/0.002404, allocations: 79.88 kB / 0.497 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3167, allocations: 66.09 MB / 0.5615 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002761/0.3195, allocations: 1.474 MB / 0.563 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.3217, allocations: 1.469 MB / 0.5644 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.3218, allocations: 0 / 0.5644 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.3219, allocations: 35.56 kB / 0.5644 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.3221, allocations: 43.7 kB / 0.5645 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.3226, allocations: 227.1 kB / 0.5647 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.3228, allocations: 55.66 kB / 0.5647 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.3228, allocations: 4 kB / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.199e-05/0.3229, allocations: 31.84 kB / 0.5648 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.665e-05/0.3229, allocations: 27.86 kB / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.819e-06/0.323, allocations: 0 / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006228/0.3236, allocations: 339.6 kB / 0.5651 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.3236, allocations: 7.984 kB / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.3236, allocations: 31.81 kB / 0.5652 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004545/0.3241, allocations: 273.3 kB / 0.5654 GB, free: 372 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3241, allocations: 4 kB / 0.5654 GB, free: 368 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3241, allocations: 0 / 0.5654 GB, free: 368 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.3241, allocations: 4 kB / 0.5654 GB, free: 364 kB / 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.0006354/0.3247, allocations: 342.2 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3248, allocations: 8.031 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.95e-05/0.3248, allocations: 38.67 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.3249, allocations: 12.84 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.325, allocations: 118.5 kB / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.325, allocations: 8.375 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.325, allocations: 3.75 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.3252, allocations: 65.67 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3252, allocations: 0 / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3252, allocations: 4 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.3252, allocations: 0 / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.3253, allocations: 67.84 kB / 0.5661 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/0.3256, allocations: 160.5 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.3257, allocations: 66.48 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.557e-05/0.3258, allocations: 40.84 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.337e-05/0.3259, allocations: 16 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.3259, allocations: 30.56 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.3259, allocations: 0 / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.01957/0.3455, allocations: 1.634 MB / 0.568 GB, free: 13.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.3455, allocations: 59.34 kB / 0.568 GB, free: 13.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.3456, allocations: 130 kB / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.3457, allocations: 33.7 kB / 0.5682 GB, free: 13.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.3457, allocations: 88.08 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.959e-05/0.3458, allocations: 55.62 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.3459, allocations: 41.69 kB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.346, allocations: 322.8 kB / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006389/0.3467, allocations: 207.9 kB / 0.5689 GB, free: 12.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006075/0.3473, allocations: 199.9 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.3485, allocations: 392.7 kB / 0.5694 GB, free: 12.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3485, allocations: 4 kB / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001358/0.3499, allocations: 456.8 kB / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3499, allocations: 4 kB / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3499, allocations: 7.922 kB / 0.5699 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3499, allocations: 0 / 0.5699 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005038/0.3504, allocations: 63.94 kB / 0.5699 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3504, allocations: 4 kB / 0.5699 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/0.3508, allocations: 39.95 kB / 0.57 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.3509, allocations: 8 kB / 0.57 GB, free: 11.47 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.0001189/0.351, allocations: 117.8 kB / 0.5701 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.351, allocations: 7.953 kB / 0.5701 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.3524, allocations: 373.9 kB / 0.5705 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3524, allocations: 4 kB / 0.5705 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3524, allocations: 3.984 kB / 0.5705 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3524, allocations: 0 / 0.5705 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002778/0.3552, allocations: 0.7495 MB / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3552, allocations: 4 kB / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004676/0.3557, allocations: 64.12 kB / 0.5713 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.3557, allocations: 3.938 kB / 0.5713 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.3557, allocations: 15.92 kB / 0.5713 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.3557, allocations: 11.94 kB / 0.5713 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3557, allocations: 0 / 0.5713 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.357, allocations: 425.8 kB / 0.5717 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.587e-05/0.3571, allocations: 31.92 kB / 0.5717 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.3571, allocations: 3.938 kB / 0.5717 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/0.3575, allocations: 39.95 kB / 0.5718 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.3575, allocations: 15.92 kB / 0.5718 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.3576, allocations: 11.98 kB / 0.5718 GB, free: 9.504 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.671e-05/0.3576, allocations: 102.2 kB / 0.5719 GB, free: 9.406 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3576, allocations: 0 / 0.5719 GB, free: 9.406 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005933/0.3582, allocations: 167.6 kB / 0.5721 GB, free: 9.242 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.002207/0.3604, allocations: 1.101 MB / 0.5731 GB, free: 8.105 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.3618, allocations: 359.7 kB / 0.5735 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3618, allocations: 0 / 0.5735 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000568/0.3623, allocations: 143.9 kB / 0.5736 GB, free: 7.613 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.3627, allocations: 18.45 kB / 0.5736 GB, free: 7.598 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006734/0.3694, allocations: 2.768 MB / 0.5763 GB, free: 4.727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.3698, allocations: 0.7004 MB / 0.577 GB, free: 4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001981/0.37, allocations: 40.67 kB / 0.5771 GB, free: 3.961 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.3701, allocations: 35.41 kB / 0.5771 GB, free: 3.926 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3701, allocations: 0 / 0.5771 GB, free: 3.926 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/0.4038, allocations: 10.01 MB / 0.5869 GB, free: 10.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.984/8.388, allocations: 4.062 kB / 0.5869 GB, free: 10 MB / 430.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.388715169858187] 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.463029728736728 8.489274951 8.160363893 Calling exit ...