Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001346/0.001346, allocations: 109.2 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.001599/0.001599, allocations: 219 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.443/1.443, allocations: 230.2 MB / 256.2 MB, free: 8.688 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2201/0.2201, allocations: 46.91 MB / 359.4 MB, free: 4.891 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 79.86 kB / 0.4942 GB, free: 8.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3375, allocations: 66.01 MB / 0.5586 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.5853/0.9228, allocations: 184.9 MB / 0.7392 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006814/0.9297, allocations: 5.029 MB / 0.7441 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007127/0.9304, allocations: 19.44 kB / 0.7441 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009355/0.9313, allocations: 347.7 kB / 0.7445 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005448/0.9367, allocations: 2.14 MB / 0.7465 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.939, allocations: 0.9279 MB / 0.7475 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001808/0.9408, allocations: 1.682 MB / 0.7491 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004781/0.9413, allocations: 383.8 kB / 0.7495 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.9427, allocations: 0.8643 MB / 0.7503 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005827/0.9433, allocations: 0.5205 MB / 0.7508 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.342e-05/0.9434, allocations: 54.38 kB / 0.7509 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004119/0.9475, allocations: 2.493 MB / 0.7533 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.9477, allocations: 174.2 kB / 0.7535 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004396/0.9481, allocations: 374.2 kB / 0.7538 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003169/0.9513, allocations: 2.126 MB / 0.7559 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.9513, allocations: 0 / 0.7559 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9513, allocations: 0.9688 kB / 0.7559 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.952e-05/0.9513, allocations: 0 / 0.7559 GB, free: 1.477 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.002199/0.9535, allocations: 1.17 MB / 0.757 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.9536, allocations: 10.91 kB / 0.7571 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001172/0.9537, allocations: 87.16 kB / 0.7571 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.9549, allocations: 166.9 kB / 0.7573 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008498/0.9557, allocations: 0.5013 MB / 0.7578 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.9558, allocations: 33 kB / 0.7578 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.53e-05/0.9558, allocations: 46 kB / 0.7579 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.9569, allocations: 0.6407 MB / 0.7585 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.9569, allocations: 8.344 kB / 0.7585 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-05/0.9569, allocations: 23.88 kB / 0.7585 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.957, allocations: 10.16 kB / 0.7585 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00081/0.9578, allocations: 496.8 kB / 0.759 GB, free: 16.3 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.002999/0.9608, allocations: 2.643 MB / 0.7616 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006027/0.9614, allocations: 300.7 kB / 0.7619 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.9616, allocations: 143.7 kB / 0.762 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004806/0.9621, allocations: 440.7 kB / 0.7624 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.9621, allocations: 42.94 kB / 0.7625 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.904e-06/0.9621, allocations: 2.062 kB / 0.7625 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001636/0.9638, allocations: 0.696 MB / 0.7632 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.9639, allocations: 158.5 kB / 0.7633 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.9645, allocations: 0.5049 MB / 0.7638 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.339e-05/0.9645, allocations: 36.08 kB / 0.7638 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.9647, allocations: 305.2 kB / 0.7641 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.42e-05/0.9648, allocations: 130 kB / 0.7642 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.965, allocations: 120.7 kB / 0.7644 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.9652, allocations: 368.7 kB / 0.7647 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.9655, allocations: 140.1 kB / 0.7648 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/0.9658, allocations: 322.5 kB / 0.7652 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000671/0.9665, allocations: 477 kB / 0.7656 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.9665, allocations: 0.625 kB / 0.7656 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009319/0.9674, allocations: 0.5715 MB / 0.7662 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.9674, allocations: 5 kB / 0.7662 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.9674, allocations: 6.281 kB / 0.7662 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001475/0.9689, allocations: 234.3 kB / 0.7664 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.9693, allocations: 121.5 kB / 0.7665 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005714/0.9699, allocations: 0.582 MB / 0.7671 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.9703, allocations: 61 kB / 0.7671 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.262e-05/0.9704, allocations: 56.42 kB / 0.7672 GB, free: 11.96 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.0003032/0.9707, allocations: 185.7 kB / 0.7674 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.9708, allocations: 67.47 kB / 0.7674 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.9726, allocations: 1.09 MB / 0.7685 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.9726, allocations: 4.375 kB / 0.7685 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.9726, allocations: 7.031 kB / 0.7685 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.9726, allocations: 0 / 0.7685 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.974, allocations: 0.9887 MB / 0.7695 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.974, allocations: 4 kB / 0.7695 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.9742, allocations: 56.38 kB / 0.7695 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002815/0.977, allocations: 433.7 kB / 0.77 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.977, allocations: 7.656 kB / 0.77 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004946/0.9775, allocations: 0.597 MB / 0.7705 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.9775, allocations: 0.875 kB / 0.7705 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007383/0.9783, allocations: 0.5018 MB / 0.771 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.9784, allocations: 139.3 kB / 0.7712 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.719e-05/0.9785, allocations: 12.09 kB / 0.7712 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/0.9788, allocations: 15.72 kB / 0.7712 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.457e-05/0.9789, allocations: 35.16 kB / 0.7712 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.709e-05/0.979, allocations: 23.78 kB / 0.7712 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004668/0.9794, allocations: 426.5 kB / 0.7717 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.9794, allocations: 0 / 0.7717 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00108/0.9805, allocations: 360 kB / 0.772 GB, free: 10.23 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.002015/0.9825, allocations: 1.4 MB / 0.7734 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007793/0.9833, allocations: 359.4 kB / 0.7737 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.9833, allocations: 1.094 kB / 0.7737 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000266/0.9836, allocations: 141.5 kB / 0.7738 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.9854, allocations: 412.5 kB / 0.7742 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006406/0.9918, allocations: 5.006 MB / 0.7791 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/0.9923, allocations: 0.87 MB / 0.78 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001191/0.9935, allocations: 0.5738 MB / 0.7805 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003509/0.9938, allocations: 242 kB / 0.7808 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/0.9938, allocations: 0 / 0.7808 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06376/1.058, allocations: 25.16 MB / 0.8053 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.92, allocations: 8 kB / 0.8053 GB, free: 9.773 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.671804821002297] 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'] 14.025862342008622 14.038491805 13.084449981 Calling exit ...