Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.001325/0.001325, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001499/0.001499, allocations: 213.9 kB / 24.54 MB, free: 4.016 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 / 258.2 MB, free: 8.039 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.2256/0.2256, allocations: 46.93 MB / 361.6 MB, free: 4.18 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.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",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.002287/0.002287, allocations: 75.88 kB / 0.497 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3237, allocations: 66.07 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.5467/0.8704, allocations: 184.9 MB / 0.7421 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007317/0.8777, allocations: 5.044 MB / 0.747 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007496/0.8785, allocations: 23.81 kB / 0.7471 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008951/0.8794, allocations: 343.8 kB / 0.7474 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00564/0.885, allocations: 2.164 MB / 0.7495 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002414/0.8874, allocations: 0.9493 MB / 0.7504 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001782/0.8892, allocations: 1.699 MB / 0.7521 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005362/0.8897, allocations: 380.4 kB / 0.7525 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/0.8913, allocations: 0.8791 MB / 0.7533 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006216/0.892, allocations: 0.5166 MB / 0.7538 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.845e-05/0.892, allocations: 54.5 kB / 0.7539 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003607/0.8956, allocations: 2.53 MB / 0.7563 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.8958, allocations: 177.7 kB / 0.7565 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004105/0.8962, allocations: 369.5 kB / 0.7569 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002942/0.8992, allocations: 2.139 MB / 0.7589 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.8992, allocations: 2.906 kB / 0.759 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.143e-06/0.8992, allocations: 0.7812 kB / 0.759 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.8992, allocations: 0 / 0.759 GB, free: 1.543 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001856/0.901, allocations: 1.086 MB / 0.76 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.9011, allocations: 11.72 kB / 0.76 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.393e-05/0.9012, allocations: 86.11 kB / 0.7601 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.9024, allocations: 170.6 kB / 0.7603 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008308/0.9032, allocations: 440.5 kB / 0.7607 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.9032, allocations: 38.84 kB / 0.7607 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.521e-05/0.9033, allocations: 47.41 kB / 0.7608 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009731/0.9043, allocations: 0.6389 MB / 0.7614 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.9043, allocations: 3.094 kB / 0.7614 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.784e-05/0.9043, allocations: 26.25 kB / 0.7614 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.9044, allocations: 10.16 kB / 0.7614 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007665/0.9051, allocations: 0.4924 MB / 0.7619 GB, free: 16.53 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002944/0.9081, allocations: 2.595 MB / 0.7644 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006024/0.9087, allocations: 302.4 kB / 0.7647 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.9089, allocations: 140.5 kB / 0.7649 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002236/0.9091, allocations: 52.28 kB / 0.7649 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.9092, allocations: 43.09 kB / 0.765 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.814e-06/0.9092, allocations: 0.8125 kB / 0.765 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001502/0.9107, allocations: 0.6266 MB / 0.7656 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.9108, allocations: 157.8 kB / 0.7657 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005013/0.9113, allocations: 0.5116 MB / 0.7662 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.9113, allocations: 32.36 kB / 0.7663 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.9115, allocations: 302.1 kB / 0.7665 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.696e-05/0.9116, allocations: 129.9 kB / 0.7667 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.9117, allocations: 118 kB / 0.7668 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.9119, allocations: 371.1 kB / 0.7671 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.9122, allocations: 145.1 kB / 0.7673 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003656/0.9125, allocations: 316.9 kB / 0.7676 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006485/0.9132, allocations: 474.8 kB / 0.768 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.9132, allocations: 3.938 kB / 0.768 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009123/0.9141, allocations: 0.5704 MB / 0.7686 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.9141, allocations: 9.594 kB / 0.7686 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.9141, allocations: 5.781 kB / 0.7686 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.9156, allocations: 237 kB / 0.7688 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.9159, allocations: 116 kB / 0.7689 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004825/0.9164, allocations: 0.5856 MB / 0.7695 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/0.9168, allocations: 64.2 kB / 0.7696 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.631e-05/0.9169, allocations: 58.92 kB / 0.7696 GB, free: 12.79 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000306/0.9172, allocations: 191.6 kB / 0.7698 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.9173, allocations: 58.58 kB / 0.7699 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/0.919, allocations: 1.098 MB / 0.7709 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.919, allocations: 3.5 kB / 0.7709 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.919, allocations: 4.75 kB / 0.7709 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.919, allocations: 2.953 kB / 0.771 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.9203, allocations: 0.963 MB / 0.7719 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.9203, allocations: 4 kB / 0.7719 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.9205, allocations: 53.33 kB / 0.7719 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002948/0.9235, allocations: 432 kB / 0.7724 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.9235, allocations: 14.83 kB / 0.7724 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004551/0.9239, allocations: 0.5945 MB / 0.773 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.9239, allocations: 3.031 kB / 0.773 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000693/0.9246, allocations: 0.5003 MB / 0.7734 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.9248, allocations: 65.17 kB / 0.7735 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.786e-05/0.9249, allocations: 15.98 kB / 0.7735 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.9252, allocations: 12.48 kB / 0.7735 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-05/0.9253, allocations: 33.81 kB / 0.7736 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.9253, allocations: 19.58 kB / 0.7736 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004545/0.9258, allocations: 432.5 kB / 0.774 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.9258, allocations: 0 / 0.774 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001001/0.9268, allocations: 356.5 kB / 0.7743 GB, free: 11.17 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001811/0.9286, allocations: 1.374 MB / 0.7757 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007832/0.9294, allocations: 358.1 kB / 0.776 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.9294, allocations: 4.469 kB / 0.776 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002635/0.9296, allocations: 143.5 kB / 0.7762 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.9314, allocations: 413.2 kB / 0.7766 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006352/0.9377, allocations: 4.999 MB / 0.7814 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/0.9382, allocations: 0.8704 MB / 0.7823 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001162/0.9394, allocations: 0.5679 MB / 0.7828 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003303/0.9397, allocations: 238.5 kB / 0.7831 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.9397, allocations: 3.031 kB / 0.7831 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0792/1.019, allocations: 25.36 MB / 0.8078 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.86, allocations: 19.94 kB / 0.8079 GB, free: 10.23 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.816056911833584] Failed to read output from testmodel.py, exit status != 0: ['time', 'input_mflow.y', 'input_p.y', 'IN_p.ports[1].m_flow', 'IN_p.ports[1].p', 'IN_p.ports[1].h_outflow', 'OUT_dp.ports[1].m_flow', 'OUT_dp.ports[1].p', 'OUT_dp.ports[1].h_outflow', 'OUT_mflow.ports[1].m_flow', 'OUT_mflow.ports[1].p', 'OUT_mflow.ports[1].h_outflow', 'IN_mflow.ports[1].m_flow', 'IN_mflow.ports[1].p', 'IN_mflow.ports[1].h_outflow', 'from_dp.port_b.m_flow', 'from_dp.port_b.p', 'from_dp.port_b.h_outflow', 'from_mflow.port_b.m_flow', 'from_mflow.port_b.p', 'from_mflow.port_b.h_outflow'] 13.967351614963263 13.986320305 13.084210122 Calling exit ...