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.001802/0.001802, 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.002219/0.002219, allocations: 215.5 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.402/1.402, allocations: 230.2 MB / 256.8 MB, free: 8.551 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.2234/0.2234, allocations: 46.88 MB / 360 MB, free: 4.684 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.002363/0.002363, allocations: 75.88 kB / 0.4951 GB, free: 8.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3039, allocations: 65.99 MB / 0.5595 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.5011/0.805, allocations: 186.9 MB / 0.742 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005011/0.81, allocations: 3.702 MB / 0.7456 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005476/0.8106, allocations: 17.44 kB / 0.7456 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008032/0.8114, allocations: 324.9 kB / 0.746 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003527/0.8149, allocations: 1.751 MB / 0.7477 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.8164, allocations: 0.705 MB / 0.7484 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001489/0.8179, allocations: 1.543 MB / 0.7499 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004666/0.8183, allocations: 362.2 kB / 0.7502 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007704/0.8191, allocations: 0.5964 MB / 0.7508 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006041/0.8197, allocations: 486.4 kB / 0.7513 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.754e-05/0.8198, allocations: 51.75 kB / 0.7513 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003636/0.8234, allocations: 2.386 MB / 0.7536 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.8236, allocations: 167.6 kB / 0.7538 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004007/0.824, allocations: 348.2 kB / 0.7541 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002485/0.8265, allocations: 1.999 MB / 0.7561 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.8265, allocations: 0 / 0.7561 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8265, allocations: 0 / 0.7561 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.8265, allocations: 1 kB / 0.7561 GB, free: 1.539 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.001854/0.8284, allocations: 1.113 MB / 0.7572 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.8284, allocations: 14.09 kB / 0.7572 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.308e-05/0.8285, allocations: 84.42 kB / 0.7573 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009509/0.8295, allocations: 136.4 kB / 0.7574 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006826/0.8302, allocations: 499.6 kB / 0.7579 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.8302, allocations: 34.19 kB / 0.7579 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.659e-05/0.8302, allocations: 38.48 kB / 0.7579 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000931/0.8312, allocations: 0.5923 MB / 0.7585 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.8312, allocations: 0 / 0.7585 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/0.8312, allocations: 22.83 kB / 0.7585 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.8313, allocations: 12 kB / 0.7585 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000799/0.8321, allocations: 479.1 kB / 0.759 GB, free: 16.4 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.002708/0.8348, allocations: 2.656 MB / 0.7616 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006588/0.8354, allocations: 330.1 kB / 0.7619 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.8357, allocations: 152.7 kB / 0.7621 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000486/0.8362, allocations: 441.7 kB / 0.7625 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.8362, allocations: 37.72 kB / 0.7625 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/0.8362, allocations: 2.469 kB / 0.7625 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001617/0.8378, allocations: 0.7248 MB / 0.7632 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.8379, allocations: 135 kB / 0.7634 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004734/0.8384, allocations: 473.2 kB / 0.7638 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.8384, allocations: 33.23 kB / 0.7638 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.8386, allocations: 291.3 kB / 0.7641 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.776e-05/0.8387, allocations: 117 kB / 0.7642 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.8389, allocations: 104.6 kB / 0.7643 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.839, allocations: 364.8 kB / 0.7647 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.8393, allocations: 153.9 kB / 0.7648 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.8396, allocations: 281.2 kB / 0.7651 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006014/0.8402, allocations: 440.1 kB / 0.7655 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8402, allocations: 4.156 kB / 0.7655 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008619/0.8411, allocations: 0.5399 MB / 0.766 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.8411, allocations: 9.125 kB / 0.766 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.8411, allocations: 4.344 kB / 0.7661 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/0.8425, allocations: 241.4 kB / 0.7663 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.8429, allocations: 104 kB / 0.7664 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004817/0.8434, allocations: 0.5952 MB / 0.767 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/0.8437, allocations: 53.14 kB / 0.767 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.989e-05/0.8437, allocations: 45.16 kB / 0.7671 GB, free: 12.14 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.0002304/0.844, allocations: 183.6 kB / 0.7672 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.8441, allocations: 62.92 kB / 0.7673 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/0.8458, allocations: 1.085 MB / 0.7684 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.8458, allocations: 5.906 kB / 0.7684 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8459, allocations: 0 / 0.7684 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.8459, allocations: 7.062 kB / 0.7684 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.8473, allocations: 1.006 MB / 0.7693 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.8473, allocations: 5.75 kB / 0.7694 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.8475, allocations: 49.72 kB / 0.7694 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002852/0.8503, allocations: 446.4 kB / 0.7698 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.8503, allocations: 12.12 kB / 0.7698 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004599/0.8508, allocations: 0.6062 MB / 0.7704 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.8508, allocations: 4.188 kB / 0.7704 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007376/0.8515, allocations: 0.4984 MB / 0.7709 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.8517, allocations: 140.4 kB / 0.7711 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-05/0.8518, allocations: 17.64 kB / 0.7711 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.8521, allocations: 21.78 kB / 0.7711 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.8522, allocations: 26.67 kB / 0.7711 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.8522, allocations: 15.06 kB / 0.7711 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004513/0.8526, allocations: 408 kB / 0.7715 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.8526, allocations: 1.094 kB / 0.7715 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001036/0.8537, allocations: 339.8 kB / 0.7718 GB, free: 10.43 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.002016/0.8557, allocations: 1.39 MB / 0.7732 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007992/0.8565, allocations: 358.8 kB / 0.7735 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8565, allocations: 0.8438 kB / 0.7735 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003242/0.8568, allocations: 165.5 kB / 0.7737 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.8584, allocations: 358.7 kB / 0.774 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006204/0.8646, allocations: 4.881 MB / 0.7788 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.8651, allocations: 0.8587 MB / 0.7797 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009726/0.866, allocations: 0.5592 MB / 0.7802 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/0.8664, allocations: 229.9 kB / 0.7804 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/0.8664, allocations: 0 / 0.7804 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05477/0.9211, allocations: 23.75 MB / 0.8036 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.36, allocations: 0 / 0.8036 GB, free: 12.28 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.584600748028606] 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.463589331018738 14.49080019 13.659290708 Calling exit ...