Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001792/0.001792, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001397/0.001397, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.012 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.2263/0.2263, allocations: 44.91 MB / 359.6 MB, free: 6.301 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.CurvedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",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.001925/0.001925, allocations: 63.91 kB / 0.4939 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2946, allocations: 65.48 MB / 0.5578 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.5128/0.8074, allocations: 186.9 MB / 0.7403 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005132/0.8125, allocations: 3.7 MB / 0.7439 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005534/0.8131, allocations: 20.66 kB / 0.7439 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007886/0.8139, allocations: 328.7 kB / 0.7442 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003741/0.8176, allocations: 1.771 MB / 0.746 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.8193, allocations: 0.7168 MB / 0.7467 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001606/0.8209, allocations: 1.554 MB / 0.7482 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004686/0.8213, allocations: 360.9 kB / 0.7485 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008244/0.8221, allocations: 0.6028 MB / 0.7491 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005728/0.8227, allocations: 487.5 kB / 0.7496 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.609e-05/0.8228, allocations: 50.75 kB / 0.7496 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003357/0.8262, allocations: 2.423 MB / 0.752 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.8263, allocations: 165.9 kB / 0.7522 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003958/0.8267, allocations: 347.6 kB / 0.7525 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002365/0.8291, allocations: 1.996 MB / 0.7544 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8291, allocations: 0 / 0.7544 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8291, allocations: 0.9375 kB / 0.7544 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.8291, allocations: 0 / 0.7544 GB, free: 1.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.001802/0.8309, allocations: 1.038 MB / 0.7555 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.8309, allocations: 7.75 kB / 0.7555 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.844e-05/0.831, allocations: 15.78 kB / 0.7555 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.989e-05/0.831, allocations: 83.3 kB / 0.7556 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009554/0.832, allocations: 138.2 kB / 0.7557 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007764/0.8328, allocations: 436.1 kB / 0.7561 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.8328, allocations: 33.94 kB / 0.7561 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.406e-05/0.8329, allocations: 35.22 kB / 0.7562 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.8339, allocations: 0.5907 MB / 0.7568 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.8339, allocations: 3.094 kB / 0.7568 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.879e-05/0.834, allocations: 22.41 kB / 0.7568 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.834, allocations: 10.28 kB / 0.7568 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008929/0.8349, allocations: 481.9 kB / 0.7572 GB, free: 16.62 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.002886/0.8377, allocations: 2.625 MB / 0.7598 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007133/0.8385, allocations: 323.6 kB / 0.7601 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.8387, allocations: 155.1 kB / 0.7603 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002339/0.839, allocations: 54.81 kB / 0.7603 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.839, allocations: 37.47 kB / 0.7604 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.465e-06/0.839, allocations: 2.469 kB / 0.7604 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001574/0.8406, allocations: 0.6498 MB / 0.761 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.769e-05/0.8407, allocations: 135 kB / 0.7611 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004671/0.8411, allocations: 481.5 kB / 0.7616 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.024e-05/0.8412, allocations: 30.95 kB / 0.7616 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.8414, allocations: 288.5 kB / 0.7619 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.214e-05/0.8414, allocations: 121.1 kB / 0.762 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.8416, allocations: 104.6 kB / 0.7621 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.8418, allocations: 363.6 kB / 0.7624 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.842, allocations: 152 kB / 0.7626 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/0.8424, allocations: 284.7 kB / 0.7629 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000622/0.843, allocations: 441.2 kB / 0.7633 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.843, allocations: 0 / 0.7633 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009193/0.8439, allocations: 0.5419 MB / 0.7638 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.844, allocations: 10.97 kB / 0.7638 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.844, allocations: 3.375 kB / 0.7638 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/0.8454, allocations: 241 kB / 0.7641 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.8458, allocations: 105.7 kB / 0.7642 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004814/0.8463, allocations: 0.5902 MB / 0.7647 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.8466, allocations: 50.23 kB / 0.7648 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-05/0.8467, allocations: 49.56 kB / 0.7648 GB, free: 12.94 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.0002557/0.8469, allocations: 180.8 kB / 0.765 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.8471, allocations: 57.8 kB / 0.7651 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.8487, allocations: 1.088 MB / 0.7661 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.8487, allocations: 6.125 kB / 0.7661 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.8488, allocations: 3.938 kB / 0.7661 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.8488, allocations: 3.984 kB / 0.7661 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.8501, allocations: 0.9851 MB / 0.7671 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.8501, allocations: 3.406 kB / 0.7671 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.8503, allocations: 56.27 kB / 0.7671 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002965/0.8533, allocations: 439.6 kB / 0.7676 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.8533, allocations: 9.406 kB / 0.7676 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005041/0.8538, allocations: 0.61 MB / 0.7682 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.8538, allocations: 3.25 kB / 0.7682 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000835/0.8546, allocations: 0.5125 MB / 0.7687 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.8548, allocations: 55.84 kB / 0.7687 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.991e-05/0.8549, allocations: 15.45 kB / 0.7687 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/0.8552, allocations: 23.34 kB / 0.7688 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.8552, allocations: 29.22 kB / 0.7688 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/0.8553, allocations: 17.53 kB / 0.7688 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004547/0.8557, allocations: 411.6 kB / 0.7692 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.8557, allocations: 0 / 0.7692 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001012/0.8567, allocations: 338.2 kB / 0.7695 GB, free: 11.36 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.001831/0.8586, allocations: 1.372 MB / 0.7709 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008058/0.8594, allocations: 357.7 kB / 0.7712 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.8594, allocations: 2.781 kB / 0.7712 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003258/0.8597, allocations: 164.6 kB / 0.7714 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.8614, allocations: 374.8 kB / 0.7717 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006303/0.8677, allocations: 4.872 MB / 0.7765 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.8681, allocations: 0.8569 MB / 0.7773 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009321/0.8691, allocations: 0.5685 MB / 0.7779 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.8694, allocations: 226.2 kB / 0.7781 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of SimCode: time 8.12e-07/0.8694, allocations: 1.203 kB / 0.7781 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0479/0.9173, allocations: 24 MB / 0.8015 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/15.06, allocations: 11.56 kB / 0.8015 GB, free: 14.12 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.195433243003208] 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.25367098802235 15.280763811 14.447009109 Calling exit ...