Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002115/0.002115, allocations: 121 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002345/0.002345, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.52/1.52, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2314/0.2314, allocations: 44.9 MB / 355.8 MB, free: 12.35 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 63.91 kB / 0.4886 GB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.132, allocations: 65.42 MB / 0.5525 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5005/0.6325, allocations: 186.6 MB / 0.7347 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006345/0.6389, allocations: 3.666 MB / 0.7383 GB, free: 8.758 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005372/0.6394, allocations: 27.75 kB / 0.7383 GB, free: 8.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008802/0.6403, allocations: 317.9 kB / 0.7386 GB, free: 8.418 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004245/0.6445, allocations: 1.752 MB / 0.7403 GB, free: 6.664 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.6468, allocations: 0.7047 MB / 0.741 GB, free: 5.965 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002698/0.6495, allocations: 1.524 MB / 0.7425 GB, free: 4.438 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007274/0.6503, allocations: 375.3 kB / 0.7428 GB, free: 4.062 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/0.6516, allocations: 0.5995 MB / 0.7434 GB, free: 3.461 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007164/0.6523, allocations: 482.1 kB / 0.7439 GB, free: 2.988 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.835e-05/0.6524, allocations: 48 kB / 0.7439 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003962/0.6563, allocations: 1.942 MB / 0.7458 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.6566, allocations: 155.4 kB / 0.746 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005183/0.6571, allocations: 346.4 kB / 0.7463 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003622/0.6607, allocations: 1.834 MB / 0.7481 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6607, allocations: 0 / 0.7481 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.494e-06/0.6607, allocations: 4 kB / 0.7481 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.6607, allocations: 0 / 0.7481 GB, free: 14.66 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.002431/0.6632, allocations: 1.108 MB / 0.7492 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.6632, allocations: 8.031 kB / 0.7492 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.622e-05/0.6633, allocations: 17 kB / 0.7492 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000126/0.6634, allocations: 78.53 kB / 0.7493 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.6644, allocations: 147.5 kB / 0.7494 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009216/0.6653, allocations: 484.8 kB / 0.7499 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.6654, allocations: 32.94 kB / 0.7499 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.308e-05/0.6654, allocations: 40 kB / 0.7499 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.6666, allocations: 0.5867 MB / 0.7505 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.6666, allocations: 0 / 0.7505 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.6667, allocations: 20 kB / 0.7505 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.6667, allocations: 12 kB / 0.7505 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009885/0.6677, allocations: 475.5 kB / 0.751 GB, free: 11.54 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.003303/0.671, allocations: 2.655 MB / 0.7536 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000816/0.6718, allocations: 326.8 kB / 0.7539 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.6722, allocations: 153.3 kB / 0.7541 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004532/0.6726, allocations: 437.8 kB / 0.7545 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/0.6727, allocations: 38.84 kB / 0.7545 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.364e-06/0.6727, allocations: 0 / 0.7545 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001935/0.6746, allocations: 0.7151 MB / 0.7552 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.6747, allocations: 136.5 kB / 0.7553 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006213/0.6753, allocations: 466 kB / 0.7558 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.658e-05/0.6754, allocations: 33.7 kB / 0.7558 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/0.6757, allocations: 284.2 kB / 0.7561 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.6758, allocations: 119 kB / 0.7562 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.676, allocations: 106.1 kB / 0.7563 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002088/0.6762, allocations: 358.8 kB / 0.7566 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/0.6766, allocations: 152.8 kB / 0.7568 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004782/0.677, allocations: 279.6 kB / 0.7571 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000818/0.6779, allocations: 437.6 kB / 0.7575 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.6779, allocations: 4 kB / 0.7575 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001105/0.679, allocations: 0.5406 MB / 0.758 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.679, allocations: 8 kB / 0.758 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.679, allocations: 0 / 0.758 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/0.6806, allocations: 236.9 kB / 0.7582 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.681, allocations: 103.9 kB / 0.7583 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005435/0.6816, allocations: 0.5953 MB / 0.7589 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.6819, allocations: 48.53 kB / 0.759 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.673e-05/0.682, allocations: 47.98 kB / 0.759 GB, free: 2.773 MB / 0.5606 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.000259/0.6823, allocations: 183.8 kB / 0.7592 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.6824, allocations: 55.67 kB / 0.7592 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/0.6844, allocations: 1.083 MB / 0.7603 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.6844, allocations: 4 kB / 0.7603 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6844, allocations: 1.062 kB / 0.7603 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.6844, allocations: 11.86 kB / 0.7603 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.686, allocations: 1.005 MB / 0.7613 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.686, allocations: 4 kB / 0.7613 GB, free: 344 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.6862, allocations: 51.84 kB / 0.7613 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003306/0.6895, allocations: 436.4 kB / 0.7618 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.6896, allocations: 12 kB / 0.7618 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005212/0.6901, allocations: 0.5992 MB / 0.7624 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/0.6901, allocations: 7.969 kB / 0.7624 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009066/0.691, allocations: 0.5041 MB / 0.7629 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.6911, allocations: 132.7 kB / 0.763 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.326e-05/0.6912, allocations: 19.83 kB / 0.763 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.6916, allocations: 15.98 kB / 0.763 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.6916, allocations: 31.84 kB / 0.763 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/0.6917, allocations: 20 kB / 0.7631 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005403/0.6922, allocations: 398.8 kB / 0.7634 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6922, allocations: 0 / 0.7634 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00102/0.6932, allocations: 347 kB / 0.7638 GB, free: 13.71 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.00215/0.6954, allocations: 1.376 MB / 0.7651 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009261/0.6963, allocations: 356.4 kB / 0.7655 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.6963, allocations: 0 / 0.7655 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003958/0.6967, allocations: 160.9 kB / 0.7656 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.6985, allocations: 367.4 kB / 0.766 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00734/0.7058, allocations: 4.799 MB / 0.7707 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.7064, allocations: 0.8557 MB / 0.7715 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001081/0.7075, allocations: 0.555 MB / 0.772 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003942/0.7079, allocations: 223.3 kB / 0.7722 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/0.7079, allocations: 4 kB / 0.7722 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05174/0.7596, allocations: 23.24 MB / 0.7949 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.11, allocations: 3.984 kB / 0.7949 GB, free: 13.77 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.447955497947987] 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.274110498954542 14.296830119000001 13.631854495 Calling exit ...