Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.001843/0.001843, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002219/0.002219, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2937/0.2937, allocations: 46.94 MB / 361.7 MB, free: 4.25 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+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.CurvedBend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.88 kB / 0.4969 GB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3072, allocations: 66.04 MB / 0.5614 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.4852/0.7924, allocations: 186.9 MB / 0.7439 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0053/0.7977, allocations: 3.699 MB / 0.7475 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008812/0.7986, allocations: 23.88 kB / 0.7476 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009814/0.7996, allocations: 330.7 kB / 0.7479 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004458/0.804, allocations: 1.769 MB / 0.7496 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.8062, allocations: 0.7059 MB / 0.7503 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002982/0.8092, allocations: 1.552 MB / 0.7518 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009029/0.8101, allocations: 369.7 kB / 0.7522 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.8117, allocations: 0.6076 MB / 0.7528 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008515/0.8125, allocations: 476.3 kB / 0.7532 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.8126, allocations: 51.72 kB / 0.7533 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003911/0.8165, allocations: 2.425 MB / 0.7556 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.8167, allocations: 165.1 kB / 0.7558 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004861/0.8172, allocations: 344.8 kB / 0.7561 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00319/0.8204, allocations: 2.005 MB / 0.7581 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.8204, allocations: 1.203 kB / 0.7581 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8204, allocations: 0 / 0.7581 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.886e-05/0.8204, allocations: 3.969 kB / 0.7581 GB, free: 1.516 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.002029/0.8225, allocations: 1.035 MB / 0.7591 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.8225, allocations: 10.22 kB / 0.7591 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.815e-05/0.8225, allocations: 12.19 kB / 0.7591 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.98e-05/0.8226, allocations: 87.23 kB / 0.7592 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009705/0.8236, allocations: 140.3 kB / 0.7593 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007053/0.8243, allocations: 423.7 kB / 0.7597 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.8243, allocations: 33.62 kB / 0.7598 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.325e-05/0.8244, allocations: 44.3 kB / 0.7598 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009692/0.8253, allocations: 0.5872 MB / 0.7604 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.8254, allocations: 4.594 kB / 0.7604 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.847e-05/0.8254, allocations: 18.44 kB / 0.7604 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.8254, allocations: 12.34 kB / 0.7604 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008223/0.8263, allocations: 485.7 kB / 0.7609 GB, free: 16.55 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.002938/0.8292, allocations: 2.618 MB / 0.7634 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007118/0.8299, allocations: 327.7 kB / 0.7637 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.8302, allocations: 158.8 kB / 0.7639 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002354/0.8304, allocations: 54.95 kB / 0.7639 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.8304, allocations: 39.33 kB / 0.764 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.955e-06/0.8304, allocations: 0 / 0.764 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001624/0.8321, allocations: 0.6475 MB / 0.7646 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.099e-05/0.8322, allocations: 137.7 kB / 0.7647 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005111/0.8327, allocations: 481.1 kB / 0.7652 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.388e-05/0.8327, allocations: 32.3 kB / 0.7652 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.8329, allocations: 290.2 kB / 0.7655 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.096e-05/0.833, allocations: 118.7 kB / 0.7656 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.8331, allocations: 105 kB / 0.7657 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.8333, allocations: 366.2 kB / 0.7661 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.8336, allocations: 148.5 kB / 0.7662 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.834, allocations: 285.4 kB / 0.7665 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006399/0.8346, allocations: 437.1 kB / 0.7669 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.8346, allocations: 0 / 0.7669 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009918/0.8356, allocations: 0.5399 MB / 0.7674 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.8356, allocations: 7.953 kB / 0.7674 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.8356, allocations: 9.281 kB / 0.7674 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001527/0.8372, allocations: 236.9 kB / 0.7677 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.8375, allocations: 108.5 kB / 0.7678 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005211/0.838, allocations: 0.5954 MB / 0.7684 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.8384, allocations: 50.86 kB / 0.7684 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.352e-05/0.8385, allocations: 45.56 kB / 0.7685 GB, free: 12.88 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.0002898/0.8388, allocations: 185.5 kB / 0.7686 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.8389, allocations: 54.33 kB / 0.7687 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.8406, allocations: 1.095 MB / 0.7697 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.8406, allocations: 3.062 kB / 0.7698 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.8406, allocations: 0 / 0.7698 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.8406, allocations: 3.969 kB / 0.7698 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.8419, allocations: 0.9883 MB / 0.7707 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.8419, allocations: 3.594 kB / 0.7707 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.8421, allocations: 50.72 kB / 0.7708 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002956/0.8451, allocations: 440.7 kB / 0.7712 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.8451, allocations: 9.406 kB / 0.7712 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004491/0.8455, allocations: 0.6082 MB / 0.7718 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8455, allocations: 2.594 kB / 0.7718 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007172/0.8463, allocations: 0.5085 MB / 0.7723 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.8464, allocations: 63.14 kB / 0.7724 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.8465, allocations: 19.86 kB / 0.7724 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.8468, allocations: 17.14 kB / 0.7724 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.8469, allocations: 25.98 kB / 0.7724 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.8469, allocations: 16.62 kB / 0.7724 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004143/0.8473, allocations: 410.1 kB / 0.7728 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.8473, allocations: 0 / 0.7728 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009286/0.8482, allocations: 348 kB / 0.7732 GB, free: 11.29 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.00181/0.85, allocations: 1.369 MB / 0.7745 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007352/0.8508, allocations: 358.6 kB / 0.7748 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.8508, allocations: 3.281 kB / 0.7748 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003146/0.8511, allocations: 165.2 kB / 0.775 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.8527, allocations: 379.1 kB / 0.7754 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00589/0.8586, allocations: 4.87 MB / 0.7801 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.859, allocations: 0.8603 MB / 0.781 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009175/0.86, allocations: 0.5525 MB / 0.7815 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/0.8603, allocations: 226.4 kB / 0.7817 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of SimCode: time 7.91e-07/0.8603, allocations: 0 / 0.7817 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05542/0.9157, allocations: 23.99 MB / 0.8051 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/15.4, allocations: 13.95 kB / 0.8051 GB, free: 12.85 MB / 0.5919 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.564695101988036] 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'] 15.585417616995983 15.60594082 14.781417559 Calling exit ...