Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.001697/0.001697, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002211/0.002211, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.5 MB / 258.2 MB, free: 8.012 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.2248/0.2248, 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.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",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.002324/0.002324, allocations: 79.86 kB / 0.497 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3222, allocations: 66.09 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.5379/0.86, allocations: 186.9 MB / 0.744 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005768/0.8658, allocations: 3.703 MB / 0.7476 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007744/0.8666, allocations: 22.16 kB / 0.7477 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009185/0.8675, allocations: 329 kB / 0.748 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004779/0.8723, allocations: 1.757 MB / 0.7497 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.8742, allocations: 0.7143 MB / 0.7504 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001924/0.8761, allocations: 1.558 MB / 0.7519 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005803/0.8767, allocations: 367.1 kB / 0.7523 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.8777, allocations: 0.6017 MB / 0.7528 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006543/0.8783, allocations: 484 kB / 0.7533 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.52e-05/0.8784, allocations: 51.91 kB / 0.7534 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004105/0.8825, allocations: 2.428 MB / 0.7557 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002451/0.8828, allocations: 161.1 kB / 0.7559 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005795/0.8834, allocations: 350.3 kB / 0.7562 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003695/0.8871, allocations: 1.998 MB / 0.7582 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.8871, allocations: 3.562 kB / 0.7582 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8871, allocations: 0 / 0.7582 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.8871, allocations: 1 kB / 0.7582 GB, free: 1.531 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001975/0.8891, allocations: 1.034 MB / 0.7592 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.8891, allocations: 10.91 kB / 0.7592 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.8892, allocations: 82.62 kB / 0.7593 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009672/0.8902, allocations: 146.8 kB / 0.7594 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008024/0.891, allocations: 427 kB / 0.7598 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.891, allocations: 31.62 kB / 0.7598 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.848e-05/0.8911, allocations: 42.12 kB / 0.7599 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009319/0.892, allocations: 0.5875 MB / 0.7605 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.892, allocations: 3 kB / 0.7605 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.368e-05/0.8921, allocations: 20.81 kB / 0.7605 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.8921, allocations: 12.31 kB / 0.7605 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007986/0.8929, allocations: 481.4 kB / 0.761 GB, free: 16.56 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.002953/0.8958, allocations: 2.622 MB / 0.7635 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006978/0.8965, allocations: 327.8 kB / 0.7638 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.8968, allocations: 152.8 kB / 0.764 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/0.897, allocations: 55.94 kB / 0.764 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.8971, allocations: 40.22 kB / 0.7641 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.385e-06/0.8971, allocations: 0 / 0.7641 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001631/0.8987, allocations: 0.6493 MB / 0.7647 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.8988, allocations: 134 kB / 0.7648 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004782/0.8993, allocations: 484.7 kB / 0.7653 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.114e-05/0.8993, allocations: 30.98 kB / 0.7653 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.8995, allocations: 287.9 kB / 0.7656 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.976e-05/0.8996, allocations: 122 kB / 0.7657 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.8998, allocations: 105.3 kB / 0.7658 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.8999, allocations: 367 kB / 0.7662 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.9002, allocations: 149.2 kB / 0.7663 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.9006, allocations: 283.7 kB / 0.7666 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006666/0.9012, allocations: 437.1 kB / 0.767 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.9012, allocations: 0 / 0.767 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009336/0.9022, allocations: 0.5425 MB / 0.7675 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.9022, allocations: 7.312 kB / 0.7675 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.9022, allocations: 3.406 kB / 0.7675 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/0.9037, allocations: 234.7 kB / 0.7678 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.9041, allocations: 116.5 kB / 0.7679 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005309/0.9046, allocations: 0.6003 MB / 0.7684 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003478/0.9049, allocations: 47.7 kB / 0.7685 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.615e-05/0.905, allocations: 46.94 kB / 0.7685 GB, free: 12.88 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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.0002973/0.9053, allocations: 181.3 kB / 0.7687 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.9054, allocations: 55.39 kB / 0.7688 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.9072, allocations: 1.093 MB / 0.7698 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.9072, allocations: 2.75 kB / 0.7698 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9072, allocations: 0 / 0.7698 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.9072, allocations: 3.938 kB / 0.7698 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.9086, allocations: 0.9841 MB / 0.7708 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.9086, allocations: 0.8438 kB / 0.7708 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.9088, allocations: 54.66 kB / 0.7709 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003232/0.912, allocations: 446.7 kB / 0.7713 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/0.9121, allocations: 11.06 kB / 0.7713 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000518/0.9126, allocations: 0.6044 MB / 0.7719 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.9126, allocations: 6.062 kB / 0.7719 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008738/0.9135, allocations: 0.5069 MB / 0.7724 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.9136, allocations: 63.64 kB / 0.7724 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.9137, allocations: 16.8 kB / 0.7725 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.914, allocations: 20.02 kB / 0.7725 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.9141, allocations: 24.81 kB / 0.7725 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.9141, allocations: 17.84 kB / 0.7725 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004724/0.9146, allocations: 407 kB / 0.7729 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.9146, allocations: 2.266 kB / 0.7729 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00102/0.9156, allocations: 344.2 kB / 0.7732 GB, free: 11.29 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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.002049/0.9177, allocations: 1.369 MB / 0.7746 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000801/0.9185, allocations: 355 kB / 0.7749 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9185, allocations: 1.031 kB / 0.7749 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003196/0.9188, allocations: 164.8 kB / 0.7751 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.9204, allocations: 372.6 kB / 0.7754 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006425/0.9268, allocations: 4.872 MB / 0.7802 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.9273, allocations: 0.8687 MB / 0.781 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001106/0.9284, allocations: 0.5537 MB / 0.7816 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/0.9288, allocations: 222.8 kB / 0.7818 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of SimCode: time 1.062e-06/0.9288, allocations: 0.75 kB / 0.7818 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06064/0.9894, allocations: 23.93 MB / 0.8052 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.35, allocations: 6.062 kB / 0.8052 GB, free: 12.72 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201879 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.312242725864053] Failed to read output from testmodel.py, exit status != 0: ['time', 'ramp.y', 'boundary.ports[1].m_flow', 'boundary.ports[1].p', 'boundary.ports[1].h_outflow', 'sensor.port_b.m_flow', 'sensor.port_b.p', 'sensor.port_b.h_outflow', 'fitting1.port_b.m_flow', 'fitting1.port_b.p', 'fitting1.port_b.h_outflow', 'fitting2.port_b.m_flow', 'fitting2.port_b.p', 'fitting2.port_b.h_outflow'] 14.455231443978846 14.477200092 13.585660863 Calling exit ...