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.EdgedBend.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.001617/0.001617, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001826/0.001826, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.504/1.504, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2321/0.2321, allocations: 46.93 MB / 357.7 MB, free: 10.19 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.EdgedBend,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",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.002467/0.002467, allocations: 79.86 kB / 0.4917 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.137, allocations: 66.04 MB / 0.5562 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5419/0.6789, allocations: 186.6 MB / 0.7384 GB, free: 6.371 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006913/0.6858, allocations: 3.667 MB / 0.742 GB, free: 2.691 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006914/0.6865, allocations: 23.81 kB / 0.742 GB, free: 2.668 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.6877, allocations: 321.8 kB / 0.7423 GB, free: 2.352 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005202/0.6929, allocations: 1.746 MB / 0.744 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.6951, allocations: 0.7293 MB / 0.7447 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002391/0.6975, allocations: 1.524 MB / 0.7462 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007947/0.6983, allocations: 371.4 kB / 0.7465 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.6996, allocations: 0.5956 MB / 0.7471 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008616/0.7004, allocations: 478 kB / 0.7476 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.7006, allocations: 48 kB / 0.7476 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003863/0.7044, allocations: 1.938 MB / 0.7495 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003138/0.7048, allocations: 167.3 kB / 0.7497 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006276/0.7054, allocations: 342.5 kB / 0.75 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004063/0.7095, allocations: 1.831 MB / 0.7518 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.7095, allocations: 0 / 0.7518 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7095, allocations: 0 / 0.7518 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.844e-05/0.7095, allocations: 7.938 kB / 0.7518 GB, free: 8.586 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.002582/0.7121, allocations: 1.108 MB / 0.7529 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.7121, allocations: 8.031 kB / 0.7529 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001521/0.7123, allocations: 83.41 kB / 0.753 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.7134, allocations: 139.5 kB / 0.7531 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009438/0.7143, allocations: 492.8 kB / 0.7536 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.7144, allocations: 29 kB / 0.7536 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.948e-05/0.7145, allocations: 43.94 kB / 0.7536 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.7157, allocations: 0.5867 MB / 0.7542 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.7157, allocations: 0 / 0.7542 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.715e-05/0.7157, allocations: 20 kB / 0.7542 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.7158, allocations: 12 kB / 0.7542 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.7168, allocations: 471.6 kB / 0.7547 GB, free: 5.484 MB / 0.5606 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.003423/0.7202, allocations: 2.658 MB / 0.7573 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008285/0.721, allocations: 327.4 kB / 0.7576 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.7214, allocations: 153.3 kB / 0.7578 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004415/0.7218, allocations: 437.8 kB / 0.7582 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.7218, allocations: 38.84 kB / 0.7582 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.7218, allocations: 0 / 0.7582 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001888/0.7237, allocations: 0.7189 MB / 0.7589 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.426e-05/0.7238, allocations: 132.5 kB / 0.759 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006621/0.7245, allocations: 462 kB / 0.7595 GB, free: 204 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.715e-05/0.7246, allocations: 37.7 kB / 0.7595 GB, free: 160 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.7248, allocations: 280.2 kB / 0.7598 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.725, allocations: 122.9 kB / 0.7599 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.7252, allocations: 102.1 kB / 0.76 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.7254, allocations: 358.8 kB / 0.7603 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003459/0.7257, allocations: 148.8 kB / 0.7605 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004855/0.7262, allocations: 283.6 kB / 0.7607 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009763/0.7272, allocations: 441.6 kB / 0.7612 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.7272, allocations: 0 / 0.7612 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001705/0.7289, allocations: 0.5367 MB / 0.7617 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.7289, allocations: 7.938 kB / 0.7617 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.7289, allocations: 4 kB / 0.7617 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002187/0.7311, allocations: 241 kB / 0.7619 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005722/0.7317, allocations: 115.8 kB / 0.762 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007148/0.7324, allocations: 0.5875 MB / 0.7626 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005735/0.733, allocations: 47.66 kB / 0.7627 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.7331, allocations: 44 kB / 0.7627 GB, free: 12.72 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.0004267/0.7335, allocations: 181.6 kB / 0.7629 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.7337, allocations: 63.73 kB / 0.7629 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002935/0.7367, allocations: 1.074 MB / 0.764 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.7367, allocations: 4 kB / 0.764 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.7367, allocations: 3.938 kB / 0.764 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.7367, allocations: 7.969 kB / 0.764 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.7391, allocations: 1.009 MB / 0.765 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.7391, allocations: 3.984 kB / 0.765 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003158/0.7394, allocations: 47.98 kB / 0.765 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004451/0.7438, allocations: 449.1 kB / 0.7655 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/0.7439, allocations: 8 kB / 0.7655 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007695/0.7447, allocations: 0.5992 MB / 0.7661 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.7447, allocations: 0 / 0.7661 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.7463, allocations: 0.5118 MB / 0.7666 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002762/0.7465, allocations: 128.7 kB / 0.7667 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.7467, allocations: 23.88 kB / 0.7667 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005113/0.7472, allocations: 19.98 kB / 0.7667 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.7473, allocations: 27.91 kB / 0.7668 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/0.7474, allocations: 16 kB / 0.7668 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008684/0.7483, allocations: 402.8 kB / 0.7672 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.7483, allocations: 3.938 kB / 0.7672 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001607/0.7499, allocations: 335 kB / 0.7675 GB, free: 7.656 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.003065/0.7529, allocations: 1.376 MB / 0.7688 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00128/0.7542, allocations: 359.5 kB / 0.7692 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.7542, allocations: 4 kB / 0.7692 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005219/0.7547, allocations: 157 kB / 0.7693 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/0.7574, allocations: 371.1 kB / 0.7697 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.7678, allocations: 4.811 MB / 0.7744 GB, free: 360 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006634/0.7685, allocations: 0.8517 MB / 0.7752 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001664/0.7701, allocations: 0.5547 MB / 0.7757 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000589/0.7707, allocations: 227.3 kB / 0.776 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.312e-06/0.7707, allocations: 0 / 0.776 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07296/0.8437, allocations: 23.19 MB / 0.7986 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.92, allocations: 12.48 kB / 0.7986 GB, free: 7.723 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_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_EdgedBend.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.992988719139248] 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.032076031900942 14.059634357 13.345565386 Calling exit ...