Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.001405/0.001405, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001588/0.001588, allocations: 221 kB / 22.92 MB, free: 5.531 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.297/1.297, allocations: 230.2 MB / 256.2 MB, free: 8.734 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1955/0.1955, allocations: 46.88 MB / 359.3 MB, free: 4.973 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-beta.om/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.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 75.88 kB / 0.494 GB, free: 9.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2539, allocations: 65.98 MB / 0.5584 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.4297/0.6837, allocations: 186.9 MB / 0.7409 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004453/0.6881, allocations: 3.704 MB / 0.7445 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003325/0.6884, allocations: 17.34 kB / 0.7445 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000652/0.6891, allocations: 325.1 kB / 0.7448 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003002/0.6921, allocations: 1.757 MB / 0.7466 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.6934, allocations: 0.7039 MB / 0.7472 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001134/0.6945, allocations: 1.534 MB / 0.7487 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003724/0.6949, allocations: 366.4 kB / 0.7491 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005646/0.6955, allocations: 0.5954 MB / 0.7497 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004481/0.6959, allocations: 482.4 kB / 0.7501 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.062e-05/0.696, allocations: 51.09 kB / 0.7502 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002659/0.6986, allocations: 2.393 MB / 0.7525 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.6988, allocations: 164.3 kB / 0.7527 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002713/0.699, allocations: 344.4 kB / 0.753 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.701, allocations: 1.997 MB / 0.755 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.701, allocations: 0 / 0.755 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.332e-06/0.701, allocations: 0.8438 kB / 0.755 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.086e-06/0.701, allocations: 3.938 kB / 0.755 GB, free: 1.523 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.00159/0.7026, allocations: 1.112 MB / 0.756 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.7026, allocations: 12.28 kB / 0.7561 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.242e-05/0.7027, allocations: 84.11 kB / 0.7561 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008719/0.7036, allocations: 141.1 kB / 0.7563 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005947/0.7042, allocations: 495.7 kB / 0.7567 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.7042, allocations: 32.97 kB / 0.7568 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.437e-05/0.7042, allocations: 40.56 kB / 0.7568 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008295/0.7051, allocations: 0.5896 MB / 0.7574 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.7051, allocations: 2.75 kB / 0.7574 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.116e-05/0.7051, allocations: 19.94 kB / 0.7574 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.7051, allocations: 10.16 kB / 0.7574 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007277/0.7059, allocations: 480.6 kB / 0.7579 GB, free: 16.4 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.002425/0.7083, allocations: 2.66 MB / 0.7605 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005937/0.7089, allocations: 323.2 kB / 0.7608 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.7091, allocations: 157.4 kB / 0.7609 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003646/0.7095, allocations: 433.7 kB / 0.7614 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.7095, allocations: 41.78 kB / 0.7614 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.442e-06/0.7095, allocations: 4.062 kB / 0.7614 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001426/0.711, allocations: 0.7207 MB / 0.7621 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/0.711, allocations: 134.1 kB / 0.7622 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.7114, allocations: 474.4 kB / 0.7627 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/0.7115, allocations: 35.98 kB / 0.7627 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.7116, allocations: 293.9 kB / 0.763 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.258e-05/0.7117, allocations: 116.5 kB / 0.7631 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.7118, allocations: 105.1 kB / 0.7632 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.7119, allocations: 365.2 kB / 0.7636 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.7122, allocations: 145 kB / 0.7637 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.7125, allocations: 287.5 kB / 0.764 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000583/0.7131, allocations: 434.7 kB / 0.7644 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.7131, allocations: 0.875 kB / 0.7644 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008239/0.7139, allocations: 0.5433 MB / 0.7649 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.7139, allocations: 5.938 kB / 0.7649 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.7139, allocations: 7.344 kB / 0.7649 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/0.7153, allocations: 233.1 kB / 0.7651 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.7156, allocations: 108.4 kB / 0.7653 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004298/0.716, allocations: 0.5979 MB / 0.7658 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.7163, allocations: 47.89 kB / 0.7659 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.794e-05/0.7164, allocations: 46.66 kB / 0.7659 GB, free: 12.13 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.0002098/0.7166, allocations: 187.4 kB / 0.7661 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.7167, allocations: 62.7 kB / 0.7662 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.7182, allocations: 1.088 MB / 0.7672 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.7182, allocations: 3.422 kB / 0.7672 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.7182, allocations: 4.562 kB / 0.7672 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.7182, allocations: 3 kB / 0.7672 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.7194, allocations: 1.012 MB / 0.7682 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.7194, allocations: 3.578 kB / 0.7682 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.7196, allocations: 52.73 kB / 0.7683 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002799/0.7224, allocations: 439 kB / 0.7687 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.7224, allocations: 9.656 kB / 0.7687 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000434/0.7228, allocations: 0.6094 MB / 0.7693 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7228, allocations: 5.656 kB / 0.7693 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006866/0.7235, allocations: 0.5048 MB / 0.7698 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.7236, allocations: 141.7 kB / 0.7699 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.199e-05/0.7237, allocations: 14.77 kB / 0.7699 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.724, allocations: 24.97 kB / 0.77 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.7241, allocations: 23.06 kB / 0.77 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.7241, allocations: 16.94 kB / 0.77 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003869/0.7245, allocations: 410.4 kB / 0.7704 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.7245, allocations: 0 / 0.7704 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008518/0.7253, allocations: 335 kB / 0.7707 GB, free: 10.42 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.001726/0.7271, allocations: 1.4 MB / 0.7721 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006735/0.7277, allocations: 360.2 kB / 0.7724 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7277, allocations: 0.9688 kB / 0.7724 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.728, allocations: 159.4 kB / 0.7726 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.7299, allocations: 365.3 kB / 0.7729 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005786/0.7357, allocations: 4.874 MB / 0.7777 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.7361, allocations: 0.8566 MB / 0.7785 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008354/0.737, allocations: 0.5612 MB / 0.7791 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/0.7372, allocations: 223.8 kB / 0.7793 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.7372, allocations: 0 / 0.7793 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04734/0.7846, allocations: 23.75 MB / 0.8025 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/12.05, allocations: 11.31 kB / 0.8025 GB, free: 12.33 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.565726907007047]