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.001306/0.001306, allocations: 108.7 kB / 19.8 MB, free: 2.516 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.001383/0.001383, allocations: 216.2 kB / 23 MB, free: 5.609 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.399/1.399, allocations: 230.2 MB / 256.2 MB, free: 8.711 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.2225/0.2225, allocations: 46.88 MB / 359.4 MB, free: 4.941 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.002462/0.002462, allocations: 79.88 kB / 0.4941 GB, free: 9.016 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3332, allocations: 65.98 MB / 0.5586 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.5108/0.8441, allocations: 184.9 MB / 0.7392 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007474/0.8515, allocations: 5.034 MB / 0.7441 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.8526, allocations: 20.53 kB / 0.7441 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.8537, allocations: 342.3 kB / 0.7444 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006346/0.86, allocations: 2.142 MB / 0.7465 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002556/0.8626, allocations: 0.9231 MB / 0.7474 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001962/0.8645, allocations: 1.689 MB / 0.7491 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004819/0.865, allocations: 372.9 kB / 0.7494 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.8665, allocations: 0.868 MB / 0.7503 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000655/0.8672, allocations: 0.5228 MB / 0.7508 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.34e-05/0.8673, allocations: 52.91 kB / 0.7508 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003599/0.8709, allocations: 2.494 MB / 0.7533 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.8711, allocations: 175.8 kB / 0.7534 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004217/0.8715, allocations: 371.2 kB / 0.7538 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003689/0.8752, allocations: 2.137 MB / 0.7559 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8752, allocations: 0 / 0.7559 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.953e-06/0.8752, allocations: 0.9688 kB / 0.7559 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.8752, allocations: 0 / 0.7559 GB, free: 1.496 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.00206/0.8773, allocations: 1.169 MB / 0.757 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.8773, allocations: 8.594 kB / 0.757 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/0.8774, allocations: 84.02 kB / 0.7571 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.8786, allocations: 171.1 kB / 0.7573 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007659/0.8794, allocations: 0.5002 MB / 0.7578 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.8794, allocations: 31.31 kB / 0.7578 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.034e-05/0.8795, allocations: 48.56 kB / 0.7578 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009597/0.8804, allocations: 0.6432 MB / 0.7585 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.8804, allocations: 2.031 kB / 0.7585 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.917e-05/0.8805, allocations: 26.22 kB / 0.7585 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.8805, allocations: 11.16 kB / 0.7585 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007646/0.8813, allocations: 496.4 kB / 0.759 GB, free: 16.32 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.002734/0.884, allocations: 2.636 MB / 0.7615 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005823/0.8846, allocations: 299.4 kB / 0.7618 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.8848, allocations: 145.6 kB / 0.762 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004177/0.8852, allocations: 444.4 kB / 0.7624 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.8853, allocations: 38.98 kB / 0.7624 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.463e-06/0.8853, allocations: 0.9062 kB / 0.7624 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001494/0.8868, allocations: 0.7001 MB / 0.7631 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.8869, allocations: 164.9 kB / 0.7633 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005061/0.8874, allocations: 0.4984 MB / 0.7638 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/0.8874, allocations: 39.27 kB / 0.7638 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.8876, allocations: 301.5 kB / 0.7641 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.778e-05/0.8877, allocations: 130.3 kB / 0.7642 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.8878, allocations: 121.1 kB / 0.7643 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.888, allocations: 362.3 kB / 0.7647 GB, free: 13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.8883, allocations: 148.5 kB / 0.7648 GB, free: 13 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.8886, allocations: 319.6 kB / 0.7651 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006413/0.8892, allocations: 475.1 kB / 0.7656 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.8892, allocations: 0 / 0.7656 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009053/0.8902, allocations: 0.5703 MB / 0.7661 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.8902, allocations: 14.25 kB / 0.7661 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.8902, allocations: 5.438 kB / 0.7661 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.8916, allocations: 234.9 kB / 0.7664 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.8919, allocations: 118.8 kB / 0.7665 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004997/0.8924, allocations: 0.5802 MB / 0.767 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.8928, allocations: 62.55 kB / 0.7671 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.08e-05/0.8929, allocations: 55.84 kB / 0.7672 GB, free: 11.98 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.000287/0.8932, allocations: 186.9 kB / 0.7673 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.8933, allocations: 67.88 kB / 0.7674 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.895, allocations: 1.097 MB / 0.7685 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.895, allocations: 4.094 kB / 0.7685 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.8951, allocations: 3.938 kB / 0.7685 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.8951, allocations: 9.062 kB / 0.7685 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.8964, allocations: 0.9922 MB / 0.7695 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.8964, allocations: 3.562 kB / 0.7695 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.8966, allocations: 53.41 kB / 0.7695 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002854/0.8994, allocations: 436.1 kB / 0.7699 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.8995, allocations: 12.19 kB / 0.7699 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004821/0.9, allocations: 0.591 MB / 0.7705 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9, allocations: 0 / 0.7705 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007575/0.9007, allocations: 0.504 MB / 0.771 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.9009, allocations: 142.9 kB / 0.7711 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.353e-05/0.901, allocations: 6.344 kB / 0.7712 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.9013, allocations: 18.77 kB / 0.7712 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.606e-05/0.9014, allocations: 30.92 kB / 0.7712 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.9014, allocations: 20.83 kB / 0.7712 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005217/0.902, allocations: 425.7 kB / 0.7716 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.902, allocations: 1.031 kB / 0.7716 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001205/0.9032, allocations: 359.4 kB / 0.772 GB, free: 10.24 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.002189/0.9054, allocations: 1.392 MB / 0.7733 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007897/0.9062, allocations: 356.7 kB / 0.7737 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.9062, allocations: 2.719 kB / 0.7737 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.9064, allocations: 145.4 kB / 0.7738 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.9082, allocations: 409.8 kB / 0.7742 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006661/0.9148, allocations: 5.009 MB / 0.7791 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.9153, allocations: 0.8631 MB / 0.7799 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001088/0.9164, allocations: 0.5775 MB / 0.7805 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003539/0.9167, allocations: 239.8 kB / 0.7807 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/0.9167, allocations: 0 / 0.7807 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05815/0.9749, allocations: 25.16 MB / 0.8053 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.78, allocations: 11.08 kB / 0.8053 GB, free: 9.84 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.50161414401373] 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.884359547984786 13.907268346 13.027909044 Calling exit ...