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.001846/0.001846, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002328/0.002328, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2228/0.2228, allocations: 44.93 MB / 359.6 MB, free: 6.055 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.001977/0.001977, allocations: 60.19 kB / 0.4938 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2959, allocations: 65.47 MB / 0.5577 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2012/0.4971, allocations: 161.6 MB / 0.7155 GB, free: 5.344 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006065/0.5031, allocations: 3.405 MB / 0.7189 GB, free: 1.926 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005475/0.5037, allocations: 23.81 kB / 0.7189 GB, free: 1.902 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009471/0.5046, allocations: 305.9 kB / 0.7192 GB, free: 1.602 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004389/0.509, allocations: 1.752 MB / 0.7209 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.5111, allocations: 0.7241 MB / 0.7216 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002488/0.5136, allocations: 1.551 MB / 0.7231 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009253/0.5145, allocations: 359.8 kB / 0.7234 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.516, allocations: 0.6033 MB / 0.724 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000943/0.5169, allocations: 482 kB / 0.7245 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.5171, allocations: 48 kB / 0.7245 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002957/0.52, allocations: 1.193 MB / 0.7257 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002681/0.5203, allocations: 155.5 kB / 0.7259 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005087/0.5208, allocations: 290.8 kB / 0.7261 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003211/0.524, allocations: 1.632 MB / 0.7277 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.524, allocations: 0 / 0.7277 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.91e-07/0.524, allocations: 0 / 0.7277 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.341e-05/0.5241, allocations: 0 / 0.7277 GB, free: 8.824 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.002283/0.5263, allocations: 1.039 MB / 0.7287 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.5264, allocations: 12.03 kB / 0.7287 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.037e-05/0.5264, allocations: 13 kB / 0.7288 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001265/0.5265, allocations: 86.52 kB / 0.7288 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.5276, allocations: 135.5 kB / 0.729 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008491/0.5285, allocations: 421.6 kB / 0.7294 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.5285, allocations: 29 kB / 0.7294 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.069e-05/0.5286, allocations: 44 kB / 0.7294 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.5299, allocations: 0.8879 MB / 0.7303 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.5299, allocations: 7.875 kB / 0.7303 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.714e-05/0.53, allocations: 24 kB / 0.7303 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.53, allocations: 8 kB / 0.7303 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009895/0.531, allocations: 471.6 kB / 0.7308 GB, free: 5.488 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.002907/0.5339, allocations: 1.958 MB / 0.7327 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007968/0.5347, allocations: 319.4 kB / 0.733 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004579/0.5351, allocations: 153.3 kB / 0.7332 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003369/0.5355, allocations: 56.25 kB / 0.7332 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.622e-05/0.5355, allocations: 42.78 kB / 0.7333 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 3.617e-06/0.5355, allocations: 3.938 kB / 0.7333 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002869/0.5384, allocations: 0.6398 MB / 0.7339 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.5385, allocations: 132.5 kB / 0.734 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.5396, allocations: 473.9 kB / 0.7345 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.803e-05/0.5397, allocations: 33.7 kB / 0.7345 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/0.54, allocations: 276.2 kB / 0.7348 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.5402, allocations: 127 kB / 0.7349 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/0.5405, allocations: 106.1 kB / 0.735 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002288/0.5407, allocations: 350.8 kB / 0.7353 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005052/0.5412, allocations: 148.8 kB / 0.7355 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007631/0.542, allocations: 360.8 kB / 0.7358 GB, free: 120 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2868/0.8288, allocations: 431.8 kB / 0.7362 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.8288, allocations: 1.312 kB / 0.7362 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001382/0.8302, allocations: 0.5438 MB / 0.7367 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.8302, allocations: 7.422 kB / 0.7368 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.8302, allocations: 3.625 kB / 0.7368 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001782/0.832, allocations: 243.9 kB / 0.737 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004932/0.8325, allocations: 103.3 kB / 0.7371 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004955/0.833, allocations: 0.5876 MB / 0.7377 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.8334, allocations: 54.19 kB / 0.7377 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.8335, allocations: 49.27 kB / 0.7378 GB, free: 177.9 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.0003233/0.8339, allocations: 178.4 kB / 0.7379 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.834, allocations: 55.45 kB / 0.738 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.8362, allocations: 1.093 MB / 0.739 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.8362, allocations: 3.969 kB / 0.7391 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.8362, allocations: 4.125 kB / 0.7391 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.8362, allocations: 0.8438 kB / 0.7391 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.8375, allocations: 0.9194 MB / 0.74 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.8375, allocations: 3.969 kB / 0.74 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.8377, allocations: 48.33 kB / 0.74 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002916/0.8406, allocations: 437.4 kB / 0.7404 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.8406, allocations: 9.531 kB / 0.7404 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003193/0.8409, allocations: 0.6055 MB / 0.741 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.8409, allocations: 0 / 0.741 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000676/0.8416, allocations: 0.5075 MB / 0.7415 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.8417, allocations: 62.28 kB / 0.7416 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.8418, allocations: 24.67 kB / 0.7416 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.8421, allocations: 16.47 kB / 0.7416 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.8422, allocations: 25.94 kB / 0.7416 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.8422, allocations: 20.03 kB / 0.7417 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004154/0.8427, allocations: 403.3 kB / 0.742 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8427, allocations: 0 / 0.742 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008904/0.8435, allocations: 346.4 kB / 0.7424 GB, free: 175.4 MB / 0.5606 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.001627/0.8452, allocations: 1.373 MB / 0.7437 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008266/0.846, allocations: 361.9 kB / 0.7441 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.846, allocations: 0 / 0.7441 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002977/0.8463, allocations: 159.9 kB / 0.7442 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.8478, allocations: 361.6 kB / 0.7446 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005282/0.8531, allocations: 4.805 MB / 0.7493 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.8533, allocations: 259.3 kB / 0.7495 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009193/0.8542, allocations: 0.5611 MB / 0.75 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.8545, allocations: 227.3 kB / 0.7503 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/0.8545, allocations: 4 kB / 0.7503 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04511/0.8996, allocations: 24.57 MB / 0.7743 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/15.35, allocations: 23.11 kB / 0.7743 GB, free: 143.2 MB / 0.5606 GB " [Timeout remaining time 644] (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: 18.499194298987277] 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.544334166916087 15.565052973 15.037080446 Calling exit ...